OSDN Git Service

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