2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
[official-gcc.git] / gcc / treelang / ChangeLog
blob773a50a5e465853e7bc508de2c43cf49475bd613
1 2004-09-17  Jeffrey D. Oldham  <oldham@codesourcery.com>
2             Zack Weinberg  <zack@codesourcery.com>
4         * treetree.c: Update for new tree-class enumeration constants.
6 2004-09-15  Zack Weinberg  <zack@codesourcery.com>
8         * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
10 2004-08-26  Nathan Sidwell  <nathan@codesourcery.com>
12         * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
14 2004-08-24  Nathan Sidwell  <nathan@codesourcery.com>
16         * treelang/treetree.c (treelang_init_decl_processing): Adjust
17         build_common_tree_nodes call.
19 2004-08-14  Nathan Sidwell  <nathan@codesourcery.com>
21         * treetree.c (tree_code_get_integer_value): Use build_int_cst.
23 2004-07-31  James A. Morrison  <phython@gcc.gnu.org>
25         * Make-lang.in (TREE_BE_LIBS): Remove.
26         (tree1): Depend on BACKEND and LIBDEPS.  Use BACKEND and LIBS instead
27         of TREE_BE_LIBS.
28         * parse.y: Add variable_defs_opt before statements_opt.
29         Use tree_code_get_type instead of get_type_for_numeric_type.
30         Reformat long lines.
31         (parameters_opt): New rule.
32         (function_prototype): Use parameters_opt.
33         (return): Remove calls to print_token in error cases.  Use VOID_TYPE.
34         (check_type_match): Use VOID_TYPE.
35         * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
36         * tree1.c: Include version.h and cgraph.h
37         (treelang_parse_file): Call cgraph_finalize_compilation_unit and
38         cgraph_optimize.
39         * treelang.h (item): Remove extraneous GTY.
40         * treetree.h (get_type_for_numeric_type): Remove.
41         * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
42         function.h, and cgraph.h.  Don't include rtl.h
43         (keep_level_p): Remove.
44         (tree_push_atomic_type_decl): Remove.
45         (get_type_for_numeric_type): Remove.
46         (tree_code_get_numeric_type): Remove.
47         (global_bindings_p): Make static.
48         (getdecls): Likewise.
49         (insert_block): Likewise.
50         (tree_code_if_start): Create a COND_EXPR and add it to the tree
51         instead of creating rtl.
52         (tree_code_if_else): Create a BIND_EXPR if any variables were created
53         in the if statement.
54         (tree_code_end_if): Likewise.
55         (tree_code_create_function_prototype): Use tree_code_get_type.
56         Don't use SET_DECL_ASSEMBLER_NAME.
57         (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
58         DECL_IGNORING_P on RESULT_DECL.  Use tree_code_get_type.  Don't call
59         layout_decl on RESULT_DECL.  Don't call rtl expand functions.
60         (tree_code_create_function_wrapup): Don't call rtl expand functions.
61         Create a BIND_EXPR for each function.  Dump original and gimplified
62         copies of the function tree.  Gimplify function.
63         (tree_code_create_variable): Use tree_code_get_type.  Don't call
64         layout_decl or expand_decl.  Fold CONVERT_EXPRs.
65         (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
66         Add RETURN_EXPR to the current statement list.  Don't call rtl expand
67         functions.
68         (tree_code_output_expression_statement): Append CODE to current
69         statement list.
70         (tree_code_get_expression): Fold expressions.  Build a pointer to
71         a FUNCTION_TYPE intead of the called functions return type.
72         (struct binding_level): Add statement list STMTS.
73         (getstmtlist): New Function.
74         (pushlevel): Make static.  Allocate an empty statement list.
75         (poplevel): Make static.  Don't clear BLOCK_NODE's BLOCK_VARS.
76         Don't use DECL_ASSEMBLER_NAME.
77         (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
78         (treelang_init_decl_processing): Define basic types after unused types.
79         Don't call tree_push_atomic_type_decl.
80         (builtin_function): Don't call make_decl_rtl.
81         (treelang_expand_function). New Function.
83 2004-07-11  Joseph S. Myers  <jsm@polyomino.org.uk>
85         * treetree.c (set_block): Remove.
86         (struct binding_level): Remove block_created_by_back_end.
87         (clear_binding_level): Likewise.
88         (tree_code_create_function_initial,
89         tree_code_create_function_wrapup): Call pushlevel and poplevel
90         directly rather than through hooks.
91         (poplevel): Don't handle block_created_by_back_end.
93 2004-04-07  Richard Henderson  <rth@redhat.com>
95         * treetree.c (tree_mark_addressable):  Don't put_var_into_stack.
97 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
99         * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
100         not TREE_UNSIGNED.
102 2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
104         * treelang.texi: Update link to "G++ and GCC".
106 2004-02-20  Richard Henderson  <rth@redhat.com>
108         * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
110 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
112         * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
114 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
116         * Make-lang.in: Replace $(docdir) with doc.
117         (treelang.info, treelang.srcinfo): New rules.
118         (treelang.man, treelang.man): Dummy entries.
120 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
122         * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
123         (treelang/parse.o, treelang/lex.o): Look for sources in build
124         directory.  Use implicit rule.
125         (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
126         doc directory.
127         (treelang.srcextra): Copy above back to source directory if requested.
129 2004-01-07  Zack Weinberg  <zack@codesourcery.com>
131         * parse.y (yyerror): Mark the definition static.
133 2003-12-04  James A. Morrison  <ja2morri@uwaterloo.ca>
135         * lex.l: Add \t as a whitespace character.
136         * treelang.texi (Lexical Syntax): Document a tab as whitespace.
138         * treelang.texi (What is GNU Treelang?): Fix a typo.
139         (Lexical Syntax): Create an itemize list of keywords.  Add commas to
140         paragraph defining names.
142 2003-11-26  Jason Merrill  <jason@redhat.com>
144         * Make-lang.in (treelang.tags): Create TAGS.sub files in each
145         directory and TAGS files that include them for each front end.
147 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
149         * .cvsignore: Delete.
151 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
153         * Make-lang.in (treelang.extraclean): Delete.
155 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
157         * Make-lang.in: Remove obsolete comment.
159 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
161         * Make-lang.in (dvi): Move targets to $(docobjdir).
162         (treelang.dvi): Simplify rule and adjust target.
163         (treelang.info): Simplify rule.
164         (parse.o): Correct dependencies.
165         (TREE_EXE): Delete doubled suffix append.
167 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
169         * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
170         (lex.o): Likewise.
172 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
174         * Make-lang.in (parse.o): Honor $(parsedir).
175         (lex.o): Likewise.
176         (lex.c): Likewise
177         (parse.c, parse.h): Likewise.
178         ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
179         (dvi): Likewise.
181 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
183         * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
184         stmp-docobjdir.
186         * Make-lang.in (info): Use docobjdir.
187         ($(srcdir)/treelang/treelang.info): Replace with ...
188         ($(docobjdir)/treelang/treelang.info): ... this.
189         (install-info): New target.
191 2003-10-12  Andreas Jaeger  <aj@suse.de>
193         * Make-lang.in (treelang.install-info): Remove reference to
194         treelang.info.
195         (treelang.): Removed.
197 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
199         * Make-lang.in (treelang.info): Replace with ...
200         (info): ... this.
201         * Make-lang.in (treelang.dvi): Replace with ...
202         (dvi): ... this.
204 2003-09-21  Richard Henderson  <rth@redhat.com>
206         * treetree.c: Revert.
208 2003-09-21  Richard Henderson  <rth@redhat.com>
210         * treetree.c: Update for DECL_SOURCE_LOCATION rename and
211         change to const.
213 2003-07-28  Andreas Jaeger  <aj@suse.de>
215         * treetree.c: Convert remaining K&R prototypes to ISO C90.
216         * tree1.c: Likewise.
217         * parse.y: Likewise.
218         * tree-convert.c: Likewise.
220 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
222         * treetree.c: Remove unnecessary casts.
224 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
226         * lang-options.h: Remove.
227         * lang.opt: Document some options.  Remove --help.
228         * tree1.c (treelang_handle_option): Remove OPT__help case.
230 2003-07-12  Andreas Jaeger  <aj@suse.de>
232         * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
234 2003-07-10  Neil Booth  <neil@daikokuya.co.uk>
236         * Make-lang.in: Update.
237         * tree1.c: Don't include c-common.h.
238         (c_language): Remove.
240 2003-07-10  Fergus Henderson  <fjh@cs.mu.oz.au>
241             Steven Bosscher  <steven@gcc.gnu.org>
243         * tree-convert.c: New file.
244         * treetree.c: Don't include c-tree.h.  Include target.h.
245         (struct lang_identifier, union lang_tree_node, struct lang_type,
246         struct lang_function): New, minimal language-specific datastructs.
247         (tree_lang_truthvalue_conversion, tree_mark_addressable,
248         tree_lang_type_for_size, tree_lang_type_for_mode,
249         tree_lang_unsigned_type, tree_lang_signed_type,
250         tree_lang_signed_or_unsigned): New functions.
251         (LANG_HOOKS_*): Don't use C front end langhooks.  Use new functions.
252         (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
253         pushdecl, getdecls, kept_level_p, tree_push_type_decl,
254         tree_push_atomic_type_decl): New functions.
255         (struct resword, struct reswords): Remove.
256         * Make-lang.in: Update.  Don't depend on C front end objects.
257         * config-lang.in: Likewise.
259 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
261         * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
262         tree_code_if_end, tree_code_create_function_initial,
263         tree_code_create_function_wrapup, tree_code_generate_return,
264         tree_code_output_expression_statement): Adjust emit_line_note
265         calls.
267 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
269         * Make-lang.in: Replace PWD with PWD_COMMAND.
271 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
273         * tree1.c (treelang_init_options): Update prototype.
274         * treelang.h (treelang_init_options): Update prototype.
276 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
278         * Make-lang.in: Update.
279         * tree1.c: Include c-common.h.  Define c_language.
281 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
283         * treetree.c (tree_code_create_function_wrapup): Adjust
284         expand_function_end call.
286 2003-06-18  Nathan Sidwell  <nathan@codesourcery.com>
288         * treetree.c (build_stmt): Remove VPARAMS.
289         (pedwarn_c99): Likewise.
291 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
293         * lang.opt: Declare Treelang.  Update.
294         * tree1.c (treelang_init_options): Update.
296 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
298         * treetree.c (tree_code_create_function_initial): Adjust
299         init_function_start call.
301 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
303         * Make-lang.in: Update to use options.c and options.h.
304         * tree1.c: Include options.h not t-options.h.
305         (treelang_init_options): New.
306         (treelang_handle_option): Abort on unrecognized switch.
307         * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
308         * treetree.h (treelang_init_options): New.
310 2003-06-12  Andreas Jaeger  <aj@suse.de>
312         * treetree.c: Remove cl_options-count and cl_options.
314 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
316         * Make-lang.in: Update for option handling.
317         * lang.opt: New.
318         * tree1.c: Include opts.h and t-options.h.
319         (treelang_decode_option): Remove.
320         (treelang_handle_option): New.
321         * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
322         (LANG_HOOKS_HANDLE_OPTION): Override.
323         * treetree.h (treelang_decode_option): Remove.
324         (treelang_handle_option): New.
326 2003-06-08  Andreas Jaeger  <aj@suse.de>
328         * Make-lang.in: Update.
329         * treetree.c: Include opts.h. Define cl_options_count and cl_options.
331 2003-06-08  Tim Josling  <tej@melbpc.org.au>
333         * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
335 2003-06-05  Jan Hubicka  <jh@suse.cz>
337         * Make-lang.in:  Add support for stageprofile and stagefeedback
339 2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
341         * treetree.c (reswords): Remove __bounded__, __unbounded__.
343 2003-05-09  Tim Josling  <tej@melbpc.org.au>
345         * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
346         to link (needed by some front ends such as PPC).
348         * treetree.c (tree_code_create_function_initial): Fix long line.
349         Initialize tree_code_int_size and tree_code_char_size to
350         meaningful values.
351         (tree_code_get_numeric_type): Add check that size1 parameter is
352         valid.
354         * parse.y: Fix extra long lines in prototypes.
356         * treelang.h: Fix extra long lines in macro definitions.
358 2003-05-07  Zack Weinberg  <zack@codesourcery.com>
360         * Make-lang.in: Set -Wno-error for treelang/lex.o.
362 2003-05-06  Nathan Sidwell  <nathan@codesourcery.com>
364         * Make-lang.in (treelang/tree1.o): Depends on input.h
365         (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
366         * treelang.h: #include input.h.
367         (in_fname): Remove.
368         (struct token_part): Remove lineno, add location.
369         * lex.l (next_tree_lineno): Remove.
370         (update_lineno_charno): Adjust.
371         (dump_lex_value): Adjust.
372         * parse.y (variable_def, function_prototype, function, statement,
373         if_statement, return, function_invocation, variable_ref): Adjust.
374         (print_token, yyerror, ensure_not_void): Adjust.
375         tree1.c (in_fname): Remove.
376         (treelang_init): Setup input_location.
377         (lookup_tree_name): Adjust.
378         (insert_tree_name): Adjust.
379         * treetree.c (tree_code_if_start): Replace filename and lineno
380         parms with loc. Adjust.
381         (tree_code_if_else, tree_code_if_end,
382         tree_code_create_function_prototype,
383         tree_code_create_function_initial,
384         tree_code_create_function_wrapup, tree_code_create_variable,
385         tree_code_output_expression_statement): Likewise.
386         * treetree.h (tree_code_if_start): Replace filename and lineno
387         parms with loc.
388         (tree_code_if_else, tree_code_if_end,
389         tree_code_create_function_prototype,
390         tree_code_create_function_initial,
391         tree_code_create_function_wrapup, tree_code_create_variable,
392         tree_code_output_expression_statement): Likewise.
394 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
396         * tree1.c (treelang_init): Rename lineno to input_line.
398 2003-04-30  Steven Bosscher  <steven@gcc.gnu.org>
400         * parse.y (make_plus_expression): New function.
401         (expression production): Use make_plus_expression for PLUS,
402         MINUS, ASSIGN and EQUALS.
403         * tree1.c (treelang_decode_option): Don't fall through to
404         options that start with a different character when an option
405         was not recognized.
407 2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
409         * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
410         * treetree.c: Do not #include parse.h.
412 2003-03-21  Andreas Jaeger  <aj@suse.de>
414         * treetree.c (cpp_create_reader): Follow prototype change in
415         cpplib.h.
417 2003-03-17  Andreas Jaeger  <aj@suse.de>
419         * Make-lang.in (treelang.tags): Remove duplicate entry.
421 2003-03-15  Andreas Jaeger  <aj@suse.de>
423         * treetree.c (cpp_handle_option): Remove.
425 2003-03-13  Andreas Jaeger  <aj@suse.de>
427         * Make-lang.in (tree1$(exeext)): Fix previous patch.
429 2003-03-12  Andreas Jaeger  <aj@suse.de>
431         * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
433 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
435         * tree1.c (in_fname): Fix type.
436         (treelang_init): Update prototype and use of in_fname.
437         * treelang.h (in_fname): Fix type.
438         * treetree.c (tree_code_if_start, tree_code_if_else,
439         tree_code_if_end, tree_code_create_function_prototype,
440         tree_code_create_function_initial, tree_code_create_funciton_wrapup,
441         tree_code_create_variable, tree_code_output_expression_statement)
442         : Fix prototypes and use of filenames.
443         * treetree.h: Similarly.
445 2003-03-05  Andreas Jaeger  <aj@suse.de>
447         * treetree.c (init_c_lex): Follow change to c-common.h.
449 2003-03-04  Tom Tromey  <tromey@redhat.com>
451         * Make-lang.in (treelang.tags): New target.
453 2003-03-01  Tim Josling  <tej@melbpc.org.au>
455         Name clashes with rtl.h fixed.
457         * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
458         tl_RETURN.
460         * parse.y: Ditto.
462 2003-02-24  Tim Josling  <tej@melbpc.org.au>
464         * parse.y (my_yylex): New - ensure lexer time is charged to
465         TV_LEX.
466         (yylex): redefine as invocation of my_yylex which then calls
467         flex-generated yylex.
468         (timevar.h): include.
470 2003-02-23  Tim Josling  <tej@melbpc.org.au>
472         Fix garbage collection, add more error checking, force GC always.
474         * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
475         (treelang/treetree.o): Depend on  treelang/parse.h
477         * lex.l: include "treetree.h"
479         * lex.l (update_yylval): Allocate string using get_string so GC
480         works.
482         * parse.y (function_prototype): Set category correctly so GC works.
483         (function): Set category in search so checking works.
484         (function_invocation): Ditto.
485         (variable_ref): Ditto.
487         * tree1.c (lookup_tree_name): Call sanity_check for passed
488         production and associated token and for symbol table entries.
490         * tree1.c (sanity_check): New, basic check that struct is valid.
492         * treelang.h: Prototype for sanity_check.
494 2003-01-27  Tim Josling  <tej@melbpc.org.au>
496         * treetree.c (treelang_init_decl_processing): Change memory
497         allocation to use GC.
499 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
501         * treelang.texi: Update to GFDL 1.2.
503 2003-01-26  Michael Matz  <matz@suse.de>
505         * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
507 2003-01-14  Andreas Jaeger  <aj@suse.de>
509         * Make-lang.in (treelang.install-info): Depend only on info files
510         if BUILD_INFO is set.  Fix install rules.
511         (treelang.): New.
513 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
515         * Make-lang.in (treelang.install.common.done,
516         treelang.install-info, treelang.uninstall): Prepend
517         $(DESTDIR) to destination paths in all (un)installation
518         commands.
520 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
522         * treelang.texi: Use @copying.
524 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
526         * treelang.texi: Include gcc-common.texi.
527         * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
528         Depend on gcc-common.texi.  Add other missing dependencies.
529         (treelang.dvi): Use texi2dvi.
531 2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
533         * treelang.texi: Use @ifnottex instead of @ifinfo.
535 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
537         * lex.l: Move "%{" below copyright notice; get rid of "/*"
538         embedded in comment.  Do not #undef IN_GCC; do not include
539         stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
540         Do include coretypes.h and tm.h.
541         * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
542         and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
543         ansidecl.h. Do include coretypes.h and tm.h.
544         * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
545         stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
546         * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
547         errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
548         or ansidecl.h.  Do include coretypes.h and tm.h.
549         * Make-lang.in: Update dependencies.
551 2002-09-09  Tim Josling  <tej@melbpc.org.au>
553         * treetree.c (objc_is_id): New.
555 2002-08-16  Tim Josling  <tej@melbpc.org.au>
557         Remove variables and functions now defined elsewhere.
559         * treetree.c (maybe_objc_comptypes): Remove.
560         (warn_format, warn_format_y2k, warn_format_extra_args,
561         warn_format_nonliteral, warn_format_security,
562         warn_format_zero_length): Remove.
563         (maybe_building_objc_message_expr): Remove.
564         (cpp_post_options): Remove.
565         (maybe_objc_check_decl): Remove.
566         (integer_types): Remove.
569 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
571         * treelang.c: Remove cpp_post_options.
573 2002-08-13  Tim Josling  <tej@melbpc.org.au>
575         * parse.y: Provide dummy definition of rtx for use by config.h.
576         * Make-lang.in (treetree.o): Remove dependency on non-existent
577         gt-treelang-treelang.h.
578         (gt-treelang-treelang.h): Remove.
580 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
582         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
584 2002-07-11  Tim Josling  <tej@melbpc.org.au>
586         Remove front end hard coding from gengtype.c.
588         * config-lang.in (gtfiles): Add files needed for this front
589         end.
591 2002-07-09  Tim Josling  <tej@melbpc.org.au>
593         Support new attributes regime (Fix for PR c++/7099).
595         * treetree.c (handle_format_attribute): Return NULL_TREE instead
596         of aborting.
597         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
598         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
599         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
601 2002-06-21  Andreas Jaeger  <aj@suse.de>
603         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
604         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
606 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
608         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
609         than STATIC.
611 2002-06-10  Tim Josling  <tej@melbpc.org.au>
613         Cleanup
615         * Make-lang.in (check-treelang). Add. Remove direct dependency of
616         'check' on 'treelang.check' as redundant.
618         PCH Garbage collection regime (gengtypes.c) phase 1.
620         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
621         gt-treelang-treelang.h gtype-treelang.h.
622         (gt-treelang-tree1.h) Depend on s-gtype.
623         (gt-treelang-treelang.h) Depend on s-gtype.
624         (gtype-treelang.h) Depend on s-gtype.
626         * config-lang.in (gtfiles): Define.
628         * lex.l (main): Remove '#if 0' dead code.
629         (main): Move undef of IN_GCC so define of tree typedef works.
630         (all): Replace token and production by prod_token_parm_item.
632         * parse.y
633         (all): Replace token and production by prod_token_parm_item.
635         * tree1.c (main): Remove include of "output.h".
636         (symbol_table): Add GTY details.
637         (symbol_table_ggc): Remove.
638         (treelang_init): Remove root definitions for garbage collection.
639         (mark_production_used): Remove.
640         (mark_token_used): Remove.
641         (main, at end): include generated garage collection routines.
643         * treelang.h (category_enum ): Add parameter_category.
644         (all): Replace token and production and parameters by union
645         prod_token_parm_item containing production_part, token_part,
646         parameter_part.
647         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
648         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
649         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
650         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
651         treetree.h.
653         * treetree.c
654         (tm_p.h): Do not include.
655         (ansidecl.h): Move include after config.h.
656         (treelang.h): Include it.
657         (ADDROOT): Remove.
658         (all): Replace token, production and parameter by prod_token_parm_item.
659         (tree_parameter_list): Move to treelang.h as part of
660         prod_token_parm_item.
661         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
662         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
663         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
664         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
665         treelang.h.
667 2002-05-19  Tim Josling  <tej@melbpc.org.au>
669         * treetree.c (warn_format_zero_length): Add.
671 2002-05-14  Tim Josling  <tej@melbpc.org.au>
673         * Make-lang.in: Fix build for .info files, add target for manpages.
674         A bug report and a suggested patch came from Magnus Fromreide
675         <magfr@lysator.liu.se>.
677 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
679         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
681 2002-05-11  Tim Josling  <tej@melbpc.org.au>
683         * treetree.c: (cpp_define) Add.
684         (cpp_get_callbacks) Add.
686 2002-05-07  Tim Josling  <tej@melbpc.org.au>
688         * treetree.c: (cpp_get_options) Add.
690 2002-05-06  Tim Josling  <tej@melbpc.org.au>
692         * .cvsignore: Add.
694 2002-05-05  Tim Josling  <tej@melbpc.org.au>
696         * Updated for gcc3.2 experimental. Major changes throughout.
698 2002-03-31  Tim Josling  <tej@melbpc.org.au>
700         * Make-lang.in: Changes so build and check work more reliably
702 2001-07-30  Tim Josling  <tej@melbpc.org.au>
704         * root.texi: remove
705         * treelang.texi: updates based on feedback
707 2001-06-11  Tim Josling  <tej@melbpc.org.au>
709         * all (all) Revamp code to conform to GCC coding standards, fix
710         typos in texi files.
712 2001-05-11  Tim Josling  <tej@melbpc.org.au>
714         Create the new language.