1 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
3 * Make-lang.in: Remove commented out code.
4 * lang-specs.h: Always pass -dumpbase to tree1.
6 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
8 * treelang.texi: Remove extra contribution notice.
9 Split up some run-on sentences. Document function parameters
10 as optional. Indicate automatic variables can now be at any scope.
11 Mention literals are only signed if they are preceded by a unary
12 plus or minus. Clarify interoperability with C.
14 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
16 * treelang.texi: Fix whitespacing.
18 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
21 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
22 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
23 rest_of_decl_compilation on static variables.
24 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
27 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
30 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
31 Move function parameters check from ...
32 (function): ...Here. Update call to tree_code_create_function_initial.
33 (function_invocation): Use expressions_with_commas_opt instead of
34 expressions_with_commas.
35 (expressions_with_commas_opt): New rule.
36 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
37 for function parameters.
38 (tree_code_create_function_initial): Remove PARMS parameter.
39 Don't create PARM_DECLs for function parameters.
40 * treetree.h (tree_code_create_function_initial): Remove PARMS
43 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
45 * parse.y: Update copyright.
47 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
49 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
52 2005-02-09 Richard Henderson <rth@redhat.com>
54 * treetree.c (treelang_init_decl_processing): Call
55 build_common_builtin_nodes.
57 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
59 * treelang.texi: Don't use local treelang version number. Don't
60 give last update date.
62 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
64 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
66 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
68 * parse.y: Reformat comments.
69 * treetree.c: Likewise.
70 * treetree.h: Likewise.
72 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
74 * treetree.c (tree_code_generate_return): Wrap param declaration in
77 2004-10-05 Zack Weinberg <zack@codesourcery.com>
79 * parse.y: Add list of diagnostic messages to insulate
80 translation template from version of yacc/bison used to
83 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
86 * lex.l: Include input.h and errors.h
87 (lineno): New variable.
88 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
90 Set column position with LINEMAP_POSITION_FOR_COLUMN.
91 Use error instead of fprintf.
92 Set input_location with the value returned by linemap_start_line when
93 USE_MAPPED_LOCATION is defined.
94 (dump_lex_value): Use LOCATION_LINE.
95 * parse.y: Include errors.h.
96 Use error and warning instead of fprintf.
97 (return): Move exp to rule scope and always set to $2. Test against
100 (print_token): Use LOCATION_LINE.
101 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
102 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
104 (treelang_parse_file): Always start at line one.
105 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
107 Leave main_input_filename when done parsing the input.
108 (insert_tree_name): Use error instead of fprintf.
109 * treetree.c (tree_code_get_expression): Wrap long line.
110 (tree_mark_addressable): Use %qD to print out DECLs.
112 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
114 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
116 * treetree.c: Likewise.
118 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
120 * lex.l: Remove random whitespace.
121 * parse.y: Reformat copyright notice. Indent declarations.
122 Wrap long lines, unwrap short lines.
123 * tree1.c: Reformat copyright notice. Wrap long lines.
124 Remove random whitespace.
125 (lookup_tree_name): Use LOCATION_LINE.
126 * treetree.c: Reformat copyright notice. Wrap long lines.
127 Remove random whitespace.
129 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
131 * parse.y (ELSE): Set tok to $1.
132 * treelang.texi: Wrap comments in @r{}. Indent example comments.
133 Use gcc when refering to the command line or website. Update function
136 2004-10-01 Jan Hubicka <jh@suse.cz>
138 * treetree.c (treeland_expand_function): Update call of
139 tree_rest_of_compilation.
141 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
142 Zack Weinberg <zack@codesourcery.com>
144 * treetree.c: Update for new tree-class enumeration constants.
146 2004-09-15 Zack Weinberg <zack@codesourcery.com>
148 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
150 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
152 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
154 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
156 * treelang/treetree.c (treelang_init_decl_processing): Adjust
157 build_common_tree_nodes call.
159 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
161 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
163 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
165 * Make-lang.in (TREE_BE_LIBS): Remove.
166 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
168 * parse.y: Add variable_defs_opt before statements_opt.
169 Use tree_code_get_type instead of get_type_for_numeric_type.
171 (parameters_opt): New rule.
172 (function_prototype): Use parameters_opt.
173 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
174 (check_type_match): Use VOID_TYPE.
175 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
176 * tree1.c: Include version.h and cgraph.h
177 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
179 * treelang.h (item): Remove extraneous GTY.
180 * treetree.h (get_type_for_numeric_type): Remove.
181 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
182 function.h, and cgraph.h. Don't include rtl.h
183 (keep_level_p): Remove.
184 (tree_push_atomic_type_decl): Remove.
185 (get_type_for_numeric_type): Remove.
186 (tree_code_get_numeric_type): Remove.
187 (global_bindings_p): Make static.
188 (getdecls): Likewise.
189 (insert_block): Likewise.
190 (tree_code_if_start): Create a COND_EXPR and add it to the tree
191 instead of creating rtl.
192 (tree_code_if_else): Create a BIND_EXPR if any variables were created
194 (tree_code_end_if): Likewise.
195 (tree_code_create_function_prototype): Use tree_code_get_type.
196 Don't use SET_DECL_ASSEMBLER_NAME.
197 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
198 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
199 layout_decl on RESULT_DECL. Don't call rtl expand functions.
200 (tree_code_create_function_wrapup): Don't call rtl expand functions.
201 Create a BIND_EXPR for each function. Dump original and gimplified
202 copies of the function tree. Gimplify function.
203 (tree_code_create_variable): Use tree_code_get_type. Don't call
204 layout_decl or expand_decl. Fold CONVERT_EXPRs.
205 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
206 Add RETURN_EXPR to the current statement list. Don't call rtl expand
208 (tree_code_output_expression_statement): Append CODE to current
210 (tree_code_get_expression): Fold expressions. Build a pointer to
211 a FUNCTION_TYPE intead of the called functions return type.
212 (struct binding_level): Add statement list STMTS.
213 (getstmtlist): New Function.
214 (pushlevel): Make static. Allocate an empty statement list.
215 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
216 Don't use DECL_ASSEMBLER_NAME.
217 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
218 (treelang_init_decl_processing): Define basic types after unused types.
219 Don't call tree_push_atomic_type_decl.
220 (builtin_function): Don't call make_decl_rtl.
221 (treelang_expand_function). New Function.
223 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
225 * treetree.c (set_block): Remove.
226 (struct binding_level): Remove block_created_by_back_end.
227 (clear_binding_level): Likewise.
228 (tree_code_create_function_initial,
229 tree_code_create_function_wrapup): Call pushlevel and poplevel
230 directly rather than through hooks.
231 (poplevel): Don't handle block_created_by_back_end.
233 2004-04-07 Richard Henderson <rth@redhat.com>
235 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
237 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
239 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
242 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
244 * treelang.texi: Update link to "G++ and GCC".
246 2004-02-20 Richard Henderson <rth@redhat.com>
248 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
250 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
252 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
254 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
256 * Make-lang.in: Replace $(docdir) with doc.
257 (treelang.info, treelang.srcinfo): New rules.
258 (treelang.man, treelang.man): Dummy entries.
260 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
262 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
263 (treelang/parse.o, treelang/lex.o): Look for sources in build
264 directory. Use implicit rule.
265 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
267 (treelang.srcextra): Copy above back to source directory if requested.
269 2004-01-07 Zack Weinberg <zack@codesourcery.com>
271 * parse.y (yyerror): Mark the definition static.
273 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
275 * lex.l: Add \t as a whitespace character.
276 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
278 * treelang.texi (What is GNU Treelang?): Fix a typo.
279 (Lexical Syntax): Create an itemize list of keywords. Add commas to
280 paragraph defining names.
282 2003-11-26 Jason Merrill <jason@redhat.com>
284 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
285 directory and TAGS files that include them for each front end.
287 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
289 * .cvsignore: Delete.
291 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
293 * Make-lang.in (treelang.extraclean): Delete.
295 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
297 * Make-lang.in: Remove obsolete comment.
299 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
301 * Make-lang.in (dvi): Move targets to $(docobjdir).
302 (treelang.dvi): Simplify rule and adjust target.
303 (treelang.info): Simplify rule.
304 (parse.o): Correct dependencies.
305 (TREE_EXE): Delete doubled suffix append.
307 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
309 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
312 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
314 * Make-lang.in (parse.o): Honor $(parsedir).
317 (parse.c, parse.h): Likewise.
318 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
321 2003-10-20 Mark Mitchell <mark@codesourcery.com>
323 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
326 * Make-lang.in (info): Use docobjdir.
327 ($(srcdir)/treelang/treelang.info): Replace with ...
328 ($(docobjdir)/treelang/treelang.info): ... this.
329 (install-info): New target.
331 2003-10-12 Andreas Jaeger <aj@suse.de>
333 * Make-lang.in (treelang.install-info): Remove reference to
335 (treelang.): Removed.
337 2003-10-06 Mark Mitchell <mark@codesourcery.com>
339 * Make-lang.in (treelang.info): Replace with ...
341 * Make-lang.in (treelang.dvi): Replace with ...
344 2003-09-21 Richard Henderson <rth@redhat.com>
346 * treetree.c: Revert.
348 2003-09-21 Richard Henderson <rth@redhat.com>
350 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
353 2003-07-28 Andreas Jaeger <aj@suse.de>
355 * treetree.c: Convert remaining K&R prototypes to ISO C90.
358 * tree-convert.c: Likewise.
360 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
362 * treetree.c: Remove unnecessary casts.
364 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
366 * lang-options.h: Remove.
367 * lang.opt: Document some options. Remove --help.
368 * tree1.c (treelang_handle_option): Remove OPT__help case.
370 2003-07-12 Andreas Jaeger <aj@suse.de>
372 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
374 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
376 * Make-lang.in: Update.
377 * tree1.c: Don't include c-common.h.
378 (c_language): Remove.
380 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
381 Steven Bosscher <steven@gcc.gnu.org>
383 * tree-convert.c: New file.
384 * treetree.c: Don't include c-tree.h. Include target.h.
385 (struct lang_identifier, union lang_tree_node, struct lang_type,
386 struct lang_function): New, minimal language-specific datastructs.
387 (tree_lang_truthvalue_conversion, tree_mark_addressable,
388 tree_lang_type_for_size, tree_lang_type_for_mode,
389 tree_lang_unsigned_type, tree_lang_signed_type,
390 tree_lang_signed_or_unsigned): New functions.
391 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
392 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
393 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
394 tree_push_atomic_type_decl): New functions.
395 (struct resword, struct reswords): Remove.
396 * Make-lang.in: Update. Don't depend on C front end objects.
397 * config-lang.in: Likewise.
399 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
401 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
402 tree_code_if_end, tree_code_create_function_initial,
403 tree_code_create_function_wrapup, tree_code_generate_return,
404 tree_code_output_expression_statement): Adjust emit_line_note
407 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
409 * Make-lang.in: Replace PWD with PWD_COMMAND.
411 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
413 * tree1.c (treelang_init_options): Update prototype.
414 * treelang.h (treelang_init_options): Update prototype.
416 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
418 * Make-lang.in: Update.
419 * tree1.c: Include c-common.h. Define c_language.
421 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
423 * treetree.c (tree_code_create_function_wrapup): Adjust
424 expand_function_end call.
426 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
428 * treetree.c (build_stmt): Remove VPARAMS.
429 (pedwarn_c99): Likewise.
431 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
433 * lang.opt: Declare Treelang. Update.
434 * tree1.c (treelang_init_options): Update.
436 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
438 * treetree.c (tree_code_create_function_initial): Adjust
439 init_function_start call.
441 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
443 * Make-lang.in: Update to use options.c and options.h.
444 * tree1.c: Include options.h not t-options.h.
445 (treelang_init_options): New.
446 (treelang_handle_option): Abort on unrecognized switch.
447 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
448 * treetree.h (treelang_init_options): New.
450 2003-06-12 Andreas Jaeger <aj@suse.de>
452 * treetree.c: Remove cl_options-count and cl_options.
454 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
456 * Make-lang.in: Update for option handling.
458 * tree1.c: Include opts.h and t-options.h.
459 (treelang_decode_option): Remove.
460 (treelang_handle_option): New.
461 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
462 (LANG_HOOKS_HANDLE_OPTION): Override.
463 * treetree.h (treelang_decode_option): Remove.
464 (treelang_handle_option): New.
466 2003-06-08 Andreas Jaeger <aj@suse.de>
468 * Make-lang.in: Update.
469 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
471 2003-06-08 Tim Josling <tej@melbpc.org.au>
473 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
475 2003-06-05 Jan Hubicka <jh@suse.cz>
477 * Make-lang.in: Add support for stageprofile and stagefeedback
479 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
481 * treetree.c (reswords): Remove __bounded__, __unbounded__.
483 2003-05-09 Tim Josling <tej@melbpc.org.au>
485 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
486 to link (needed by some front ends such as PPC).
488 * treetree.c (tree_code_create_function_initial): Fix long line.
489 Initialize tree_code_int_size and tree_code_char_size to
491 (tree_code_get_numeric_type): Add check that size1 parameter is
494 * parse.y: Fix extra long lines in prototypes.
496 * treelang.h: Fix extra long lines in macro definitions.
498 2003-05-07 Zack Weinberg <zack@codesourcery.com>
500 * Make-lang.in: Set -Wno-error for treelang/lex.o.
502 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
504 * Make-lang.in (treelang/tree1.o): Depends on input.h
505 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
506 * treelang.h: #include input.h.
508 (struct token_part): Remove lineno, add location.
509 * lex.l (next_tree_lineno): Remove.
510 (update_lineno_charno): Adjust.
511 (dump_lex_value): Adjust.
512 * parse.y (variable_def, function_prototype, function, statement,
513 if_statement, return, function_invocation, variable_ref): Adjust.
514 (print_token, yyerror, ensure_not_void): Adjust.
515 tree1.c (in_fname): Remove.
516 (treelang_init): Setup input_location.
517 (lookup_tree_name): Adjust.
518 (insert_tree_name): Adjust.
519 * treetree.c (tree_code_if_start): Replace filename and lineno
520 parms with loc. Adjust.
521 (tree_code_if_else, tree_code_if_end,
522 tree_code_create_function_prototype,
523 tree_code_create_function_initial,
524 tree_code_create_function_wrapup, tree_code_create_variable,
525 tree_code_output_expression_statement): Likewise.
526 * treetree.h (tree_code_if_start): Replace filename and lineno
528 (tree_code_if_else, tree_code_if_end,
529 tree_code_create_function_prototype,
530 tree_code_create_function_initial,
531 tree_code_create_function_wrapup, tree_code_create_variable,
532 tree_code_output_expression_statement): Likewise.
534 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
536 * tree1.c (treelang_init): Rename lineno to input_line.
538 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
540 * parse.y (make_plus_expression): New function.
541 (expression production): Use make_plus_expression for PLUS,
542 MINUS, ASSIGN and EQUALS.
543 * tree1.c (treelang_decode_option): Don't fall through to
544 options that start with a different character when an option
547 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
549 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
550 * treetree.c: Do not #include parse.h.
552 2003-03-21 Andreas Jaeger <aj@suse.de>
554 * treetree.c (cpp_create_reader): Follow prototype change in
557 2003-03-17 Andreas Jaeger <aj@suse.de>
559 * Make-lang.in (treelang.tags): Remove duplicate entry.
561 2003-03-15 Andreas Jaeger <aj@suse.de>
563 * treetree.c (cpp_handle_option): Remove.
565 2003-03-13 Andreas Jaeger <aj@suse.de>
567 * Make-lang.in (tree1$(exeext)): Fix previous patch.
569 2003-03-12 Andreas Jaeger <aj@suse.de>
571 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
573 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
575 * tree1.c (in_fname): Fix type.
576 (treelang_init): Update prototype and use of in_fname.
577 * treelang.h (in_fname): Fix type.
578 * treetree.c (tree_code_if_start, tree_code_if_else,
579 tree_code_if_end, tree_code_create_function_prototype,
580 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
581 tree_code_create_variable, tree_code_output_expression_statement)
582 : Fix prototypes and use of filenames.
583 * treetree.h: Similarly.
585 2003-03-05 Andreas Jaeger <aj@suse.de>
587 * treetree.c (init_c_lex): Follow change to c-common.h.
589 2003-03-04 Tom Tromey <tromey@redhat.com>
591 * Make-lang.in (treelang.tags): New target.
593 2003-03-01 Tim Josling <tej@melbpc.org.au>
595 Name clashes with rtl.h fixed.
597 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
602 2003-02-24 Tim Josling <tej@melbpc.org.au>
604 * parse.y (my_yylex): New - ensure lexer time is charged to
606 (yylex): redefine as invocation of my_yylex which then calls
607 flex-generated yylex.
608 (timevar.h): include.
610 2003-02-23 Tim Josling <tej@melbpc.org.au>
612 Fix garbage collection, add more error checking, force GC always.
614 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
615 (treelang/treetree.o): Depend on treelang/parse.h
617 * lex.l: include "treetree.h"
619 * lex.l (update_yylval): Allocate string using get_string so GC
622 * parse.y (function_prototype): Set category correctly so GC works.
623 (function): Set category in search so checking works.
624 (function_invocation): Ditto.
625 (variable_ref): Ditto.
627 * tree1.c (lookup_tree_name): Call sanity_check for passed
628 production and associated token and for symbol table entries.
630 * tree1.c (sanity_check): New, basic check that struct is valid.
632 * treelang.h: Prototype for sanity_check.
634 2003-01-27 Tim Josling <tej@melbpc.org.au>
636 * treetree.c (treelang_init_decl_processing): Change memory
637 allocation to use GC.
639 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
641 * treelang.texi: Update to GFDL 1.2.
643 2003-01-26 Michael Matz <matz@suse.de>
645 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
647 2003-01-14 Andreas Jaeger <aj@suse.de>
649 * Make-lang.in (treelang.install-info): Depend only on info files
650 if BUILD_INFO is set. Fix install rules.
653 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
655 * Make-lang.in (treelang.install.common.done,
656 treelang.install-info, treelang.uninstall): Prepend
657 $(DESTDIR) to destination paths in all (un)installation
660 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
662 * treelang.texi: Use @copying.
664 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
666 * treelang.texi: Include gcc-common.texi.
667 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
668 Depend on gcc-common.texi. Add other missing dependencies.
669 (treelang.dvi): Use texi2dvi.
671 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
673 * treelang.texi: Use @ifnottex instead of @ifinfo.
675 2002-11-30 Zack Weinberg <zack@codesourcery.com>
677 * lex.l: Move "%{" below copyright notice; get rid of "/*"
678 embedded in comment. Do not #undef IN_GCC; do not include
679 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
680 Do include coretypes.h and tm.h.
681 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
682 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
683 ansidecl.h. Do include coretypes.h and tm.h.
684 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
685 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
686 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
687 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
688 or ansidecl.h. Do include coretypes.h and tm.h.
689 * Make-lang.in: Update dependencies.
691 2002-09-09 Tim Josling <tej@melbpc.org.au>
693 * treetree.c (objc_is_id): New.
695 2002-08-16 Tim Josling <tej@melbpc.org.au>
697 Remove variables and functions now defined elsewhere.
699 * treetree.c (maybe_objc_comptypes): Remove.
700 (warn_format, warn_format_y2k, warn_format_extra_args,
701 warn_format_nonliteral, warn_format_security,
702 warn_format_zero_length): Remove.
703 (maybe_building_objc_message_expr): Remove.
704 (cpp_post_options): Remove.
705 (maybe_objc_check_decl): Remove.
706 (integer_types): Remove.
709 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
711 * treelang.c: Remove cpp_post_options.
713 2002-08-13 Tim Josling <tej@melbpc.org.au>
715 * parse.y: Provide dummy definition of rtx for use by config.h.
716 * Make-lang.in (treetree.o): Remove dependency on non-existent
717 gt-treelang-treelang.h.
718 (gt-treelang-treelang.h): Remove.
720 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
722 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
724 2002-07-11 Tim Josling <tej@melbpc.org.au>
726 Remove front end hard coding from gengtype.c.
728 * config-lang.in (gtfiles): Add files needed for this front
731 2002-07-09 Tim Josling <tej@melbpc.org.au>
733 Support new attributes regime (Fix for PR c++/7099).
735 * treetree.c (handle_format_attribute): Return NULL_TREE instead
737 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
738 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
739 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
741 2002-06-21 Andreas Jaeger <aj@suse.de>
743 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
744 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
746 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
748 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
751 2002-06-10 Tim Josling <tej@melbpc.org.au>
755 * Make-lang.in (check-treelang). Add. Remove direct dependency of
756 'check' on 'treelang.check' as redundant.
758 PCH Garbage collection regime (gengtypes.c) phase 1.
760 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
761 gt-treelang-treelang.h gtype-treelang.h.
762 (gt-treelang-tree1.h) Depend on s-gtype.
763 (gt-treelang-treelang.h) Depend on s-gtype.
764 (gtype-treelang.h) Depend on s-gtype.
766 * config-lang.in (gtfiles): Define.
768 * lex.l (main): Remove '#if 0' dead code.
769 (main): Move undef of IN_GCC so define of tree typedef works.
770 (all): Replace token and production by prod_token_parm_item.
773 (all): Replace token and production by prod_token_parm_item.
775 * tree1.c (main): Remove include of "output.h".
776 (symbol_table): Add GTY details.
777 (symbol_table_ggc): Remove.
778 (treelang_init): Remove root definitions for garbage collection.
779 (mark_production_used): Remove.
780 (mark_token_used): Remove.
781 (main, at end): include generated garage collection routines.
783 * treelang.h (category_enum ): Add parameter_category.
784 (all): Replace token and production and parameters by union
785 prod_token_parm_item containing production_part, token_part,
787 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
788 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
789 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
790 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
794 (tm_p.h): Do not include.
795 (ansidecl.h): Move include after config.h.
796 (treelang.h): Include it.
798 (all): Replace token, production and parameter by prod_token_parm_item.
799 (tree_parameter_list): Move to treelang.h as part of
800 prod_token_parm_item.
801 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
802 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
803 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
804 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
807 2002-05-19 Tim Josling <tej@melbpc.org.au>
809 * treetree.c (warn_format_zero_length): Add.
811 2002-05-14 Tim Josling <tej@melbpc.org.au>
813 * Make-lang.in: Fix build for .info files, add target for manpages.
814 A bug report and a suggested patch came from Magnus Fromreide
815 <magfr@lysator.liu.se>.
817 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
819 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
821 2002-05-11 Tim Josling <tej@melbpc.org.au>
823 * treetree.c: (cpp_define) Add.
824 (cpp_get_callbacks) Add.
826 2002-05-07 Tim Josling <tej@melbpc.org.au>
828 * treetree.c: (cpp_get_options) Add.
830 2002-05-06 Tim Josling <tej@melbpc.org.au>
834 2002-05-05 Tim Josling <tej@melbpc.org.au>
836 * Updated for gcc3.2 experimental. Major changes throughout.
838 2002-03-31 Tim Josling <tej@melbpc.org.au>
840 * Make-lang.in: Changes so build and check work more reliably
842 2001-07-30 Tim Josling <tej@melbpc.org.au>
845 * treelang.texi: updates based on feedback
847 2001-06-11 Tim Josling <tej@melbpc.org.au>
849 * all (all) Revamp code to conform to GCC coding standards, fix
852 2001-05-11 Tim Josling <tej@melbpc.org.au>
854 Create the new language.