1 2005-04-11 Richard Sandiford <rsandifo@redhat.com>
3 * lang.opt: Refer to the GCC internals documentation instead of c.opt.
5 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>
8 * lang-spec.c: Simplify @treelang to what the other
11 2005-04-01 Kazu Hirata <kazu@cs.umass.edu>
13 * treelang/treelang.texi: Fix typos.
14 * treelang/treetree.c: Fix comment typos.
16 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
18 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
19 tree_lang_truthvalue_conversion): Remove.
20 * tree-convert.c: Don't call truthvalue_conversion.
22 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
24 * treetree.c (tree_code_if_start): Use fold_buildN.
25 (tree_code_create_variable): Likewise.
26 (tree_code_generate_return): Likewise.
27 (tree_code_get_expression): Likewise.
28 (tree_code_add_parameter): Likewise.
30 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
32 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
35 2005-03-15 Zack Weinberg <zack@codesourcery.com>
37 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
39 2005-03-06 James A. Morrison <phython@gcc.gnu.org>
42 * Make-lang.in (gtreelang, treelang/spec.o): New targets.
45 2005-02-27 Kazu Hirata <kazu@cs.umass.edu>
47 * treelang.texi: Fix a typo.
49 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
51 * parse.y (function_invocation, variable-ref, make_plus_expression):
52 Pass location to tree_code_get_expression.
53 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
54 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
55 set EXPR_LOCATION on ret1.
56 * treetree.h (tree_code_get_expression): Take the location of the
57 expression as an argument.
59 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
61 * treelang.texi: Treelang does have warnings.
62 * treetree.c (tree_code_create_function_prototype): Don't set
63 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
64 as few times as needed on the function declaration.
65 (tree_code_create_function_initial): Don't set TREE_USED,
66 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
67 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
68 (tree_code_get_expression): Set TREE_USED for variable references
71 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
73 * parse.y: Do comparisons as the type of the first expression.
74 * treetree.c (tree_code_get_integer_value): Build integer constants
77 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
79 * Make-lang.in: Remove commented out code.
80 * lang-specs.h: Always pass -dumpbase to tree1.
82 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
84 * treelang.texi: Remove extra contribution notice.
85 Split up some run-on sentences. Document function parameters
86 as optional. Indicate automatic variables can now be at any scope.
87 Mention literals are only signed if they are preceded by a unary
88 plus or minus. Clarify interoperability with C.
90 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
92 * treelang.texi: Fix whitespacing.
94 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
97 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
98 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
99 rest_of_decl_compilation on static variables.
100 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
103 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
106 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
107 Move function parameters check from ...
108 (function): ...Here. Update call to tree_code_create_function_initial.
109 (function_invocation): Use expressions_with_commas_opt instead of
110 expressions_with_commas.
111 (expressions_with_commas_opt): New rule.
112 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
113 for function parameters.
114 (tree_code_create_function_initial): Remove PARMS parameter.
115 Don't create PARM_DECLs for function parameters.
116 * treetree.h (tree_code_create_function_initial): Remove PARMS
119 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
121 * parse.y: Update copyright.
123 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
125 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
126 scalar integer types.
128 2005-02-09 Richard Henderson <rth@redhat.com>
130 * treetree.c (treelang_init_decl_processing): Call
131 build_common_builtin_nodes.
133 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
135 * treelang.texi: Don't use local treelang version number. Don't
136 give last update date.
138 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
140 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
142 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
144 * parse.y: Reformat comments.
145 * treetree.c: Likewise.
146 * treetree.h: Likewise.
148 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
150 * treetree.c (tree_code_generate_return): Wrap param declaration in
153 2004-10-05 Zack Weinberg <zack@codesourcery.com>
155 * parse.y: Add list of diagnostic messages to insulate
156 translation template from version of yacc/bison used to
159 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
162 * lex.l: Include input.h and errors.h
163 (lineno): New variable.
164 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
166 Set column position with LINEMAP_POSITION_FOR_COLUMN.
167 Use error instead of fprintf.
168 Set input_location with the value returned by linemap_start_line when
169 USE_MAPPED_LOCATION is defined.
170 (dump_lex_value): Use LOCATION_LINE.
171 * parse.y: Include errors.h.
172 Use error and warning instead of fprintf.
173 (return): Move exp to rule scope and always set to $2. Test against
175 (init): Set $$ to $2.
176 (print_token): Use LOCATION_LINE.
177 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
178 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
180 (treelang_parse_file): Always start at line one.
181 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
183 Leave main_input_filename when done parsing the input.
184 (insert_tree_name): Use error instead of fprintf.
185 * treetree.c (tree_code_get_expression): Wrap long line.
186 (tree_mark_addressable): Use %qD to print out DECLs.
188 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
190 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
192 * treetree.c: Likewise.
194 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
196 * lex.l: Remove random whitespace.
197 * parse.y: Reformat copyright notice. Indent declarations.
198 Wrap long lines, unwrap short lines.
199 * tree1.c: Reformat copyright notice. Wrap long lines.
200 Remove random whitespace.
201 (lookup_tree_name): Use LOCATION_LINE.
202 * treetree.c: Reformat copyright notice. Wrap long lines.
203 Remove random whitespace.
205 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
207 * parse.y (ELSE): Set tok to $1.
208 * treelang.texi: Wrap comments in @r{}. Indent example comments.
209 Use gcc when refering to the command line or website. Update function
212 2004-10-01 Jan Hubicka <jh@suse.cz>
214 * treetree.c (treeland_expand_function): Update call of
215 tree_rest_of_compilation.
217 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
218 Zack Weinberg <zack@codesourcery.com>
220 * treetree.c: Update for new tree-class enumeration constants.
222 2004-09-15 Zack Weinberg <zack@codesourcery.com>
224 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
226 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
228 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
230 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
232 * treelang/treetree.c (treelang_init_decl_processing): Adjust
233 build_common_tree_nodes call.
235 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
237 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
239 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
241 * Make-lang.in (TREE_BE_LIBS): Remove.
242 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
244 * parse.y: Add variable_defs_opt before statements_opt.
245 Use tree_code_get_type instead of get_type_for_numeric_type.
247 (parameters_opt): New rule.
248 (function_prototype): Use parameters_opt.
249 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
250 (check_type_match): Use VOID_TYPE.
251 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
252 * tree1.c: Include version.h and cgraph.h
253 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
255 * treelang.h (item): Remove extraneous GTY.
256 * treetree.h (get_type_for_numeric_type): Remove.
257 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
258 function.h, and cgraph.h. Don't include rtl.h
259 (keep_level_p): Remove.
260 (tree_push_atomic_type_decl): Remove.
261 (get_type_for_numeric_type): Remove.
262 (tree_code_get_numeric_type): Remove.
263 (global_bindings_p): Make static.
264 (getdecls): Likewise.
265 (insert_block): Likewise.
266 (tree_code_if_start): Create a COND_EXPR and add it to the tree
267 instead of creating rtl.
268 (tree_code_if_else): Create a BIND_EXPR if any variables were created
270 (tree_code_end_if): Likewise.
271 (tree_code_create_function_prototype): Use tree_code_get_type.
272 Don't use SET_DECL_ASSEMBLER_NAME.
273 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
274 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
275 layout_decl on RESULT_DECL. Don't call rtl expand functions.
276 (tree_code_create_function_wrapup): Don't call rtl expand functions.
277 Create a BIND_EXPR for each function. Dump original and gimplified
278 copies of the function tree. Gimplify function.
279 (tree_code_create_variable): Use tree_code_get_type. Don't call
280 layout_decl or expand_decl. Fold CONVERT_EXPRs.
281 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
282 Add RETURN_EXPR to the current statement list. Don't call rtl expand
284 (tree_code_output_expression_statement): Append CODE to current
286 (tree_code_get_expression): Fold expressions. Build a pointer to
287 a FUNCTION_TYPE intead of the called functions return type.
288 (struct binding_level): Add statement list STMTS.
289 (getstmtlist): New Function.
290 (pushlevel): Make static. Allocate an empty statement list.
291 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
292 Don't use DECL_ASSEMBLER_NAME.
293 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
294 (treelang_init_decl_processing): Define basic types after unused types.
295 Don't call tree_push_atomic_type_decl.
296 (builtin_function): Don't call make_decl_rtl.
297 (treelang_expand_function). New Function.
299 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
301 * treetree.c (set_block): Remove.
302 (struct binding_level): Remove block_created_by_back_end.
303 (clear_binding_level): Likewise.
304 (tree_code_create_function_initial,
305 tree_code_create_function_wrapup): Call pushlevel and poplevel
306 directly rather than through hooks.
307 (poplevel): Don't handle block_created_by_back_end.
309 2004-04-07 Richard Henderson <rth@redhat.com>
311 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
313 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
315 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
318 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
320 * treelang.texi: Update link to "G++ and GCC".
322 2004-02-20 Richard Henderson <rth@redhat.com>
324 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
326 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
328 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
330 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
332 * Make-lang.in: Replace $(docdir) with doc.
333 (treelang.info, treelang.srcinfo): New rules.
334 (treelang.man, treelang.man): Dummy entries.
336 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
338 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
339 (treelang/parse.o, treelang/lex.o): Look for sources in build
340 directory. Use implicit rule.
341 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
343 (treelang.srcextra): Copy above back to source directory if requested.
345 2004-01-07 Zack Weinberg <zack@codesourcery.com>
347 * parse.y (yyerror): Mark the definition static.
349 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
351 * lex.l: Add \t as a whitespace character.
352 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
354 * treelang.texi (What is GNU Treelang?): Fix a typo.
355 (Lexical Syntax): Create an itemize list of keywords. Add commas to
356 paragraph defining names.
358 2003-11-26 Jason Merrill <jason@redhat.com>
360 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
361 directory and TAGS files that include them for each front end.
363 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
365 * .cvsignore: Delete.
367 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
369 * Make-lang.in (treelang.extraclean): Delete.
371 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
373 * Make-lang.in: Remove obsolete comment.
375 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
377 * Make-lang.in (dvi): Move targets to $(docobjdir).
378 (treelang.dvi): Simplify rule and adjust target.
379 (treelang.info): Simplify rule.
380 (parse.o): Correct dependencies.
381 (TREE_EXE): Delete doubled suffix append.
383 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
385 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
388 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
390 * Make-lang.in (parse.o): Honor $(parsedir).
393 (parse.c, parse.h): Likewise.
394 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
397 2003-10-20 Mark Mitchell <mark@codesourcery.com>
399 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
402 * Make-lang.in (info): Use docobjdir.
403 ($(srcdir)/treelang/treelang.info): Replace with ...
404 ($(docobjdir)/treelang/treelang.info): ... this.
405 (install-info): New target.
407 2003-10-12 Andreas Jaeger <aj@suse.de>
409 * Make-lang.in (treelang.install-info): Remove reference to
411 (treelang.): Removed.
413 2003-10-06 Mark Mitchell <mark@codesourcery.com>
415 * Make-lang.in (treelang.info): Replace with ...
417 * Make-lang.in (treelang.dvi): Replace with ...
420 2003-09-21 Richard Henderson <rth@redhat.com>
422 * treetree.c: Revert.
424 2003-09-21 Richard Henderson <rth@redhat.com>
426 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
429 2003-07-28 Andreas Jaeger <aj@suse.de>
431 * treetree.c: Convert remaining K&R prototypes to ISO C90.
434 * tree-convert.c: Likewise.
436 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
438 * treetree.c: Remove unnecessary casts.
440 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
442 * lang-options.h: Remove.
443 * lang.opt: Document some options. Remove --help.
444 * tree1.c (treelang_handle_option): Remove OPT__help case.
446 2003-07-12 Andreas Jaeger <aj@suse.de>
448 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
450 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
452 * Make-lang.in: Update.
453 * tree1.c: Don't include c-common.h.
454 (c_language): Remove.
456 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
457 Steven Bosscher <steven@gcc.gnu.org>
459 * tree-convert.c: New file.
460 * treetree.c: Don't include c-tree.h. Include target.h.
461 (struct lang_identifier, union lang_tree_node, struct lang_type,
462 struct lang_function): New, minimal language-specific datastructs.
463 (tree_lang_truthvalue_conversion, tree_mark_addressable,
464 tree_lang_type_for_size, tree_lang_type_for_mode,
465 tree_lang_unsigned_type, tree_lang_signed_type,
466 tree_lang_signed_or_unsigned): New functions.
467 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
468 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
469 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
470 tree_push_atomic_type_decl): New functions.
471 (struct resword, struct reswords): Remove.
472 * Make-lang.in: Update. Don't depend on C front end objects.
473 * config-lang.in: Likewise.
475 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
477 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
478 tree_code_if_end, tree_code_create_function_initial,
479 tree_code_create_function_wrapup, tree_code_generate_return,
480 tree_code_output_expression_statement): Adjust emit_line_note
483 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
485 * Make-lang.in: Replace PWD with PWD_COMMAND.
487 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
489 * tree1.c (treelang_init_options): Update prototype.
490 * treelang.h (treelang_init_options): Update prototype.
492 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
494 * Make-lang.in: Update.
495 * tree1.c: Include c-common.h. Define c_language.
497 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
499 * treetree.c (tree_code_create_function_wrapup): Adjust
500 expand_function_end call.
502 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
504 * treetree.c (build_stmt): Remove VPARAMS.
505 (pedwarn_c99): Likewise.
507 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
509 * lang.opt: Declare Treelang. Update.
510 * tree1.c (treelang_init_options): Update.
512 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
514 * treetree.c (tree_code_create_function_initial): Adjust
515 init_function_start call.
517 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
519 * Make-lang.in: Update to use options.c and options.h.
520 * tree1.c: Include options.h not t-options.h.
521 (treelang_init_options): New.
522 (treelang_handle_option): Abort on unrecognized switch.
523 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
524 * treetree.h (treelang_init_options): New.
526 2003-06-12 Andreas Jaeger <aj@suse.de>
528 * treetree.c: Remove cl_options-count and cl_options.
530 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
532 * Make-lang.in: Update for option handling.
534 * tree1.c: Include opts.h and t-options.h.
535 (treelang_decode_option): Remove.
536 (treelang_handle_option): New.
537 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
538 (LANG_HOOKS_HANDLE_OPTION): Override.
539 * treetree.h (treelang_decode_option): Remove.
540 (treelang_handle_option): New.
542 2003-06-08 Andreas Jaeger <aj@suse.de>
544 * Make-lang.in: Update.
545 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
547 2003-06-08 Tim Josling <tej@melbpc.org.au>
549 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
551 2003-06-05 Jan Hubicka <jh@suse.cz>
553 * Make-lang.in: Add support for stageprofile and stagefeedback
555 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
557 * treetree.c (reswords): Remove __bounded__, __unbounded__.
559 2003-05-09 Tim Josling <tej@melbpc.org.au>
561 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
562 to link (needed by some front ends such as PPC).
564 * treetree.c (tree_code_create_function_initial): Fix long line.
565 Initialize tree_code_int_size and tree_code_char_size to
567 (tree_code_get_numeric_type): Add check that size1 parameter is
570 * parse.y: Fix extra long lines in prototypes.
572 * treelang.h: Fix extra long lines in macro definitions.
574 2003-05-07 Zack Weinberg <zack@codesourcery.com>
576 * Make-lang.in: Set -Wno-error for treelang/lex.o.
578 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
580 * Make-lang.in (treelang/tree1.o): Depends on input.h
581 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
582 * treelang.h: #include input.h.
584 (struct token_part): Remove lineno, add location.
585 * lex.l (next_tree_lineno): Remove.
586 (update_lineno_charno): Adjust.
587 (dump_lex_value): Adjust.
588 * parse.y (variable_def, function_prototype, function, statement,
589 if_statement, return, function_invocation, variable_ref): Adjust.
590 (print_token, yyerror, ensure_not_void): Adjust.
591 tree1.c (in_fname): Remove.
592 (treelang_init): Setup input_location.
593 (lookup_tree_name): Adjust.
594 (insert_tree_name): Adjust.
595 * treetree.c (tree_code_if_start): Replace filename and lineno
596 parms with loc. Adjust.
597 (tree_code_if_else, tree_code_if_end,
598 tree_code_create_function_prototype,
599 tree_code_create_function_initial,
600 tree_code_create_function_wrapup, tree_code_create_variable,
601 tree_code_output_expression_statement): Likewise.
602 * treetree.h (tree_code_if_start): Replace filename and lineno
604 (tree_code_if_else, tree_code_if_end,
605 tree_code_create_function_prototype,
606 tree_code_create_function_initial,
607 tree_code_create_function_wrapup, tree_code_create_variable,
608 tree_code_output_expression_statement): Likewise.
610 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
612 * tree1.c (treelang_init): Rename lineno to input_line.
614 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
616 * parse.y (make_plus_expression): New function.
617 (expression production): Use make_plus_expression for PLUS,
618 MINUS, ASSIGN and EQUALS.
619 * tree1.c (treelang_decode_option): Don't fall through to
620 options that start with a different character when an option
623 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
625 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
626 * treetree.c: Do not #include parse.h.
628 2003-03-21 Andreas Jaeger <aj@suse.de>
630 * treetree.c (cpp_create_reader): Follow prototype change in
633 2003-03-17 Andreas Jaeger <aj@suse.de>
635 * Make-lang.in (treelang.tags): Remove duplicate entry.
637 2003-03-15 Andreas Jaeger <aj@suse.de>
639 * treetree.c (cpp_handle_option): Remove.
641 2003-03-13 Andreas Jaeger <aj@suse.de>
643 * Make-lang.in (tree1$(exeext)): Fix previous patch.
645 2003-03-12 Andreas Jaeger <aj@suse.de>
647 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
649 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
651 * tree1.c (in_fname): Fix type.
652 (treelang_init): Update prototype and use of in_fname.
653 * treelang.h (in_fname): Fix type.
654 * treetree.c (tree_code_if_start, tree_code_if_else,
655 tree_code_if_end, tree_code_create_function_prototype,
656 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
657 tree_code_create_variable, tree_code_output_expression_statement)
658 : Fix prototypes and use of filenames.
659 * treetree.h: Similarly.
661 2003-03-05 Andreas Jaeger <aj@suse.de>
663 * treetree.c (init_c_lex): Follow change to c-common.h.
665 2003-03-04 Tom Tromey <tromey@redhat.com>
667 * Make-lang.in (treelang.tags): New target.
669 2003-03-01 Tim Josling <tej@melbpc.org.au>
671 Name clashes with rtl.h fixed.
673 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
678 2003-02-24 Tim Josling <tej@melbpc.org.au>
680 * parse.y (my_yylex): New - ensure lexer time is charged to
682 (yylex): redefine as invocation of my_yylex which then calls
683 flex-generated yylex.
684 (timevar.h): include.
686 2003-02-23 Tim Josling <tej@melbpc.org.au>
688 Fix garbage collection, add more error checking, force GC always.
690 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
691 (treelang/treetree.o): Depend on treelang/parse.h
693 * lex.l: include "treetree.h"
695 * lex.l (update_yylval): Allocate string using get_string so GC
698 * parse.y (function_prototype): Set category correctly so GC works.
699 (function): Set category in search so checking works.
700 (function_invocation): Ditto.
701 (variable_ref): Ditto.
703 * tree1.c (lookup_tree_name): Call sanity_check for passed
704 production and associated token and for symbol table entries.
706 * tree1.c (sanity_check): New, basic check that struct is valid.
708 * treelang.h: Prototype for sanity_check.
710 2003-01-27 Tim Josling <tej@melbpc.org.au>
712 * treetree.c (treelang_init_decl_processing): Change memory
713 allocation to use GC.
715 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
717 * treelang.texi: Update to GFDL 1.2.
719 2003-01-26 Michael Matz <matz@suse.de>
721 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
723 2003-01-14 Andreas Jaeger <aj@suse.de>
725 * Make-lang.in (treelang.install-info): Depend only on info files
726 if BUILD_INFO is set. Fix install rules.
729 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
731 * Make-lang.in (treelang.install.common.done,
732 treelang.install-info, treelang.uninstall): Prepend
733 $(DESTDIR) to destination paths in all (un)installation
736 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
738 * treelang.texi: Use @copying.
740 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
742 * treelang.texi: Include gcc-common.texi.
743 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
744 Depend on gcc-common.texi. Add other missing dependencies.
745 (treelang.dvi): Use texi2dvi.
747 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
749 * treelang.texi: Use @ifnottex instead of @ifinfo.
751 2002-11-30 Zack Weinberg <zack@codesourcery.com>
753 * lex.l: Move "%{" below copyright notice; get rid of "/*"
754 embedded in comment. Do not #undef IN_GCC; do not include
755 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
756 Do include coretypes.h and tm.h.
757 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
758 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
759 ansidecl.h. Do include coretypes.h and tm.h.
760 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
761 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
762 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
763 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
764 or ansidecl.h. Do include coretypes.h and tm.h.
765 * Make-lang.in: Update dependencies.
767 2002-09-09 Tim Josling <tej@melbpc.org.au>
769 * treetree.c (objc_is_id): New.
771 2002-08-16 Tim Josling <tej@melbpc.org.au>
773 Remove variables and functions now defined elsewhere.
775 * treetree.c (maybe_objc_comptypes): Remove.
776 (warn_format, warn_format_y2k, warn_format_extra_args,
777 warn_format_nonliteral, warn_format_security,
778 warn_format_zero_length): Remove.
779 (maybe_building_objc_message_expr): Remove.
780 (cpp_post_options): Remove.
781 (maybe_objc_check_decl): Remove.
782 (integer_types): Remove.
785 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
787 * treelang.c: Remove cpp_post_options.
789 2002-08-13 Tim Josling <tej@melbpc.org.au>
791 * parse.y: Provide dummy definition of rtx for use by config.h.
792 * Make-lang.in (treetree.o): Remove dependency on non-existent
793 gt-treelang-treelang.h.
794 (gt-treelang-treelang.h): Remove.
796 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
798 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
800 2002-07-11 Tim Josling <tej@melbpc.org.au>
802 Remove front end hard coding from gengtype.c.
804 * config-lang.in (gtfiles): Add files needed for this front
807 2002-07-09 Tim Josling <tej@melbpc.org.au>
809 Support new attributes regime (Fix for PR c++/7099).
811 * treetree.c (handle_format_attribute): Return NULL_TREE instead
813 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
814 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
815 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
817 2002-06-21 Andreas Jaeger <aj@suse.de>
819 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
820 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
822 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
824 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
827 2002-06-10 Tim Josling <tej@melbpc.org.au>
831 * Make-lang.in (check-treelang). Add. Remove direct dependency of
832 'check' on 'treelang.check' as redundant.
834 PCH Garbage collection regime (gengtypes.c) phase 1.
836 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
837 gt-treelang-treelang.h gtype-treelang.h.
838 (gt-treelang-tree1.h) Depend on s-gtype.
839 (gt-treelang-treelang.h) Depend on s-gtype.
840 (gtype-treelang.h) Depend on s-gtype.
842 * config-lang.in (gtfiles): Define.
844 * lex.l (main): Remove '#if 0' dead code.
845 (main): Move undef of IN_GCC so define of tree typedef works.
846 (all): Replace token and production by prod_token_parm_item.
849 (all): Replace token and production by prod_token_parm_item.
851 * tree1.c (main): Remove include of "output.h".
852 (symbol_table): Add GTY details.
853 (symbol_table_ggc): Remove.
854 (treelang_init): Remove root definitions for garbage collection.
855 (mark_production_used): Remove.
856 (mark_token_used): Remove.
857 (main, at end): include generated garage collection routines.
859 * treelang.h (category_enum ): Add parameter_category.
860 (all): Replace token and production and parameters by union
861 prod_token_parm_item containing production_part, token_part,
863 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
864 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
865 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
866 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
870 (tm_p.h): Do not include.
871 (ansidecl.h): Move include after config.h.
872 (treelang.h): Include it.
874 (all): Replace token, production and parameter by prod_token_parm_item.
875 (tree_parameter_list): Move to treelang.h as part of
876 prod_token_parm_item.
877 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
878 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
879 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
880 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
883 2002-05-19 Tim Josling <tej@melbpc.org.au>
885 * treetree.c (warn_format_zero_length): Add.
887 2002-05-14 Tim Josling <tej@melbpc.org.au>
889 * Make-lang.in: Fix build for .info files, add target for manpages.
890 A bug report and a suggested patch came from Magnus Fromreide
891 <magfr@lysator.liu.se>.
893 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
895 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
897 2002-05-11 Tim Josling <tej@melbpc.org.au>
899 * treetree.c: (cpp_define) Add.
900 (cpp_get_callbacks) Add.
902 2002-05-07 Tim Josling <tej@melbpc.org.au>
904 * treetree.c: (cpp_get_options) Add.
906 2002-05-06 Tim Josling <tej@melbpc.org.au>
910 2002-05-05 Tim Josling <tej@melbpc.org.au>
912 * Updated for gcc3.2 experimental. Major changes throughout.
914 2002-03-31 Tim Josling <tej@melbpc.org.au>
916 * Make-lang.in: Changes so build and check work more reliably
918 2001-07-30 Tim Josling <tej@melbpc.org.au>
921 * treelang.texi: updates based on feedback
923 2001-06-11 Tim Josling <tej@melbpc.org.au>
925 * all (all) Revamp code to conform to GCC coding standards, fix
928 2001-05-11 Tim Josling <tej@melbpc.org.au>
930 Create the new language.