1 2007-02-13 Release Manager
5 2006-05-24 Release Manager
9 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
11 * Make-lang.in: Undo the last change.
13 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
16 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
19 2006-04-22 Matthias Klose <doko@debian.org>
21 * Make-lang.in(treelang.check): Don't set and pass TRANSFORM.
23 2006-02-28 Release Manager
27 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
29 * spec.c (lang_specific_driver): Update copyright notice date.
31 2005-11-07 James A. Morrison <phython@gcc.gnu.org>
34 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
35 treelang_attribute_table.
36 (handle_attribute): New function.
37 (treelang_attribute_table): New attribute table.
39 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41 * parse.y : Changed pointer declaration from "type* var" to "type *var"
42 Removed trailing space. Wrap long lines.
44 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46 * parse.y : Fixed two compile warnings in "error" and "warning"
47 invocations. Removed trailing periods in messages. Decapitalized the
50 2005-08-07 James A. Morrison <phython@gcc.gnu.org>
52 * tree-convert.c (convert): Use fold_build1 instead of
55 2005-08-06 James A. Morrison <phython@gcc.gnu.org>
58 * Make-lang.in: Remove old testing cruft.
60 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
62 * all files: Update FSF address in copyright headers.
64 2005-06-15 James A. Morrison <phython@gcc.gnu.org>
66 * parse.y (function_invocation): Reverse parameter list.
67 * treetree.c (tree_code_get_expression): Don't reverse parameter list.
69 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>
71 * treetree.c (tree_code_get_expression): Call build_function_call_expr
72 to build function calls.
74 2005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
76 * treelang/lex.l, treelang/parse.y: Don't include errors.h and
78 * treelang/Make-lang.in: Updates dependencies.
80 2005-05-02 Andrew Pinski <pinskia@physics.uc.edu>
83 * parse.y (parameters_opt): Add semicolon at the end.
85 2005-04-29 Tom Tromey <tromey@redhat.com>
87 * treetree.c (poplevel): Updated for change to build_block.
89 2005-04-23 DJ Delorie <dj@redhat.com>
91 * parse.y: Adjust warning() callers.
93 2005-04-11 Richard Sandiford <rsandifo@redhat.com>
95 * lang.opt: Refer to the GCC internals documentation instead of c.opt.
97 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>
100 * lang-spec.c: Simplify @treelang to what the other
103 2005-04-01 Kazu Hirata <kazu@cs.umass.edu>
105 * treelang/treelang.texi: Fix typos.
106 * treelang/treetree.c: Fix comment typos.
108 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
110 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
111 tree_lang_truthvalue_conversion): Remove.
112 * tree-convert.c: Don't call truthvalue_conversion.
114 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
116 * treetree.c (tree_code_if_start): Use fold_buildN.
117 (tree_code_create_variable): Likewise.
118 (tree_code_generate_return): Likewise.
119 (tree_code_get_expression): Likewise.
120 (tree_code_add_parameter): Likewise.
122 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
124 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
127 2005-03-15 Zack Weinberg <zack@codesourcery.com>
129 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
131 2005-03-06 James A. Morrison <phython@gcc.gnu.org>
134 * Make-lang.in (gtreelang, treelang/spec.o): New targets.
137 2005-02-27 Kazu Hirata <kazu@cs.umass.edu>
139 * treelang.texi: Fix a typo.
141 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
143 * parse.y (function_invocation, variable-ref, make_plus_expression):
144 Pass location to tree_code_get_expression.
145 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
146 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
147 set EXPR_LOCATION on ret1.
148 * treetree.h (tree_code_get_expression): Take the location of the
149 expression as an argument.
151 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
153 * treelang.texi: Treelang does have warnings.
154 * treetree.c (tree_code_create_function_prototype): Don't set
155 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
156 as few times as needed on the function declaration.
157 (tree_code_create_function_initial): Don't set TREE_USED,
158 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
159 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
160 (tree_code_get_expression): Set TREE_USED for variable references
163 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
165 * parse.y: Do comparisons as the type of the first expression.
166 * treetree.c (tree_code_get_integer_value): Build integer constants
167 with the proper type.
169 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
171 * Make-lang.in: Remove commented out code.
172 * lang-specs.h: Always pass -dumpbase to tree1.
174 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
176 * treelang.texi: Remove extra contribution notice.
177 Split up some run-on sentences. Document function parameters
178 as optional. Indicate automatic variables can now be at any scope.
179 Mention literals are only signed if they are preceded by a unary
180 plus or minus. Clarify interoperability with C.
182 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
184 * treelang.texi: Fix whitespacing.
186 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
189 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
190 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
191 rest_of_decl_compilation on static variables.
192 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
195 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
198 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
199 Move function parameters check from ...
200 (function): ...Here. Update call to tree_code_create_function_initial.
201 (function_invocation): Use expressions_with_commas_opt instead of
202 expressions_with_commas.
203 (expressions_with_commas_opt): New rule.
204 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
205 for function parameters.
206 (tree_code_create_function_initial): Remove PARMS parameter.
207 Don't create PARM_DECLs for function parameters.
208 * treetree.h (tree_code_create_function_initial): Remove PARMS
211 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
213 * parse.y: Update copyright.
215 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
217 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
218 scalar integer types.
220 2005-02-09 Richard Henderson <rth@redhat.com>
222 * treetree.c (treelang_init_decl_processing): Call
223 build_common_builtin_nodes.
225 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
227 * treelang.texi: Don't use local treelang version number. Don't
228 give last update date.
230 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
232 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
234 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
236 * parse.y: Reformat comments.
237 * treetree.c: Likewise.
238 * treetree.h: Likewise.
240 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
242 * treetree.c (tree_code_generate_return): Wrap param declaration in
245 2004-10-05 Zack Weinberg <zack@codesourcery.com>
247 * parse.y: Add list of diagnostic messages to insulate
248 translation template from version of yacc/bison used to
251 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
254 * lex.l: Include input.h and errors.h
255 (lineno): New variable.
256 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
258 Set column position with LINEMAP_POSITION_FOR_COLUMN.
259 Use error instead of fprintf.
260 Set input_location with the value returned by linemap_start_line when
261 USE_MAPPED_LOCATION is defined.
262 (dump_lex_value): Use LOCATION_LINE.
263 * parse.y: Include errors.h.
264 Use error and warning instead of fprintf.
265 (return): Move exp to rule scope and always set to $2. Test against
267 (init): Set $$ to $2.
268 (print_token): Use LOCATION_LINE.
269 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
270 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
272 (treelang_parse_file): Always start at line one.
273 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
275 Leave main_input_filename when done parsing the input.
276 (insert_tree_name): Use error instead of fprintf.
277 * treetree.c (tree_code_get_expression): Wrap long line.
278 (tree_mark_addressable): Use %qD to print out DECLs.
280 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
282 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
284 * treetree.c: Likewise.
286 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
288 * lex.l: Remove random whitespace.
289 * parse.y: Reformat copyright notice. Indent declarations.
290 Wrap long lines, unwrap short lines.
291 * tree1.c: Reformat copyright notice. Wrap long lines.
292 Remove random whitespace.
293 (lookup_tree_name): Use LOCATION_LINE.
294 * treetree.c: Reformat copyright notice. Wrap long lines.
295 Remove random whitespace.
297 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
299 * parse.y (ELSE): Set tok to $1.
300 * treelang.texi: Wrap comments in @r{}. Indent example comments.
301 Use gcc when refering to the command line or website. Update function
304 2004-10-01 Jan Hubicka <jh@suse.cz>
306 * treetree.c (treeland_expand_function): Update call of
307 tree_rest_of_compilation.
309 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
310 Zack Weinberg <zack@codesourcery.com>
312 * treetree.c: Update for new tree-class enumeration constants.
314 2004-09-15 Zack Weinberg <zack@codesourcery.com>
316 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
318 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
320 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
322 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
324 * treelang/treetree.c (treelang_init_decl_processing): Adjust
325 build_common_tree_nodes call.
327 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
329 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
331 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
333 * Make-lang.in (TREE_BE_LIBS): Remove.
334 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
336 * parse.y: Add variable_defs_opt before statements_opt.
337 Use tree_code_get_type instead of get_type_for_numeric_type.
339 (parameters_opt): New rule.
340 (function_prototype): Use parameters_opt.
341 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
342 (check_type_match): Use VOID_TYPE.
343 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
344 * tree1.c: Include version.h and cgraph.h
345 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
347 * treelang.h (item): Remove extraneous GTY.
348 * treetree.h (get_type_for_numeric_type): Remove.
349 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
350 function.h, and cgraph.h. Don't include rtl.h
351 (keep_level_p): Remove.
352 (tree_push_atomic_type_decl): Remove.
353 (get_type_for_numeric_type): Remove.
354 (tree_code_get_numeric_type): Remove.
355 (global_bindings_p): Make static.
356 (getdecls): Likewise.
357 (insert_block): Likewise.
358 (tree_code_if_start): Create a COND_EXPR and add it to the tree
359 instead of creating rtl.
360 (tree_code_if_else): Create a BIND_EXPR if any variables were created
362 (tree_code_end_if): Likewise.
363 (tree_code_create_function_prototype): Use tree_code_get_type.
364 Don't use SET_DECL_ASSEMBLER_NAME.
365 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
366 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
367 layout_decl on RESULT_DECL. Don't call rtl expand functions.
368 (tree_code_create_function_wrapup): Don't call rtl expand functions.
369 Create a BIND_EXPR for each function. Dump original and gimplified
370 copies of the function tree. Gimplify function.
371 (tree_code_create_variable): Use tree_code_get_type. Don't call
372 layout_decl or expand_decl. Fold CONVERT_EXPRs.
373 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
374 Add RETURN_EXPR to the current statement list. Don't call rtl expand
376 (tree_code_output_expression_statement): Append CODE to current
378 (tree_code_get_expression): Fold expressions. Build a pointer to
379 a FUNCTION_TYPE intead of the called functions return type.
380 (struct binding_level): Add statement list STMTS.
381 (getstmtlist): New Function.
382 (pushlevel): Make static. Allocate an empty statement list.
383 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
384 Don't use DECL_ASSEMBLER_NAME.
385 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
386 (treelang_init_decl_processing): Define basic types after unused types.
387 Don't call tree_push_atomic_type_decl.
388 (builtin_function): Don't call make_decl_rtl.
389 (treelang_expand_function). New Function.
391 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
393 * treetree.c (set_block): Remove.
394 (struct binding_level): Remove block_created_by_back_end.
395 (clear_binding_level): Likewise.
396 (tree_code_create_function_initial,
397 tree_code_create_function_wrapup): Call pushlevel and poplevel
398 directly rather than through hooks.
399 (poplevel): Don't handle block_created_by_back_end.
401 2004-04-07 Richard Henderson <rth@redhat.com>
403 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
405 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
407 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
410 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
412 * treelang.texi: Update link to "G++ and GCC".
414 2004-02-20 Richard Henderson <rth@redhat.com>
416 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
418 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
420 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
422 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
424 * Make-lang.in: Replace $(docdir) with doc.
425 (treelang.info, treelang.srcinfo): New rules.
426 (treelang.man, treelang.man): Dummy entries.
428 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
430 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
431 (treelang/parse.o, treelang/lex.o): Look for sources in build
432 directory. Use implicit rule.
433 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
435 (treelang.srcextra): Copy above back to source directory if requested.
437 2004-01-07 Zack Weinberg <zack@codesourcery.com>
439 * parse.y (yyerror): Mark the definition static.
441 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
443 * lex.l: Add \t as a whitespace character.
444 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
446 * treelang.texi (What is GNU Treelang?): Fix a typo.
447 (Lexical Syntax): Create an itemize list of keywords. Add commas to
448 paragraph defining names.
450 2003-11-26 Jason Merrill <jason@redhat.com>
452 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
453 directory and TAGS files that include them for each front end.
455 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
457 * .cvsignore: Delete.
459 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
461 * Make-lang.in (treelang.extraclean): Delete.
463 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
465 * Make-lang.in: Remove obsolete comment.
467 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
469 * Make-lang.in (dvi): Move targets to $(docobjdir).
470 (treelang.dvi): Simplify rule and adjust target.
471 (treelang.info): Simplify rule.
472 (parse.o): Correct dependencies.
473 (TREE_EXE): Delete doubled suffix append.
475 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
477 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
480 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
482 * Make-lang.in (parse.o): Honor $(parsedir).
485 (parse.c, parse.h): Likewise.
486 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
489 2003-10-20 Mark Mitchell <mark@codesourcery.com>
491 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
494 * Make-lang.in (info): Use docobjdir.
495 ($(srcdir)/treelang/treelang.info): Replace with ...
496 ($(docobjdir)/treelang/treelang.info): ... this.
497 (install-info): New target.
499 2003-10-12 Andreas Jaeger <aj@suse.de>
501 * Make-lang.in (treelang.install-info): Remove reference to
503 (treelang.): Removed.
505 2003-10-06 Mark Mitchell <mark@codesourcery.com>
507 * Make-lang.in (treelang.info): Replace with ...
509 * Make-lang.in (treelang.dvi): Replace with ...
512 2003-09-21 Richard Henderson <rth@redhat.com>
514 * treetree.c: Revert.
516 2003-09-21 Richard Henderson <rth@redhat.com>
518 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
521 2003-07-28 Andreas Jaeger <aj@suse.de>
523 * treetree.c: Convert remaining K&R prototypes to ISO C90.
526 * tree-convert.c: Likewise.
528 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
530 * treetree.c: Remove unnecessary casts.
532 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
534 * lang-options.h: Remove.
535 * lang.opt: Document some options. Remove --help.
536 * tree1.c (treelang_handle_option): Remove OPT__help case.
538 2003-07-12 Andreas Jaeger <aj@suse.de>
540 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
542 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
544 * Make-lang.in: Update.
545 * tree1.c: Don't include c-common.h.
546 (c_language): Remove.
548 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
549 Steven Bosscher <steven@gcc.gnu.org>
551 * tree-convert.c: New file.
552 * treetree.c: Don't include c-tree.h. Include target.h.
553 (struct lang_identifier, union lang_tree_node, struct lang_type,
554 struct lang_function): New, minimal language-specific datastructs.
555 (tree_lang_truthvalue_conversion, tree_mark_addressable,
556 tree_lang_type_for_size, tree_lang_type_for_mode,
557 tree_lang_unsigned_type, tree_lang_signed_type,
558 tree_lang_signed_or_unsigned): New functions.
559 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
560 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
561 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
562 tree_push_atomic_type_decl): New functions.
563 (struct resword, struct reswords): Remove.
564 * Make-lang.in: Update. Don't depend on C front end objects.
565 * config-lang.in: Likewise.
567 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
569 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
570 tree_code_if_end, tree_code_create_function_initial,
571 tree_code_create_function_wrapup, tree_code_generate_return,
572 tree_code_output_expression_statement): Adjust emit_line_note
575 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
577 * Make-lang.in: Replace PWD with PWD_COMMAND.
579 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
581 * tree1.c (treelang_init_options): Update prototype.
582 * treelang.h (treelang_init_options): Update prototype.
584 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
586 * Make-lang.in: Update.
587 * tree1.c: Include c-common.h. Define c_language.
589 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
591 * treetree.c (tree_code_create_function_wrapup): Adjust
592 expand_function_end call.
594 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
596 * treetree.c (build_stmt): Remove VPARAMS.
597 (pedwarn_c99): Likewise.
599 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
601 * lang.opt: Declare Treelang. Update.
602 * tree1.c (treelang_init_options): Update.
604 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
606 * treetree.c (tree_code_create_function_initial): Adjust
607 init_function_start call.
609 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
611 * Make-lang.in: Update to use options.c and options.h.
612 * tree1.c: Include options.h not t-options.h.
613 (treelang_init_options): New.
614 (treelang_handle_option): Abort on unrecognized switch.
615 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
616 * treetree.h (treelang_init_options): New.
618 2003-06-12 Andreas Jaeger <aj@suse.de>
620 * treetree.c: Remove cl_options-count and cl_options.
622 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
624 * Make-lang.in: Update for option handling.
626 * tree1.c: Include opts.h and t-options.h.
627 (treelang_decode_option): Remove.
628 (treelang_handle_option): New.
629 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
630 (LANG_HOOKS_HANDLE_OPTION): Override.
631 * treetree.h (treelang_decode_option): Remove.
632 (treelang_handle_option): New.
634 2003-06-08 Andreas Jaeger <aj@suse.de>
636 * Make-lang.in: Update.
637 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
639 2003-06-08 Tim Josling <tej@melbpc.org.au>
641 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
643 2003-06-05 Jan Hubicka <jh@suse.cz>
645 * Make-lang.in: Add support for stageprofile and stagefeedback
647 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
649 * treetree.c (reswords): Remove __bounded__, __unbounded__.
651 2003-05-09 Tim Josling <tej@melbpc.org.au>
653 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
654 to link (needed by some front ends such as PPC).
656 * treetree.c (tree_code_create_function_initial): Fix long line.
657 Initialize tree_code_int_size and tree_code_char_size to
659 (tree_code_get_numeric_type): Add check that size1 parameter is
662 * parse.y: Fix extra long lines in prototypes.
664 * treelang.h: Fix extra long lines in macro definitions.
666 2003-05-07 Zack Weinberg <zack@codesourcery.com>
668 * Make-lang.in: Set -Wno-error for treelang/lex.o.
670 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
672 * Make-lang.in (treelang/tree1.o): Depends on input.h
673 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
674 * treelang.h: #include input.h.
676 (struct token_part): Remove lineno, add location.
677 * lex.l (next_tree_lineno): Remove.
678 (update_lineno_charno): Adjust.
679 (dump_lex_value): Adjust.
680 * parse.y (variable_def, function_prototype, function, statement,
681 if_statement, return, function_invocation, variable_ref): Adjust.
682 (print_token, yyerror, ensure_not_void): Adjust.
683 tree1.c (in_fname): Remove.
684 (treelang_init): Setup input_location.
685 (lookup_tree_name): Adjust.
686 (insert_tree_name): Adjust.
687 * treetree.c (tree_code_if_start): Replace filename and lineno
688 parms with loc. Adjust.
689 (tree_code_if_else, tree_code_if_end,
690 tree_code_create_function_prototype,
691 tree_code_create_function_initial,
692 tree_code_create_function_wrapup, tree_code_create_variable,
693 tree_code_output_expression_statement): Likewise.
694 * treetree.h (tree_code_if_start): Replace filename and lineno
696 (tree_code_if_else, tree_code_if_end,
697 tree_code_create_function_prototype,
698 tree_code_create_function_initial,
699 tree_code_create_function_wrapup, tree_code_create_variable,
700 tree_code_output_expression_statement): Likewise.
702 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
704 * tree1.c (treelang_init): Rename lineno to input_line.
706 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
708 * parse.y (make_plus_expression): New function.
709 (expression production): Use make_plus_expression for PLUS,
710 MINUS, ASSIGN and EQUALS.
711 * tree1.c (treelang_decode_option): Don't fall through to
712 options that start with a different character when an option
715 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
717 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
718 * treetree.c: Do not #include parse.h.
720 2003-03-21 Andreas Jaeger <aj@suse.de>
722 * treetree.c (cpp_create_reader): Follow prototype change in
725 2003-03-17 Andreas Jaeger <aj@suse.de>
727 * Make-lang.in (treelang.tags): Remove duplicate entry.
729 2003-03-15 Andreas Jaeger <aj@suse.de>
731 * treetree.c (cpp_handle_option): Remove.
733 2003-03-13 Andreas Jaeger <aj@suse.de>
735 * Make-lang.in (tree1$(exeext)): Fix previous patch.
737 2003-03-12 Andreas Jaeger <aj@suse.de>
739 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
741 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
743 * tree1.c (in_fname): Fix type.
744 (treelang_init): Update prototype and use of in_fname.
745 * treelang.h (in_fname): Fix type.
746 * treetree.c (tree_code_if_start, tree_code_if_else,
747 tree_code_if_end, tree_code_create_function_prototype,
748 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
749 tree_code_create_variable, tree_code_output_expression_statement)
750 : Fix prototypes and use of filenames.
751 * treetree.h: Similarly.
753 2003-03-05 Andreas Jaeger <aj@suse.de>
755 * treetree.c (init_c_lex): Follow change to c-common.h.
757 2003-03-04 Tom Tromey <tromey@redhat.com>
759 * Make-lang.in (treelang.tags): New target.
761 2003-03-01 Tim Josling <tej@melbpc.org.au>
763 Name clashes with rtl.h fixed.
765 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
770 2003-02-24 Tim Josling <tej@melbpc.org.au>
772 * parse.y (my_yylex): New - ensure lexer time is charged to
774 (yylex): redefine as invocation of my_yylex which then calls
775 flex-generated yylex.
776 (timevar.h): include.
778 2003-02-23 Tim Josling <tej@melbpc.org.au>
780 Fix garbage collection, add more error checking, force GC always.
782 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
783 (treelang/treetree.o): Depend on treelang/parse.h
785 * lex.l: include "treetree.h"
787 * lex.l (update_yylval): Allocate string using get_string so GC
790 * parse.y (function_prototype): Set category correctly so GC works.
791 (function): Set category in search so checking works.
792 (function_invocation): Ditto.
793 (variable_ref): Ditto.
795 * tree1.c (lookup_tree_name): Call sanity_check for passed
796 production and associated token and for symbol table entries.
798 * tree1.c (sanity_check): New, basic check that struct is valid.
800 * treelang.h: Prototype for sanity_check.
802 2003-01-27 Tim Josling <tej@melbpc.org.au>
804 * treetree.c (treelang_init_decl_processing): Change memory
805 allocation to use GC.
807 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
809 * treelang.texi: Update to GFDL 1.2.
811 2003-01-26 Michael Matz <matz@suse.de>
813 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
815 2003-01-14 Andreas Jaeger <aj@suse.de>
817 * Make-lang.in (treelang.install-info): Depend only on info files
818 if BUILD_INFO is set. Fix install rules.
821 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
823 * Make-lang.in (treelang.install.common.done,
824 treelang.install-info, treelang.uninstall): Prepend
825 $(DESTDIR) to destination paths in all (un)installation
828 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
830 * treelang.texi: Use @copying.
832 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
834 * treelang.texi: Include gcc-common.texi.
835 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
836 Depend on gcc-common.texi. Add other missing dependencies.
837 (treelang.dvi): Use texi2dvi.
839 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
841 * treelang.texi: Use @ifnottex instead of @ifinfo.
843 2002-11-30 Zack Weinberg <zack@codesourcery.com>
845 * lex.l: Move "%{" below copyright notice; get rid of "/*"
846 embedded in comment. Do not #undef IN_GCC; do not include
847 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
848 Do include coretypes.h and tm.h.
849 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
850 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
851 ansidecl.h. Do include coretypes.h and tm.h.
852 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
853 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
854 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
855 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
856 or ansidecl.h. Do include coretypes.h and tm.h.
857 * Make-lang.in: Update dependencies.
859 2002-09-09 Tim Josling <tej@melbpc.org.au>
861 * treetree.c (objc_is_id): New.
863 2002-08-16 Tim Josling <tej@melbpc.org.au>
865 Remove variables and functions now defined elsewhere.
867 * treetree.c (maybe_objc_comptypes): Remove.
868 (warn_format, warn_format_y2k, warn_format_extra_args,
869 warn_format_nonliteral, warn_format_security,
870 warn_format_zero_length): Remove.
871 (maybe_building_objc_message_expr): Remove.
872 (cpp_post_options): Remove.
873 (maybe_objc_check_decl): Remove.
874 (integer_types): Remove.
877 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
879 * treelang.c: Remove cpp_post_options.
881 2002-08-13 Tim Josling <tej@melbpc.org.au>
883 * parse.y: Provide dummy definition of rtx for use by config.h.
884 * Make-lang.in (treetree.o): Remove dependency on non-existent
885 gt-treelang-treelang.h.
886 (gt-treelang-treelang.h): Remove.
888 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
890 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
892 2002-07-11 Tim Josling <tej@melbpc.org.au>
894 Remove front end hard coding from gengtype.c.
896 * config-lang.in (gtfiles): Add files needed for this front
899 2002-07-09 Tim Josling <tej@melbpc.org.au>
901 Support new attributes regime (Fix for PR c++/7099).
903 * treetree.c (handle_format_attribute): Return NULL_TREE instead
905 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
906 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
907 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
909 2002-06-21 Andreas Jaeger <aj@suse.de>
911 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
912 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
914 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
916 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
919 2002-06-10 Tim Josling <tej@melbpc.org.au>
923 * Make-lang.in (check-treelang). Add. Remove direct dependency of
924 'check' on 'treelang.check' as redundant.
926 PCH Garbage collection regime (gengtypes.c) phase 1.
928 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
929 gt-treelang-treelang.h gtype-treelang.h.
930 (gt-treelang-tree1.h) Depend on s-gtype.
931 (gt-treelang-treelang.h) Depend on s-gtype.
932 (gtype-treelang.h) Depend on s-gtype.
934 * config-lang.in (gtfiles): Define.
936 * lex.l (main): Remove '#if 0' dead code.
937 (main): Move undef of IN_GCC so define of tree typedef works.
938 (all): Replace token and production by prod_token_parm_item.
941 (all): Replace token and production by prod_token_parm_item.
943 * tree1.c (main): Remove include of "output.h".
944 (symbol_table): Add GTY details.
945 (symbol_table_ggc): Remove.
946 (treelang_init): Remove root definitions for garbage collection.
947 (mark_production_used): Remove.
948 (mark_token_used): Remove.
949 (main, at end): include generated garage collection routines.
951 * treelang.h (category_enum ): Add parameter_category.
952 (all): Replace token and production and parameters by union
953 prod_token_parm_item containing production_part, token_part,
955 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
956 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
957 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
958 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
962 (tm_p.h): Do not include.
963 (ansidecl.h): Move include after config.h.
964 (treelang.h): Include it.
966 (all): Replace token, production and parameter by prod_token_parm_item.
967 (tree_parameter_list): Move to treelang.h as part of
968 prod_token_parm_item.
969 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
970 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
971 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
972 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
975 2002-05-19 Tim Josling <tej@melbpc.org.au>
977 * treetree.c (warn_format_zero_length): Add.
979 2002-05-14 Tim Josling <tej@melbpc.org.au>
981 * Make-lang.in: Fix build for .info files, add target for manpages.
982 A bug report and a suggested patch came from Magnus Fromreide
983 <magfr@lysator.liu.se>.
985 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
987 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
989 2002-05-11 Tim Josling <tej@melbpc.org.au>
991 * treetree.c: (cpp_define) Add.
992 (cpp_get_callbacks) Add.
994 2002-05-07 Tim Josling <tej@melbpc.org.au>
996 * treetree.c: (cpp_get_options) Add.
998 2002-05-06 Tim Josling <tej@melbpc.org.au>
1002 2002-05-05 Tim Josling <tej@melbpc.org.au>
1004 * Updated for gcc3.2 experimental. Major changes throughout.
1006 2002-03-31 Tim Josling <tej@melbpc.org.au>
1008 * Make-lang.in: Changes so build and check work more reliably
1010 2001-07-30 Tim Josling <tej@melbpc.org.au>
1013 * treelang.texi: updates based on feedback
1015 2001-06-11 Tim Josling <tej@melbpc.org.au>
1017 * all (all) Revamp code to conform to GCC coding standards, fix
1018 typos in texi files.
1020 2001-05-11 Tim Josling <tej@melbpc.org.au>
1022 Create the new language.