1 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
4 * lex.l: Include input.h and errors.h
5 (lineno): New variable.
6 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
8 Set column position with LINEMAP_POSITION_FOR_COLUMN.
9 Use error instead of fprintf.
10 Set input_location with the value returned by linemap_start_line when
11 USE_MAPPED_LOCATION is defined.
12 (dump_lex_value): Use LOCATION_LINE.
13 * parse.y: Include errors.h.
14 Use error and warning instead of fprintf.
15 (return): Move exp to rule scope and always set to $2. Test against
18 (print_token): Use LOCATION_LINE.
19 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
20 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
22 (treelang_parse_file): Always start at line one.
23 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
25 Leave main_input_filename when done parsing the input.
26 (insert_tree_name): Use error instead of fprintf.
27 * treetree.c (tree_code_get_expression): Wrap long line.
28 (tree_mark_addressable): Use %qD to print out DECLs.
30 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
32 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
34 * treetree.c: Likewise.
36 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
38 * lex.l: Remove random whitespace.
39 * parse.y: Reformat copyright notice. Indent declarations.
40 Wrap long lines, unwrap short lines.
41 * tree1.c: Reformat copyright notice. Wrap long lines.
42 Remove random whitespace.
43 (lookup_tree_name): Use LOCATION_LINE.
44 * treetree.c: Reformat copyright notice. Wrap long lines.
45 Remove random whitespace.
47 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
49 * parse.y (ELSE): Set tok to $1.
50 * treelang.texi: Wrap comments in @r{}. Indent example comments.
51 Use gcc when refering to the command line or website. Update function
54 2004-10-01 Jan Hubicka <jh@suse.cz>
56 * treetree.c (treeland_expand_function): Update call of
57 tree_rest_of_compilation.
59 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
60 Zack Weinberg <zack@codesourcery.com>
62 * treetree.c: Update for new tree-class enumeration constants.
64 2004-09-15 Zack Weinberg <zack@codesourcery.com>
66 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
68 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
70 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
72 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
74 * treelang/treetree.c (treelang_init_decl_processing): Adjust
75 build_common_tree_nodes call.
77 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
79 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
81 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
83 * Make-lang.in (TREE_BE_LIBS): Remove.
84 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
86 * parse.y: Add variable_defs_opt before statements_opt.
87 Use tree_code_get_type instead of get_type_for_numeric_type.
89 (parameters_opt): New rule.
90 (function_prototype): Use parameters_opt.
91 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
92 (check_type_match): Use VOID_TYPE.
93 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
94 * tree1.c: Include version.h and cgraph.h
95 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
97 * treelang.h (item): Remove extraneous GTY.
98 * treetree.h (get_type_for_numeric_type): Remove.
99 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
100 function.h, and cgraph.h. Don't include rtl.h
101 (keep_level_p): Remove.
102 (tree_push_atomic_type_decl): Remove.
103 (get_type_for_numeric_type): Remove.
104 (tree_code_get_numeric_type): Remove.
105 (global_bindings_p): Make static.
106 (getdecls): Likewise.
107 (insert_block): Likewise.
108 (tree_code_if_start): Create a COND_EXPR and add it to the tree
109 instead of creating rtl.
110 (tree_code_if_else): Create a BIND_EXPR if any variables were created
112 (tree_code_end_if): Likewise.
113 (tree_code_create_function_prototype): Use tree_code_get_type.
114 Don't use SET_DECL_ASSEMBLER_NAME.
115 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
116 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
117 layout_decl on RESULT_DECL. Don't call rtl expand functions.
118 (tree_code_create_function_wrapup): Don't call rtl expand functions.
119 Create a BIND_EXPR for each function. Dump original and gimplified
120 copies of the function tree. Gimplify function.
121 (tree_code_create_variable): Use tree_code_get_type. Don't call
122 layout_decl or expand_decl. Fold CONVERT_EXPRs.
123 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
124 Add RETURN_EXPR to the current statement list. Don't call rtl expand
126 (tree_code_output_expression_statement): Append CODE to current
128 (tree_code_get_expression): Fold expressions. Build a pointer to
129 a FUNCTION_TYPE intead of the called functions return type.
130 (struct binding_level): Add statement list STMTS.
131 (getstmtlist): New Function.
132 (pushlevel): Make static. Allocate an empty statement list.
133 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
134 Don't use DECL_ASSEMBLER_NAME.
135 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
136 (treelang_init_decl_processing): Define basic types after unused types.
137 Don't call tree_push_atomic_type_decl.
138 (builtin_function): Don't call make_decl_rtl.
139 (treelang_expand_function). New Function.
141 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
143 * treetree.c (set_block): Remove.
144 (struct binding_level): Remove block_created_by_back_end.
145 (clear_binding_level): Likewise.
146 (tree_code_create_function_initial,
147 tree_code_create_function_wrapup): Call pushlevel and poplevel
148 directly rather than through hooks.
149 (poplevel): Don't handle block_created_by_back_end.
151 2004-04-07 Richard Henderson <rth@redhat.com>
153 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
155 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
157 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
160 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
162 * treelang.texi: Update link to "G++ and GCC".
164 2004-02-20 Richard Henderson <rth@redhat.com>
166 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
168 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
170 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
172 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
174 * Make-lang.in: Replace $(docdir) with doc.
175 (treelang.info, treelang.srcinfo): New rules.
176 (treelang.man, treelang.man): Dummy entries.
178 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
180 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
181 (treelang/parse.o, treelang/lex.o): Look for sources in build
182 directory. Use implicit rule.
183 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
185 (treelang.srcextra): Copy above back to source directory if requested.
187 2004-01-07 Zack Weinberg <zack@codesourcery.com>
189 * parse.y (yyerror): Mark the definition static.
191 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
193 * lex.l: Add \t as a whitespace character.
194 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
196 * treelang.texi (What is GNU Treelang?): Fix a typo.
197 (Lexical Syntax): Create an itemize list of keywords. Add commas to
198 paragraph defining names.
200 2003-11-26 Jason Merrill <jason@redhat.com>
202 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
203 directory and TAGS files that include them for each front end.
205 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
207 * .cvsignore: Delete.
209 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
211 * Make-lang.in (treelang.extraclean): Delete.
213 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
215 * Make-lang.in: Remove obsolete comment.
217 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
219 * Make-lang.in (dvi): Move targets to $(docobjdir).
220 (treelang.dvi): Simplify rule and adjust target.
221 (treelang.info): Simplify rule.
222 (parse.o): Correct dependencies.
223 (TREE_EXE): Delete doubled suffix append.
225 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
227 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
230 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
232 * Make-lang.in (parse.o): Honor $(parsedir).
235 (parse.c, parse.h): Likewise.
236 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
239 2003-10-20 Mark Mitchell <mark@codesourcery.com>
241 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
244 * Make-lang.in (info): Use docobjdir.
245 ($(srcdir)/treelang/treelang.info): Replace with ...
246 ($(docobjdir)/treelang/treelang.info): ... this.
247 (install-info): New target.
249 2003-10-12 Andreas Jaeger <aj@suse.de>
251 * Make-lang.in (treelang.install-info): Remove reference to
253 (treelang.): Removed.
255 2003-10-06 Mark Mitchell <mark@codesourcery.com>
257 * Make-lang.in (treelang.info): Replace with ...
259 * Make-lang.in (treelang.dvi): Replace with ...
262 2003-09-21 Richard Henderson <rth@redhat.com>
264 * treetree.c: Revert.
266 2003-09-21 Richard Henderson <rth@redhat.com>
268 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
271 2003-07-28 Andreas Jaeger <aj@suse.de>
273 * treetree.c: Convert remaining K&R prototypes to ISO C90.
276 * tree-convert.c: Likewise.
278 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
280 * treetree.c: Remove unnecessary casts.
282 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
284 * lang-options.h: Remove.
285 * lang.opt: Document some options. Remove --help.
286 * tree1.c (treelang_handle_option): Remove OPT__help case.
288 2003-07-12 Andreas Jaeger <aj@suse.de>
290 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
292 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
294 * Make-lang.in: Update.
295 * tree1.c: Don't include c-common.h.
296 (c_language): Remove.
298 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
299 Steven Bosscher <steven@gcc.gnu.org>
301 * tree-convert.c: New file.
302 * treetree.c: Don't include c-tree.h. Include target.h.
303 (struct lang_identifier, union lang_tree_node, struct lang_type,
304 struct lang_function): New, minimal language-specific datastructs.
305 (tree_lang_truthvalue_conversion, tree_mark_addressable,
306 tree_lang_type_for_size, tree_lang_type_for_mode,
307 tree_lang_unsigned_type, tree_lang_signed_type,
308 tree_lang_signed_or_unsigned): New functions.
309 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
310 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
311 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
312 tree_push_atomic_type_decl): New functions.
313 (struct resword, struct reswords): Remove.
314 * Make-lang.in: Update. Don't depend on C front end objects.
315 * config-lang.in: Likewise.
317 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
319 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
320 tree_code_if_end, tree_code_create_function_initial,
321 tree_code_create_function_wrapup, tree_code_generate_return,
322 tree_code_output_expression_statement): Adjust emit_line_note
325 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
327 * Make-lang.in: Replace PWD with PWD_COMMAND.
329 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
331 * tree1.c (treelang_init_options): Update prototype.
332 * treelang.h (treelang_init_options): Update prototype.
334 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
336 * Make-lang.in: Update.
337 * tree1.c: Include c-common.h. Define c_language.
339 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
341 * treetree.c (tree_code_create_function_wrapup): Adjust
342 expand_function_end call.
344 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
346 * treetree.c (build_stmt): Remove VPARAMS.
347 (pedwarn_c99): Likewise.
349 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
351 * lang.opt: Declare Treelang. Update.
352 * tree1.c (treelang_init_options): Update.
354 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
356 * treetree.c (tree_code_create_function_initial): Adjust
357 init_function_start call.
359 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
361 * Make-lang.in: Update to use options.c and options.h.
362 * tree1.c: Include options.h not t-options.h.
363 (treelang_init_options): New.
364 (treelang_handle_option): Abort on unrecognized switch.
365 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
366 * treetree.h (treelang_init_options): New.
368 2003-06-12 Andreas Jaeger <aj@suse.de>
370 * treetree.c: Remove cl_options-count and cl_options.
372 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
374 * Make-lang.in: Update for option handling.
376 * tree1.c: Include opts.h and t-options.h.
377 (treelang_decode_option): Remove.
378 (treelang_handle_option): New.
379 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
380 (LANG_HOOKS_HANDLE_OPTION): Override.
381 * treetree.h (treelang_decode_option): Remove.
382 (treelang_handle_option): New.
384 2003-06-08 Andreas Jaeger <aj@suse.de>
386 * Make-lang.in: Update.
387 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
389 2003-06-08 Tim Josling <tej@melbpc.org.au>
391 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
393 2003-06-05 Jan Hubicka <jh@suse.cz>
395 * Make-lang.in: Add support for stageprofile and stagefeedback
397 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
399 * treetree.c (reswords): Remove __bounded__, __unbounded__.
401 2003-05-09 Tim Josling <tej@melbpc.org.au>
403 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
404 to link (needed by some front ends such as PPC).
406 * treetree.c (tree_code_create_function_initial): Fix long line.
407 Initialize tree_code_int_size and tree_code_char_size to
409 (tree_code_get_numeric_type): Add check that size1 parameter is
412 * parse.y: Fix extra long lines in prototypes.
414 * treelang.h: Fix extra long lines in macro definitions.
416 2003-05-07 Zack Weinberg <zack@codesourcery.com>
418 * Make-lang.in: Set -Wno-error for treelang/lex.o.
420 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
422 * Make-lang.in (treelang/tree1.o): Depends on input.h
423 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
424 * treelang.h: #include input.h.
426 (struct token_part): Remove lineno, add location.
427 * lex.l (next_tree_lineno): Remove.
428 (update_lineno_charno): Adjust.
429 (dump_lex_value): Adjust.
430 * parse.y (variable_def, function_prototype, function, statement,
431 if_statement, return, function_invocation, variable_ref): Adjust.
432 (print_token, yyerror, ensure_not_void): Adjust.
433 tree1.c (in_fname): Remove.
434 (treelang_init): Setup input_location.
435 (lookup_tree_name): Adjust.
436 (insert_tree_name): Adjust.
437 * treetree.c (tree_code_if_start): Replace filename and lineno
438 parms with loc. Adjust.
439 (tree_code_if_else, tree_code_if_end,
440 tree_code_create_function_prototype,
441 tree_code_create_function_initial,
442 tree_code_create_function_wrapup, tree_code_create_variable,
443 tree_code_output_expression_statement): Likewise.
444 * treetree.h (tree_code_if_start): Replace filename and lineno
446 (tree_code_if_else, tree_code_if_end,
447 tree_code_create_function_prototype,
448 tree_code_create_function_initial,
449 tree_code_create_function_wrapup, tree_code_create_variable,
450 tree_code_output_expression_statement): Likewise.
452 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
454 * tree1.c (treelang_init): Rename lineno to input_line.
456 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
458 * parse.y (make_plus_expression): New function.
459 (expression production): Use make_plus_expression for PLUS,
460 MINUS, ASSIGN and EQUALS.
461 * tree1.c (treelang_decode_option): Don't fall through to
462 options that start with a different character when an option
465 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
467 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
468 * treetree.c: Do not #include parse.h.
470 2003-03-21 Andreas Jaeger <aj@suse.de>
472 * treetree.c (cpp_create_reader): Follow prototype change in
475 2003-03-17 Andreas Jaeger <aj@suse.de>
477 * Make-lang.in (treelang.tags): Remove duplicate entry.
479 2003-03-15 Andreas Jaeger <aj@suse.de>
481 * treetree.c (cpp_handle_option): Remove.
483 2003-03-13 Andreas Jaeger <aj@suse.de>
485 * Make-lang.in (tree1$(exeext)): Fix previous patch.
487 2003-03-12 Andreas Jaeger <aj@suse.de>
489 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
491 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
493 * tree1.c (in_fname): Fix type.
494 (treelang_init): Update prototype and use of in_fname.
495 * treelang.h (in_fname): Fix type.
496 * treetree.c (tree_code_if_start, tree_code_if_else,
497 tree_code_if_end, tree_code_create_function_prototype,
498 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
499 tree_code_create_variable, tree_code_output_expression_statement)
500 : Fix prototypes and use of filenames.
501 * treetree.h: Similarly.
503 2003-03-05 Andreas Jaeger <aj@suse.de>
505 * treetree.c (init_c_lex): Follow change to c-common.h.
507 2003-03-04 Tom Tromey <tromey@redhat.com>
509 * Make-lang.in (treelang.tags): New target.
511 2003-03-01 Tim Josling <tej@melbpc.org.au>
513 Name clashes with rtl.h fixed.
515 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
520 2003-02-24 Tim Josling <tej@melbpc.org.au>
522 * parse.y (my_yylex): New - ensure lexer time is charged to
524 (yylex): redefine as invocation of my_yylex which then calls
525 flex-generated yylex.
526 (timevar.h): include.
528 2003-02-23 Tim Josling <tej@melbpc.org.au>
530 Fix garbage collection, add more error checking, force GC always.
532 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
533 (treelang/treetree.o): Depend on treelang/parse.h
535 * lex.l: include "treetree.h"
537 * lex.l (update_yylval): Allocate string using get_string so GC
540 * parse.y (function_prototype): Set category correctly so GC works.
541 (function): Set category in search so checking works.
542 (function_invocation): Ditto.
543 (variable_ref): Ditto.
545 * tree1.c (lookup_tree_name): Call sanity_check for passed
546 production and associated token and for symbol table entries.
548 * tree1.c (sanity_check): New, basic check that struct is valid.
550 * treelang.h: Prototype for sanity_check.
552 2003-01-27 Tim Josling <tej@melbpc.org.au>
554 * treetree.c (treelang_init_decl_processing): Change memory
555 allocation to use GC.
557 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
559 * treelang.texi: Update to GFDL 1.2.
561 2003-01-26 Michael Matz <matz@suse.de>
563 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
565 2003-01-14 Andreas Jaeger <aj@suse.de>
567 * Make-lang.in (treelang.install-info): Depend only on info files
568 if BUILD_INFO is set. Fix install rules.
571 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
573 * Make-lang.in (treelang.install.common.done,
574 treelang.install-info, treelang.uninstall): Prepend
575 $(DESTDIR) to destination paths in all (un)installation
578 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
580 * treelang.texi: Use @copying.
582 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
584 * treelang.texi: Include gcc-common.texi.
585 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
586 Depend on gcc-common.texi. Add other missing dependencies.
587 (treelang.dvi): Use texi2dvi.
589 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
591 * treelang.texi: Use @ifnottex instead of @ifinfo.
593 2002-11-30 Zack Weinberg <zack@codesourcery.com>
595 * lex.l: Move "%{" below copyright notice; get rid of "/*"
596 embedded in comment. Do not #undef IN_GCC; do not include
597 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
598 Do include coretypes.h and tm.h.
599 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
600 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
601 ansidecl.h. Do include coretypes.h and tm.h.
602 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
603 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
604 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
605 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
606 or ansidecl.h. Do include coretypes.h and tm.h.
607 * Make-lang.in: Update dependencies.
609 2002-09-09 Tim Josling <tej@melbpc.org.au>
611 * treetree.c (objc_is_id): New.
613 2002-08-16 Tim Josling <tej@melbpc.org.au>
615 Remove variables and functions now defined elsewhere.
617 * treetree.c (maybe_objc_comptypes): Remove.
618 (warn_format, warn_format_y2k, warn_format_extra_args,
619 warn_format_nonliteral, warn_format_security,
620 warn_format_zero_length): Remove.
621 (maybe_building_objc_message_expr): Remove.
622 (cpp_post_options): Remove.
623 (maybe_objc_check_decl): Remove.
624 (integer_types): Remove.
627 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
629 * treelang.c: Remove cpp_post_options.
631 2002-08-13 Tim Josling <tej@melbpc.org.au>
633 * parse.y: Provide dummy definition of rtx for use by config.h.
634 * Make-lang.in (treetree.o): Remove dependency on non-existent
635 gt-treelang-treelang.h.
636 (gt-treelang-treelang.h): Remove.
638 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
640 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
642 2002-07-11 Tim Josling <tej@melbpc.org.au>
644 Remove front end hard coding from gengtype.c.
646 * config-lang.in (gtfiles): Add files needed for this front
649 2002-07-09 Tim Josling <tej@melbpc.org.au>
651 Support new attributes regime (Fix for PR c++/7099).
653 * treetree.c (handle_format_attribute): Return NULL_TREE instead
655 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
656 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
657 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
659 2002-06-21 Andreas Jaeger <aj@suse.de>
661 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
662 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
664 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
666 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
669 2002-06-10 Tim Josling <tej@melbpc.org.au>
673 * Make-lang.in (check-treelang). Add. Remove direct dependency of
674 'check' on 'treelang.check' as redundant.
676 PCH Garbage collection regime (gengtypes.c) phase 1.
678 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
679 gt-treelang-treelang.h gtype-treelang.h.
680 (gt-treelang-tree1.h) Depend on s-gtype.
681 (gt-treelang-treelang.h) Depend on s-gtype.
682 (gtype-treelang.h) Depend on s-gtype.
684 * config-lang.in (gtfiles): Define.
686 * lex.l (main): Remove '#if 0' dead code.
687 (main): Move undef of IN_GCC so define of tree typedef works.
688 (all): Replace token and production by prod_token_parm_item.
691 (all): Replace token and production by prod_token_parm_item.
693 * tree1.c (main): Remove include of "output.h".
694 (symbol_table): Add GTY details.
695 (symbol_table_ggc): Remove.
696 (treelang_init): Remove root definitions for garbage collection.
697 (mark_production_used): Remove.
698 (mark_token_used): Remove.
699 (main, at end): include generated garage collection routines.
701 * treelang.h (category_enum ): Add parameter_category.
702 (all): Replace token and production and parameters by union
703 prod_token_parm_item containing production_part, token_part,
705 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
706 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
707 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
708 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
712 (tm_p.h): Do not include.
713 (ansidecl.h): Move include after config.h.
714 (treelang.h): Include it.
716 (all): Replace token, production and parameter by prod_token_parm_item.
717 (tree_parameter_list): Move to treelang.h as part of
718 prod_token_parm_item.
719 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
720 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
721 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
722 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
725 2002-05-19 Tim Josling <tej@melbpc.org.au>
727 * treetree.c (warn_format_zero_length): Add.
729 2002-05-14 Tim Josling <tej@melbpc.org.au>
731 * Make-lang.in: Fix build for .info files, add target for manpages.
732 A bug report and a suggested patch came from Magnus Fromreide
733 <magfr@lysator.liu.se>.
735 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
737 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
739 2002-05-11 Tim Josling <tej@melbpc.org.au>
741 * treetree.c: (cpp_define) Add.
742 (cpp_get_callbacks) Add.
744 2002-05-07 Tim Josling <tej@melbpc.org.au>
746 * treetree.c: (cpp_get_options) Add.
748 2002-05-06 Tim Josling <tej@melbpc.org.au>
752 2002-05-05 Tim Josling <tej@melbpc.org.au>
754 * Updated for gcc3.2 experimental. Major changes throughout.
756 2002-03-31 Tim Josling <tej@melbpc.org.au>
758 * Make-lang.in: Changes so build and check work more reliably
760 2001-07-30 Tim Josling <tej@melbpc.org.au>
763 * treelang.texi: updates based on feedback
765 2001-06-11 Tim Josling <tej@melbpc.org.au>
767 * all (all) Revamp code to conform to GCC coding standards, fix
770 2001-05-11 Tim Josling <tej@melbpc.org.au>
772 Create the new language.