OSDN Git Service

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