OSDN Git Service

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