1 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
4 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
5 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
6 rest_of_decl_compilation on static variables.
7 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
10 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
13 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
14 Move function parameters check from ...
15 (function): ...Here. Update call to tree_code_create_function_initial.
16 (function_invocation): Use expressions_with_commas_opt instead of
17 expressions_with_commas.
18 (expressions_with_commas_opt): New rule.
19 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
20 for function parameters.
21 (tree_code_create_function_initial): Remove PARMS parameter.
22 Don't create PARM_DECLs for function parameters.
23 * treetree.h (tree_code_create_function_initial): Remove PARMS
26 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
28 * parse.y: Update copyright.
30 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
32 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
35 2005-02-09 Richard Henderson <rth@redhat.com>
37 * treetree.c (treelang_init_decl_processing): Call
38 build_common_builtin_nodes.
40 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
42 * treelang.texi: Don't use local treelang version number. Don't
43 give last update date.
45 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
47 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
49 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
51 * parse.y: Reformat comments.
52 * treetree.c: Likewise.
53 * treetree.h: Likewise.
55 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
57 * treetree.c (tree_code_generate_return): Wrap param declaration in
60 2004-10-05 Zack Weinberg <zack@codesourcery.com>
62 * parse.y: Add list of diagnostic messages to insulate
63 translation template from version of yacc/bison used to
66 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
69 * lex.l: Include input.h and errors.h
70 (lineno): New variable.
71 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
73 Set column position with LINEMAP_POSITION_FOR_COLUMN.
74 Use error instead of fprintf.
75 Set input_location with the value returned by linemap_start_line when
76 USE_MAPPED_LOCATION is defined.
77 (dump_lex_value): Use LOCATION_LINE.
78 * parse.y: Include errors.h.
79 Use error and warning instead of fprintf.
80 (return): Move exp to rule scope and always set to $2. Test against
83 (print_token): Use LOCATION_LINE.
84 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
85 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
87 (treelang_parse_file): Always start at line one.
88 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
90 Leave main_input_filename when done parsing the input.
91 (insert_tree_name): Use error instead of fprintf.
92 * treetree.c (tree_code_get_expression): Wrap long line.
93 (tree_mark_addressable): Use %qD to print out DECLs.
95 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
97 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
99 * treetree.c: Likewise.
101 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
103 * lex.l: Remove random whitespace.
104 * parse.y: Reformat copyright notice. Indent declarations.
105 Wrap long lines, unwrap short lines.
106 * tree1.c: Reformat copyright notice. Wrap long lines.
107 Remove random whitespace.
108 (lookup_tree_name): Use LOCATION_LINE.
109 * treetree.c: Reformat copyright notice. Wrap long lines.
110 Remove random whitespace.
112 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
114 * parse.y (ELSE): Set tok to $1.
115 * treelang.texi: Wrap comments in @r{}. Indent example comments.
116 Use gcc when refering to the command line or website. Update function
119 2004-10-01 Jan Hubicka <jh@suse.cz>
121 * treetree.c (treeland_expand_function): Update call of
122 tree_rest_of_compilation.
124 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
125 Zack Weinberg <zack@codesourcery.com>
127 * treetree.c: Update for new tree-class enumeration constants.
129 2004-09-15 Zack Weinberg <zack@codesourcery.com>
131 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
133 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
135 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
137 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
139 * treelang/treetree.c (treelang_init_decl_processing): Adjust
140 build_common_tree_nodes call.
142 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
144 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
146 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
148 * Make-lang.in (TREE_BE_LIBS): Remove.
149 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
151 * parse.y: Add variable_defs_opt before statements_opt.
152 Use tree_code_get_type instead of get_type_for_numeric_type.
154 (parameters_opt): New rule.
155 (function_prototype): Use parameters_opt.
156 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
157 (check_type_match): Use VOID_TYPE.
158 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
159 * tree1.c: Include version.h and cgraph.h
160 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
162 * treelang.h (item): Remove extraneous GTY.
163 * treetree.h (get_type_for_numeric_type): Remove.
164 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
165 function.h, and cgraph.h. Don't include rtl.h
166 (keep_level_p): Remove.
167 (tree_push_atomic_type_decl): Remove.
168 (get_type_for_numeric_type): Remove.
169 (tree_code_get_numeric_type): Remove.
170 (global_bindings_p): Make static.
171 (getdecls): Likewise.
172 (insert_block): Likewise.
173 (tree_code_if_start): Create a COND_EXPR and add it to the tree
174 instead of creating rtl.
175 (tree_code_if_else): Create a BIND_EXPR if any variables were created
177 (tree_code_end_if): Likewise.
178 (tree_code_create_function_prototype): Use tree_code_get_type.
179 Don't use SET_DECL_ASSEMBLER_NAME.
180 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
181 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
182 layout_decl on RESULT_DECL. Don't call rtl expand functions.
183 (tree_code_create_function_wrapup): Don't call rtl expand functions.
184 Create a BIND_EXPR for each function. Dump original and gimplified
185 copies of the function tree. Gimplify function.
186 (tree_code_create_variable): Use tree_code_get_type. Don't call
187 layout_decl or expand_decl. Fold CONVERT_EXPRs.
188 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
189 Add RETURN_EXPR to the current statement list. Don't call rtl expand
191 (tree_code_output_expression_statement): Append CODE to current
193 (tree_code_get_expression): Fold expressions. Build a pointer to
194 a FUNCTION_TYPE intead of the called functions return type.
195 (struct binding_level): Add statement list STMTS.
196 (getstmtlist): New Function.
197 (pushlevel): Make static. Allocate an empty statement list.
198 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
199 Don't use DECL_ASSEMBLER_NAME.
200 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
201 (treelang_init_decl_processing): Define basic types after unused types.
202 Don't call tree_push_atomic_type_decl.
203 (builtin_function): Don't call make_decl_rtl.
204 (treelang_expand_function). New Function.
206 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
208 * treetree.c (set_block): Remove.
209 (struct binding_level): Remove block_created_by_back_end.
210 (clear_binding_level): Likewise.
211 (tree_code_create_function_initial,
212 tree_code_create_function_wrapup): Call pushlevel and poplevel
213 directly rather than through hooks.
214 (poplevel): Don't handle block_created_by_back_end.
216 2004-04-07 Richard Henderson <rth@redhat.com>
218 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
220 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
222 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
225 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
227 * treelang.texi: Update link to "G++ and GCC".
229 2004-02-20 Richard Henderson <rth@redhat.com>
231 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
233 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
235 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
237 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
239 * Make-lang.in: Replace $(docdir) with doc.
240 (treelang.info, treelang.srcinfo): New rules.
241 (treelang.man, treelang.man): Dummy entries.
243 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
245 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
246 (treelang/parse.o, treelang/lex.o): Look for sources in build
247 directory. Use implicit rule.
248 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
250 (treelang.srcextra): Copy above back to source directory if requested.
252 2004-01-07 Zack Weinberg <zack@codesourcery.com>
254 * parse.y (yyerror): Mark the definition static.
256 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
258 * lex.l: Add \t as a whitespace character.
259 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
261 * treelang.texi (What is GNU Treelang?): Fix a typo.
262 (Lexical Syntax): Create an itemize list of keywords. Add commas to
263 paragraph defining names.
265 2003-11-26 Jason Merrill <jason@redhat.com>
267 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
268 directory and TAGS files that include them for each front end.
270 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
272 * .cvsignore: Delete.
274 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
276 * Make-lang.in (treelang.extraclean): Delete.
278 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
280 * Make-lang.in: Remove obsolete comment.
282 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
284 * Make-lang.in (dvi): Move targets to $(docobjdir).
285 (treelang.dvi): Simplify rule and adjust target.
286 (treelang.info): Simplify rule.
287 (parse.o): Correct dependencies.
288 (TREE_EXE): Delete doubled suffix append.
290 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
292 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
295 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
297 * Make-lang.in (parse.o): Honor $(parsedir).
300 (parse.c, parse.h): Likewise.
301 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
304 2003-10-20 Mark Mitchell <mark@codesourcery.com>
306 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
309 * Make-lang.in (info): Use docobjdir.
310 ($(srcdir)/treelang/treelang.info): Replace with ...
311 ($(docobjdir)/treelang/treelang.info): ... this.
312 (install-info): New target.
314 2003-10-12 Andreas Jaeger <aj@suse.de>
316 * Make-lang.in (treelang.install-info): Remove reference to
318 (treelang.): Removed.
320 2003-10-06 Mark Mitchell <mark@codesourcery.com>
322 * Make-lang.in (treelang.info): Replace with ...
324 * Make-lang.in (treelang.dvi): Replace with ...
327 2003-09-21 Richard Henderson <rth@redhat.com>
329 * treetree.c: Revert.
331 2003-09-21 Richard Henderson <rth@redhat.com>
333 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
336 2003-07-28 Andreas Jaeger <aj@suse.de>
338 * treetree.c: Convert remaining K&R prototypes to ISO C90.
341 * tree-convert.c: Likewise.
343 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
345 * treetree.c: Remove unnecessary casts.
347 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
349 * lang-options.h: Remove.
350 * lang.opt: Document some options. Remove --help.
351 * tree1.c (treelang_handle_option): Remove OPT__help case.
353 2003-07-12 Andreas Jaeger <aj@suse.de>
355 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
357 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
359 * Make-lang.in: Update.
360 * tree1.c: Don't include c-common.h.
361 (c_language): Remove.
363 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
364 Steven Bosscher <steven@gcc.gnu.org>
366 * tree-convert.c: New file.
367 * treetree.c: Don't include c-tree.h. Include target.h.
368 (struct lang_identifier, union lang_tree_node, struct lang_type,
369 struct lang_function): New, minimal language-specific datastructs.
370 (tree_lang_truthvalue_conversion, tree_mark_addressable,
371 tree_lang_type_for_size, tree_lang_type_for_mode,
372 tree_lang_unsigned_type, tree_lang_signed_type,
373 tree_lang_signed_or_unsigned): New functions.
374 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
375 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
376 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
377 tree_push_atomic_type_decl): New functions.
378 (struct resword, struct reswords): Remove.
379 * Make-lang.in: Update. Don't depend on C front end objects.
380 * config-lang.in: Likewise.
382 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
384 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
385 tree_code_if_end, tree_code_create_function_initial,
386 tree_code_create_function_wrapup, tree_code_generate_return,
387 tree_code_output_expression_statement): Adjust emit_line_note
390 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
392 * Make-lang.in: Replace PWD with PWD_COMMAND.
394 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
396 * tree1.c (treelang_init_options): Update prototype.
397 * treelang.h (treelang_init_options): Update prototype.
399 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
401 * Make-lang.in: Update.
402 * tree1.c: Include c-common.h. Define c_language.
404 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
406 * treetree.c (tree_code_create_function_wrapup): Adjust
407 expand_function_end call.
409 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
411 * treetree.c (build_stmt): Remove VPARAMS.
412 (pedwarn_c99): Likewise.
414 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
416 * lang.opt: Declare Treelang. Update.
417 * tree1.c (treelang_init_options): Update.
419 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
421 * treetree.c (tree_code_create_function_initial): Adjust
422 init_function_start call.
424 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
426 * Make-lang.in: Update to use options.c and options.h.
427 * tree1.c: Include options.h not t-options.h.
428 (treelang_init_options): New.
429 (treelang_handle_option): Abort on unrecognized switch.
430 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
431 * treetree.h (treelang_init_options): New.
433 2003-06-12 Andreas Jaeger <aj@suse.de>
435 * treetree.c: Remove cl_options-count and cl_options.
437 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
439 * Make-lang.in: Update for option handling.
441 * tree1.c: Include opts.h and t-options.h.
442 (treelang_decode_option): Remove.
443 (treelang_handle_option): New.
444 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
445 (LANG_HOOKS_HANDLE_OPTION): Override.
446 * treetree.h (treelang_decode_option): Remove.
447 (treelang_handle_option): New.
449 2003-06-08 Andreas Jaeger <aj@suse.de>
451 * Make-lang.in: Update.
452 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
454 2003-06-08 Tim Josling <tej@melbpc.org.au>
456 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
458 2003-06-05 Jan Hubicka <jh@suse.cz>
460 * Make-lang.in: Add support for stageprofile and stagefeedback
462 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
464 * treetree.c (reswords): Remove __bounded__, __unbounded__.
466 2003-05-09 Tim Josling <tej@melbpc.org.au>
468 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
469 to link (needed by some front ends such as PPC).
471 * treetree.c (tree_code_create_function_initial): Fix long line.
472 Initialize tree_code_int_size and tree_code_char_size to
474 (tree_code_get_numeric_type): Add check that size1 parameter is
477 * parse.y: Fix extra long lines in prototypes.
479 * treelang.h: Fix extra long lines in macro definitions.
481 2003-05-07 Zack Weinberg <zack@codesourcery.com>
483 * Make-lang.in: Set -Wno-error for treelang/lex.o.
485 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
487 * Make-lang.in (treelang/tree1.o): Depends on input.h
488 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
489 * treelang.h: #include input.h.
491 (struct token_part): Remove lineno, add location.
492 * lex.l (next_tree_lineno): Remove.
493 (update_lineno_charno): Adjust.
494 (dump_lex_value): Adjust.
495 * parse.y (variable_def, function_prototype, function, statement,
496 if_statement, return, function_invocation, variable_ref): Adjust.
497 (print_token, yyerror, ensure_not_void): Adjust.
498 tree1.c (in_fname): Remove.
499 (treelang_init): Setup input_location.
500 (lookup_tree_name): Adjust.
501 (insert_tree_name): Adjust.
502 * treetree.c (tree_code_if_start): Replace filename and lineno
503 parms with loc. Adjust.
504 (tree_code_if_else, tree_code_if_end,
505 tree_code_create_function_prototype,
506 tree_code_create_function_initial,
507 tree_code_create_function_wrapup, tree_code_create_variable,
508 tree_code_output_expression_statement): Likewise.
509 * treetree.h (tree_code_if_start): Replace filename and lineno
511 (tree_code_if_else, tree_code_if_end,
512 tree_code_create_function_prototype,
513 tree_code_create_function_initial,
514 tree_code_create_function_wrapup, tree_code_create_variable,
515 tree_code_output_expression_statement): Likewise.
517 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
519 * tree1.c (treelang_init): Rename lineno to input_line.
521 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
523 * parse.y (make_plus_expression): New function.
524 (expression production): Use make_plus_expression for PLUS,
525 MINUS, ASSIGN and EQUALS.
526 * tree1.c (treelang_decode_option): Don't fall through to
527 options that start with a different character when an option
530 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
532 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
533 * treetree.c: Do not #include parse.h.
535 2003-03-21 Andreas Jaeger <aj@suse.de>
537 * treetree.c (cpp_create_reader): Follow prototype change in
540 2003-03-17 Andreas Jaeger <aj@suse.de>
542 * Make-lang.in (treelang.tags): Remove duplicate entry.
544 2003-03-15 Andreas Jaeger <aj@suse.de>
546 * treetree.c (cpp_handle_option): Remove.
548 2003-03-13 Andreas Jaeger <aj@suse.de>
550 * Make-lang.in (tree1$(exeext)): Fix previous patch.
552 2003-03-12 Andreas Jaeger <aj@suse.de>
554 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
556 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
558 * tree1.c (in_fname): Fix type.
559 (treelang_init): Update prototype and use of in_fname.
560 * treelang.h (in_fname): Fix type.
561 * treetree.c (tree_code_if_start, tree_code_if_else,
562 tree_code_if_end, tree_code_create_function_prototype,
563 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
564 tree_code_create_variable, tree_code_output_expression_statement)
565 : Fix prototypes and use of filenames.
566 * treetree.h: Similarly.
568 2003-03-05 Andreas Jaeger <aj@suse.de>
570 * treetree.c (init_c_lex): Follow change to c-common.h.
572 2003-03-04 Tom Tromey <tromey@redhat.com>
574 * Make-lang.in (treelang.tags): New target.
576 2003-03-01 Tim Josling <tej@melbpc.org.au>
578 Name clashes with rtl.h fixed.
580 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
585 2003-02-24 Tim Josling <tej@melbpc.org.au>
587 * parse.y (my_yylex): New - ensure lexer time is charged to
589 (yylex): redefine as invocation of my_yylex which then calls
590 flex-generated yylex.
591 (timevar.h): include.
593 2003-02-23 Tim Josling <tej@melbpc.org.au>
595 Fix garbage collection, add more error checking, force GC always.
597 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
598 (treelang/treetree.o): Depend on treelang/parse.h
600 * lex.l: include "treetree.h"
602 * lex.l (update_yylval): Allocate string using get_string so GC
605 * parse.y (function_prototype): Set category correctly so GC works.
606 (function): Set category in search so checking works.
607 (function_invocation): Ditto.
608 (variable_ref): Ditto.
610 * tree1.c (lookup_tree_name): Call sanity_check for passed
611 production and associated token and for symbol table entries.
613 * tree1.c (sanity_check): New, basic check that struct is valid.
615 * treelang.h: Prototype for sanity_check.
617 2003-01-27 Tim Josling <tej@melbpc.org.au>
619 * treetree.c (treelang_init_decl_processing): Change memory
620 allocation to use GC.
622 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
624 * treelang.texi: Update to GFDL 1.2.
626 2003-01-26 Michael Matz <matz@suse.de>
628 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
630 2003-01-14 Andreas Jaeger <aj@suse.de>
632 * Make-lang.in (treelang.install-info): Depend only on info files
633 if BUILD_INFO is set. Fix install rules.
636 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
638 * Make-lang.in (treelang.install.common.done,
639 treelang.install-info, treelang.uninstall): Prepend
640 $(DESTDIR) to destination paths in all (un)installation
643 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
645 * treelang.texi: Use @copying.
647 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
649 * treelang.texi: Include gcc-common.texi.
650 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
651 Depend on gcc-common.texi. Add other missing dependencies.
652 (treelang.dvi): Use texi2dvi.
654 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
656 * treelang.texi: Use @ifnottex instead of @ifinfo.
658 2002-11-30 Zack Weinberg <zack@codesourcery.com>
660 * lex.l: Move "%{" below copyright notice; get rid of "/*"
661 embedded in comment. Do not #undef IN_GCC; do not include
662 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
663 Do include coretypes.h and tm.h.
664 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
665 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
666 ansidecl.h. Do include coretypes.h and tm.h.
667 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
668 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
669 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
670 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
671 or ansidecl.h. Do include coretypes.h and tm.h.
672 * Make-lang.in: Update dependencies.
674 2002-09-09 Tim Josling <tej@melbpc.org.au>
676 * treetree.c (objc_is_id): New.
678 2002-08-16 Tim Josling <tej@melbpc.org.au>
680 Remove variables and functions now defined elsewhere.
682 * treetree.c (maybe_objc_comptypes): Remove.
683 (warn_format, warn_format_y2k, warn_format_extra_args,
684 warn_format_nonliteral, warn_format_security,
685 warn_format_zero_length): Remove.
686 (maybe_building_objc_message_expr): Remove.
687 (cpp_post_options): Remove.
688 (maybe_objc_check_decl): Remove.
689 (integer_types): Remove.
692 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
694 * treelang.c: Remove cpp_post_options.
696 2002-08-13 Tim Josling <tej@melbpc.org.au>
698 * parse.y: Provide dummy definition of rtx for use by config.h.
699 * Make-lang.in (treetree.o): Remove dependency on non-existent
700 gt-treelang-treelang.h.
701 (gt-treelang-treelang.h): Remove.
703 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
705 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
707 2002-07-11 Tim Josling <tej@melbpc.org.au>
709 Remove front end hard coding from gengtype.c.
711 * config-lang.in (gtfiles): Add files needed for this front
714 2002-07-09 Tim Josling <tej@melbpc.org.au>
716 Support new attributes regime (Fix for PR c++/7099).
718 * treetree.c (handle_format_attribute): Return NULL_TREE instead
720 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
721 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
722 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
724 2002-06-21 Andreas Jaeger <aj@suse.de>
726 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
727 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
729 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
731 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
734 2002-06-10 Tim Josling <tej@melbpc.org.au>
738 * Make-lang.in (check-treelang). Add. Remove direct dependency of
739 'check' on 'treelang.check' as redundant.
741 PCH Garbage collection regime (gengtypes.c) phase 1.
743 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
744 gt-treelang-treelang.h gtype-treelang.h.
745 (gt-treelang-tree1.h) Depend on s-gtype.
746 (gt-treelang-treelang.h) Depend on s-gtype.
747 (gtype-treelang.h) Depend on s-gtype.
749 * config-lang.in (gtfiles): Define.
751 * lex.l (main): Remove '#if 0' dead code.
752 (main): Move undef of IN_GCC so define of tree typedef works.
753 (all): Replace token and production by prod_token_parm_item.
756 (all): Replace token and production by prod_token_parm_item.
758 * tree1.c (main): Remove include of "output.h".
759 (symbol_table): Add GTY details.
760 (symbol_table_ggc): Remove.
761 (treelang_init): Remove root definitions for garbage collection.
762 (mark_production_used): Remove.
763 (mark_token_used): Remove.
764 (main, at end): include generated garage collection routines.
766 * treelang.h (category_enum ): Add parameter_category.
767 (all): Replace token and production and parameters by union
768 prod_token_parm_item containing production_part, token_part,
770 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
771 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
772 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
773 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
777 (tm_p.h): Do not include.
778 (ansidecl.h): Move include after config.h.
779 (treelang.h): Include it.
781 (all): Replace token, production and parameter by prod_token_parm_item.
782 (tree_parameter_list): Move to treelang.h as part of
783 prod_token_parm_item.
784 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
785 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
786 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
787 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
790 2002-05-19 Tim Josling <tej@melbpc.org.au>
792 * treetree.c (warn_format_zero_length): Add.
794 2002-05-14 Tim Josling <tej@melbpc.org.au>
796 * Make-lang.in: Fix build for .info files, add target for manpages.
797 A bug report and a suggested patch came from Magnus Fromreide
798 <magfr@lysator.liu.se>.
800 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
802 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
804 2002-05-11 Tim Josling <tej@melbpc.org.au>
806 * treetree.c: (cpp_define) Add.
807 (cpp_get_callbacks) Add.
809 2002-05-07 Tim Josling <tej@melbpc.org.au>
811 * treetree.c: (cpp_get_options) Add.
813 2002-05-06 Tim Josling <tej@melbpc.org.au>
817 2002-05-05 Tim Josling <tej@melbpc.org.au>
819 * Updated for gcc3.2 experimental. Major changes throughout.
821 2002-03-31 Tim Josling <tej@melbpc.org.au>
823 * Make-lang.in: Changes so build and check work more reliably
825 2001-07-30 Tim Josling <tej@melbpc.org.au>
828 * treelang.texi: updates based on feedback
830 2001-06-11 Tim Josling <tej@melbpc.org.au>
832 * all (all) Revamp code to conform to GCC coding standards, fix
835 2001-05-11 Tim Josling <tej@melbpc.org.au>
837 Create the new language.