OSDN Git Service

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