1 2008-05-19 Release Manager
5 2008-02-01 Release Manager
9 2007-10-07 Release Manager
13 2007-08-29 Nick Clifton <nickc@redhat.com>
15 * parse.y: Change copyright header to refer to version 3 of the
16 GNU General Public License and to point readers at the COPYING3
17 file and the FSF's license web page.
20 * lang-specs.h: Likewise.
21 * treelang.h: Likewise.
22 * config-lang.in: Likewise.
23 * tree-convert.c: Likewise.
24 * treetree.c: Likewise.
26 * Make-lang.in: Likewise.
27 * treetree.h: Likewise.
30 2007-07-19 Release Manager
34 2007-05-13 Release Manager
38 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com>
40 * treelang.texi: Standardize title page, remove version number
43 2006-10-10 Brooks Moses <bmoses@stanford.edu>
45 * Make-lang.in: Added "treelang.pdf" target support.
47 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
49 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
51 2006-06-17 Karl Berry <karl@gnu.org>
53 * treelang.texi (@dircategory): Use "Software development"
54 instead of "Programming", following the Free Software Directory.
56 2006-06-06 Mike Stump <mrs@apple.com>
58 * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid
59 installing during build.
61 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
63 * Make-lang.in: Rename htmldir to gcc_htmldir.
65 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
68 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
71 2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
73 * Make-lang.in (treelang/treetree.o): Add dependency on
76 2006-04-22 Matthias Klose <doko@debian.org>
78 * Make-lang.in (treelang.check): Don't set and pass TRANSFORM.
80 2006-03-29 Carlos O'Donell <caros@codesourcery.com>
82 * Make-lang.in: Rename docdir to gcc_docdir.
84 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
86 * Make-lang.in (.phony): Remove TREELANG.
89 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
91 * spec.c (lang_specific_driver): Update copyright notice date.
93 2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
95 * spec.c (lang_specific_spec_functions): Remove.
97 2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
99 * Make-lang.in (treelang.distdir): Remove.
101 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
103 * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
105 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
107 * Make-lang.in: Remove all dependencies on s-gtype.
109 2005-12-05 Richard Guenther <rguenther@suse.de>
111 * treetree.c (tree_code_if_start, tree_code_create_variable,
112 tree_code_generate_return, tree_code_get_expression,
113 tree_code_add_parameter): Use fold_convert where appropriate.
115 2005-11-07 James A. Morrison <phython@gcc.gnu.org>
118 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
119 treelang_attribute_table.
120 (handle_attribute): New function.
121 (treelang_attribute_table): New attribute table.
123 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
125 * parse.y : Changed pointer declaration from "type* var" to "type *var"
126 Removed trailing space. Wrap long lines.
128 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
130 * parse.y : Fixed two compile warnings in "error" and "warning"
131 invocations. Removed trailing periods in messages. Decapitalized the
134 2005-08-07 James A. Morrison <phython@gcc.gnu.org>
136 * tree-convert.c (convert): Use fold_build1 instead of
139 2005-08-06 James A. Morrison <phython@gcc.gnu.org>
142 * Make-lang.in: Remove old testing cruft.
144 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
146 * all files: Update FSF address in copyright headers.
148 2005-06-15 James A. Morrison <phython@gcc.gnu.org>
150 * parse.y (function_invocation): Reverse parameter list.
151 * treetree.c (tree_code_get_expression): Don't reverse parameter list.
153 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>
155 * treetree.c (tree_code_get_expression): Call build_function_call_expr
156 to build function calls.
158 2005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
160 * treelang/lex.l, treelang/parse.y: Don't include errors.h and
162 * treelang/Make-lang.in: Updates dependencies.
164 2005-05-02 Andrew Pinski <pinskia@physics.uc.edu>
167 * parse.y (parameters_opt): Add semicolon at the end.
169 2005-04-29 Tom Tromey <tromey@redhat.com>
171 * treetree.c (poplevel): Updated for change to build_block.
173 2005-04-23 DJ Delorie <dj@redhat.com>
175 * parse.y: Adjust warning() callers.
177 2005-04-11 Richard Sandiford <rsandifo@redhat.com>
179 * lang.opt: Refer to the GCC internals documentation instead of c.opt.
181 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>
184 * lang-spec.c: Simplify @treelang to what the other
187 2005-04-01 Kazu Hirata <kazu@cs.umass.edu>
189 * treelang/treelang.texi: Fix typos.
190 * treelang/treetree.c: Fix comment typos.
192 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
194 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
195 tree_lang_truthvalue_conversion): Remove.
196 * tree-convert.c: Don't call truthvalue_conversion.
198 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
200 * treetree.c (tree_code_if_start): Use fold_buildN.
201 (tree_code_create_variable): Likewise.
202 (tree_code_generate_return): Likewise.
203 (tree_code_get_expression): Likewise.
204 (tree_code_add_parameter): Likewise.
206 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
208 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
211 2005-03-15 Zack Weinberg <zack@codesourcery.com>
213 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
215 2005-03-06 James A. Morrison <phython@gcc.gnu.org>
218 * Make-lang.in (gtreelang, treelang/spec.o): New targets.
221 2005-02-27 Kazu Hirata <kazu@cs.umass.edu>
223 * treelang.texi: Fix a typo.
225 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
227 * parse.y (function_invocation, variable-ref, make_plus_expression):
228 Pass location to tree_code_get_expression.
229 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
230 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
231 set EXPR_LOCATION on ret1.
232 * treetree.h (tree_code_get_expression): Take the location of the
233 expression as an argument.
235 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
237 * treelang.texi: Treelang does have warnings.
238 * treetree.c (tree_code_create_function_prototype): Don't set
239 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
240 as few times as needed on the function declaration.
241 (tree_code_create_function_initial): Don't set TREE_USED,
242 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
243 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
244 (tree_code_get_expression): Set TREE_USED for variable references
247 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
249 * parse.y: Do comparisons as the type of the first expression.
250 * treetree.c (tree_code_get_integer_value): Build integer constants
251 with the proper type.
253 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
255 * Make-lang.in: Remove commented out code.
256 * lang-specs.h: Always pass -dumpbase to tree1.
258 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
260 * treelang.texi: Remove extra contribution notice.
261 Split up some run-on sentences. Document function parameters
262 as optional. Indicate automatic variables can now be at any scope.
263 Mention literals are only signed if they are preceded by a unary
264 plus or minus. Clarify interoperability with C.
266 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
268 * treelang.texi: Fix whitespacing.
270 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
273 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
274 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
275 rest_of_decl_compilation on static variables.
276 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
279 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
282 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
283 Move function parameters check from ...
284 (function): ...Here. Update call to tree_code_create_function_initial.
285 (function_invocation): Use expressions_with_commas_opt instead of
286 expressions_with_commas.
287 (expressions_with_commas_opt): New rule.
288 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
289 for function parameters.
290 (tree_code_create_function_initial): Remove PARMS parameter.
291 Don't create PARM_DECLs for function parameters.
292 * treetree.h (tree_code_create_function_initial): Remove PARMS
295 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
297 * parse.y: Update copyright.
299 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
301 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
302 scalar integer types.
304 2005-02-09 Richard Henderson <rth@redhat.com>
306 * treetree.c (treelang_init_decl_processing): Call
307 build_common_builtin_nodes.
309 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
311 * treelang.texi: Don't use local treelang version number. Don't
312 give last update date.
314 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
316 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
318 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
320 * parse.y: Reformat comments.
321 * treetree.c: Likewise.
322 * treetree.h: Likewise.
324 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
326 * treetree.c (tree_code_generate_return): Wrap param declaration in
329 2004-10-05 Zack Weinberg <zack@codesourcery.com>
331 * parse.y: Add list of diagnostic messages to insulate
332 translation template from version of yacc/bison used to
335 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
338 * lex.l: Include input.h and errors.h
339 (lineno): New variable.
340 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
342 Set column position with LINEMAP_POSITION_FOR_COLUMN.
343 Use error instead of fprintf.
344 Set input_location with the value returned by linemap_start_line when
345 USE_MAPPED_LOCATION is defined.
346 (dump_lex_value): Use LOCATION_LINE.
347 * parse.y: Include errors.h.
348 Use error and warning instead of fprintf.
349 (return): Move exp to rule scope and always set to $2. Test against
351 (init): Set $$ to $2.
352 (print_token): Use LOCATION_LINE.
353 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
354 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
356 (treelang_parse_file): Always start at line one.
357 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
359 Leave main_input_filename when done parsing the input.
360 (insert_tree_name): Use error instead of fprintf.
361 * treetree.c (tree_code_get_expression): Wrap long line.
362 (tree_mark_addressable): Use %qD to print out DECLs.
364 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
366 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
368 * treetree.c: Likewise.
370 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
372 * lex.l: Remove random whitespace.
373 * parse.y: Reformat copyright notice. Indent declarations.
374 Wrap long lines, unwrap short lines.
375 * tree1.c: Reformat copyright notice. Wrap long lines.
376 Remove random whitespace.
377 (lookup_tree_name): Use LOCATION_LINE.
378 * treetree.c: Reformat copyright notice. Wrap long lines.
379 Remove random whitespace.
381 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
383 * parse.y (ELSE): Set tok to $1.
384 * treelang.texi: Wrap comments in @r{}. Indent example comments.
385 Use gcc when refering to the command line or website. Update function
388 2004-10-01 Jan Hubicka <jh@suse.cz>
390 * treetree.c (treeland_expand_function): Update call of
391 tree_rest_of_compilation.
393 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
394 Zack Weinberg <zack@codesourcery.com>
396 * treetree.c: Update for new tree-class enumeration constants.
398 2004-09-15 Zack Weinberg <zack@codesourcery.com>
400 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
402 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
404 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
406 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
408 * treelang/treetree.c (treelang_init_decl_processing): Adjust
409 build_common_tree_nodes call.
411 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
413 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
415 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
417 * Make-lang.in (TREE_BE_LIBS): Remove.
418 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
420 * parse.y: Add variable_defs_opt before statements_opt.
421 Use tree_code_get_type instead of get_type_for_numeric_type.
423 (parameters_opt): New rule.
424 (function_prototype): Use parameters_opt.
425 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
426 (check_type_match): Use VOID_TYPE.
427 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
428 * tree1.c: Include version.h and cgraph.h
429 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
431 * treelang.h (item): Remove extraneous GTY.
432 * treetree.h (get_type_for_numeric_type): Remove.
433 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
434 function.h, and cgraph.h. Don't include rtl.h
435 (keep_level_p): Remove.
436 (tree_push_atomic_type_decl): Remove.
437 (get_type_for_numeric_type): Remove.
438 (tree_code_get_numeric_type): Remove.
439 (global_bindings_p): Make static.
440 (getdecls): Likewise.
441 (insert_block): Likewise.
442 (tree_code_if_start): Create a COND_EXPR and add it to the tree
443 instead of creating rtl.
444 (tree_code_if_else): Create a BIND_EXPR if any variables were created
446 (tree_code_end_if): Likewise.
447 (tree_code_create_function_prototype): Use tree_code_get_type.
448 Don't use SET_DECL_ASSEMBLER_NAME.
449 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
450 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
451 layout_decl on RESULT_DECL. Don't call rtl expand functions.
452 (tree_code_create_function_wrapup): Don't call rtl expand functions.
453 Create a BIND_EXPR for each function. Dump original and gimplified
454 copies of the function tree. Gimplify function.
455 (tree_code_create_variable): Use tree_code_get_type. Don't call
456 layout_decl or expand_decl. Fold CONVERT_EXPRs.
457 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
458 Add RETURN_EXPR to the current statement list. Don't call rtl expand
460 (tree_code_output_expression_statement): Append CODE to current
462 (tree_code_get_expression): Fold expressions. Build a pointer to
463 a FUNCTION_TYPE intead of the called functions return type.
464 (struct binding_level): Add statement list STMTS.
465 (getstmtlist): New Function.
466 (pushlevel): Make static. Allocate an empty statement list.
467 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
468 Don't use DECL_ASSEMBLER_NAME.
469 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
470 (treelang_init_decl_processing): Define basic types after unused types.
471 Don't call tree_push_atomic_type_decl.
472 (builtin_function): Don't call make_decl_rtl.
473 (treelang_expand_function). New Function.
475 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
477 * treetree.c (set_block): Remove.
478 (struct binding_level): Remove block_created_by_back_end.
479 (clear_binding_level): Likewise.
480 (tree_code_create_function_initial,
481 tree_code_create_function_wrapup): Call pushlevel and poplevel
482 directly rather than through hooks.
483 (poplevel): Don't handle block_created_by_back_end.
485 2004-04-07 Richard Henderson <rth@redhat.com>
487 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
489 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
491 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
494 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
496 * treelang.texi: Update link to "G++ and GCC".
498 2004-02-20 Richard Henderson <rth@redhat.com>
500 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
502 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
504 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
506 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
508 * Make-lang.in: Replace $(docdir) with doc.
509 (treelang.info, treelang.srcinfo): New rules.
510 (treelang.man, treelang.man): Dummy entries.
512 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
514 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
515 (treelang/parse.o, treelang/lex.o): Look for sources in build
516 directory. Use implicit rule.
517 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
519 (treelang.srcextra): Copy above back to source directory if requested.
521 2004-01-07 Zack Weinberg <zack@codesourcery.com>
523 * parse.y (yyerror): Mark the definition static.
525 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
527 * lex.l: Add \t as a whitespace character.
528 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
530 * treelang.texi (What is GNU Treelang?): Fix a typo.
531 (Lexical Syntax): Create an itemize list of keywords. Add commas to
532 paragraph defining names.
534 2003-11-26 Jason Merrill <jason@redhat.com>
536 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
537 directory and TAGS files that include them for each front end.
539 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
541 * .cvsignore: Delete.
543 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
545 * Make-lang.in (treelang.extraclean): Delete.
547 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
549 * Make-lang.in: Remove obsolete comment.
551 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
553 * Make-lang.in (dvi): Move targets to $(docobjdir).
554 (treelang.dvi): Simplify rule and adjust target.
555 (treelang.info): Simplify rule.
556 (parse.o): Correct dependencies.
557 (TREE_EXE): Delete doubled suffix append.
559 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
561 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
564 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
566 * Make-lang.in (parse.o): Honor $(parsedir).
569 (parse.c, parse.h): Likewise.
570 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
573 2003-10-20 Mark Mitchell <mark@codesourcery.com>
575 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
578 * Make-lang.in (info): Use docobjdir.
579 ($(srcdir)/treelang/treelang.info): Replace with ...
580 ($(docobjdir)/treelang/treelang.info): ... this.
581 (install-info): New target.
583 2003-10-12 Andreas Jaeger <aj@suse.de>
585 * Make-lang.in (treelang.install-info): Remove reference to
587 (treelang.): Removed.
589 2003-10-06 Mark Mitchell <mark@codesourcery.com>
591 * Make-lang.in (treelang.info): Replace with ...
593 * Make-lang.in (treelang.dvi): Replace with ...
596 2003-09-21 Richard Henderson <rth@redhat.com>
598 * treetree.c: Revert.
600 2003-09-21 Richard Henderson <rth@redhat.com>
602 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
605 2003-07-28 Andreas Jaeger <aj@suse.de>
607 * treetree.c: Convert remaining K&R prototypes to ISO C90.
610 * tree-convert.c: Likewise.
612 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
614 * treetree.c: Remove unnecessary casts.
616 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
618 * lang-options.h: Remove.
619 * lang.opt: Document some options. Remove --help.
620 * tree1.c (treelang_handle_option): Remove OPT__help case.
622 2003-07-12 Andreas Jaeger <aj@suse.de>
624 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
626 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
628 * Make-lang.in: Update.
629 * tree1.c: Don't include c-common.h.
630 (c_language): Remove.
632 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
633 Steven Bosscher <steven@gcc.gnu.org>
635 * tree-convert.c: New file.
636 * treetree.c: Don't include c-tree.h. Include target.h.
637 (struct lang_identifier, union lang_tree_node, struct lang_type,
638 struct lang_function): New, minimal language-specific datastructs.
639 (tree_lang_truthvalue_conversion, tree_mark_addressable,
640 tree_lang_type_for_size, tree_lang_type_for_mode,
641 tree_lang_unsigned_type, tree_lang_signed_type,
642 tree_lang_signed_or_unsigned): New functions.
643 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
644 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
645 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
646 tree_push_atomic_type_decl): New functions.
647 (struct resword, struct reswords): Remove.
648 * Make-lang.in: Update. Don't depend on C front end objects.
649 * config-lang.in: Likewise.
651 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
653 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
654 tree_code_if_end, tree_code_create_function_initial,
655 tree_code_create_function_wrapup, tree_code_generate_return,
656 tree_code_output_expression_statement): Adjust emit_line_note
659 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
661 * Make-lang.in: Replace PWD with PWD_COMMAND.
663 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
665 * tree1.c (treelang_init_options): Update prototype.
666 * treelang.h (treelang_init_options): Update prototype.
668 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
670 * Make-lang.in: Update.
671 * tree1.c: Include c-common.h. Define c_language.
673 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
675 * treetree.c (tree_code_create_function_wrapup): Adjust
676 expand_function_end call.
678 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
680 * treetree.c (build_stmt): Remove VPARAMS.
681 (pedwarn_c99): Likewise.
683 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
685 * lang.opt: Declare Treelang. Update.
686 * tree1.c (treelang_init_options): Update.
688 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
690 * treetree.c (tree_code_create_function_initial): Adjust
691 init_function_start call.
693 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
695 * Make-lang.in: Update to use options.c and options.h.
696 * tree1.c: Include options.h not t-options.h.
697 (treelang_init_options): New.
698 (treelang_handle_option): Abort on unrecognized switch.
699 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
700 * treetree.h (treelang_init_options): New.
702 2003-06-12 Andreas Jaeger <aj@suse.de>
704 * treetree.c: Remove cl_options-count and cl_options.
706 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
708 * Make-lang.in: Update for option handling.
710 * tree1.c: Include opts.h and t-options.h.
711 (treelang_decode_option): Remove.
712 (treelang_handle_option): New.
713 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
714 (LANG_HOOKS_HANDLE_OPTION): Override.
715 * treetree.h (treelang_decode_option): Remove.
716 (treelang_handle_option): New.
718 2003-06-08 Andreas Jaeger <aj@suse.de>
720 * Make-lang.in: Update.
721 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
723 2003-06-08 Tim Josling <tej@melbpc.org.au>
725 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
727 2003-06-05 Jan Hubicka <jh@suse.cz>
729 * Make-lang.in: Add support for stageprofile and stagefeedback
731 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
733 * treetree.c (reswords): Remove __bounded__, __unbounded__.
735 2003-05-09 Tim Josling <tej@melbpc.org.au>
737 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
738 to link (needed by some front ends such as PPC).
740 * treetree.c (tree_code_create_function_initial): Fix long line.
741 Initialize tree_code_int_size and tree_code_char_size to
743 (tree_code_get_numeric_type): Add check that size1 parameter is
746 * parse.y: Fix extra long lines in prototypes.
748 * treelang.h: Fix extra long lines in macro definitions.
750 2003-05-07 Zack Weinberg <zack@codesourcery.com>
752 * Make-lang.in: Set -Wno-error for treelang/lex.o.
754 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
756 * Make-lang.in (treelang/tree1.o): Depends on input.h
757 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
758 * treelang.h: #include input.h.
760 (struct token_part): Remove lineno, add location.
761 * lex.l (next_tree_lineno): Remove.
762 (update_lineno_charno): Adjust.
763 (dump_lex_value): Adjust.
764 * parse.y (variable_def, function_prototype, function, statement,
765 if_statement, return, function_invocation, variable_ref): Adjust.
766 (print_token, yyerror, ensure_not_void): Adjust.
767 tree1.c (in_fname): Remove.
768 (treelang_init): Setup input_location.
769 (lookup_tree_name): Adjust.
770 (insert_tree_name): Adjust.
771 * treetree.c (tree_code_if_start): Replace filename and lineno
772 parms with loc. Adjust.
773 (tree_code_if_else, tree_code_if_end,
774 tree_code_create_function_prototype,
775 tree_code_create_function_initial,
776 tree_code_create_function_wrapup, tree_code_create_variable,
777 tree_code_output_expression_statement): Likewise.
778 * treetree.h (tree_code_if_start): Replace filename and lineno
780 (tree_code_if_else, tree_code_if_end,
781 tree_code_create_function_prototype,
782 tree_code_create_function_initial,
783 tree_code_create_function_wrapup, tree_code_create_variable,
784 tree_code_output_expression_statement): Likewise.
786 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
788 * tree1.c (treelang_init): Rename lineno to input_line.
790 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
792 * parse.y (make_plus_expression): New function.
793 (expression production): Use make_plus_expression for PLUS,
794 MINUS, ASSIGN and EQUALS.
795 * tree1.c (treelang_decode_option): Don't fall through to
796 options that start with a different character when an option
799 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
801 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
802 * treetree.c: Do not #include parse.h.
804 2003-03-21 Andreas Jaeger <aj@suse.de>
806 * treetree.c (cpp_create_reader): Follow prototype change in
809 2003-03-17 Andreas Jaeger <aj@suse.de>
811 * Make-lang.in (treelang.tags): Remove duplicate entry.
813 2003-03-15 Andreas Jaeger <aj@suse.de>
815 * treetree.c (cpp_handle_option): Remove.
817 2003-03-13 Andreas Jaeger <aj@suse.de>
819 * Make-lang.in (tree1$(exeext)): Fix previous patch.
821 2003-03-12 Andreas Jaeger <aj@suse.de>
823 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
825 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
827 * tree1.c (in_fname): Fix type.
828 (treelang_init): Update prototype and use of in_fname.
829 * treelang.h (in_fname): Fix type.
830 * treetree.c (tree_code_if_start, tree_code_if_else,
831 tree_code_if_end, tree_code_create_function_prototype,
832 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
833 tree_code_create_variable, tree_code_output_expression_statement)
834 : Fix prototypes and use of filenames.
835 * treetree.h: Similarly.
837 2003-03-05 Andreas Jaeger <aj@suse.de>
839 * treetree.c (init_c_lex): Follow change to c-common.h.
841 2003-03-04 Tom Tromey <tromey@redhat.com>
843 * Make-lang.in (treelang.tags): New target.
845 2003-03-01 Tim Josling <tej@melbpc.org.au>
847 Name clashes with rtl.h fixed.
849 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
854 2003-02-24 Tim Josling <tej@melbpc.org.au>
856 * parse.y (my_yylex): New - ensure lexer time is charged to
858 (yylex): redefine as invocation of my_yylex which then calls
859 flex-generated yylex.
860 (timevar.h): include.
862 2003-02-23 Tim Josling <tej@melbpc.org.au>
864 Fix garbage collection, add more error checking, force GC always.
866 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
867 (treelang/treetree.o): Depend on treelang/parse.h
869 * lex.l: include "treetree.h"
871 * lex.l (update_yylval): Allocate string using get_string so GC
874 * parse.y (function_prototype): Set category correctly so GC works.
875 (function): Set category in search so checking works.
876 (function_invocation): Ditto.
877 (variable_ref): Ditto.
879 * tree1.c (lookup_tree_name): Call sanity_check for passed
880 production and associated token and for symbol table entries.
882 * tree1.c (sanity_check): New, basic check that struct is valid.
884 * treelang.h: Prototype for sanity_check.
886 2003-01-27 Tim Josling <tej@melbpc.org.au>
888 * treetree.c (treelang_init_decl_processing): Change memory
889 allocation to use GC.
891 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
893 * treelang.texi: Update to GFDL 1.2.
895 2003-01-26 Michael Matz <matz@suse.de>
897 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
899 2003-01-14 Andreas Jaeger <aj@suse.de>
901 * Make-lang.in (treelang.install-info): Depend only on info files
902 if BUILD_INFO is set. Fix install rules.
905 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
907 * Make-lang.in (treelang.install.common.done,
908 treelang.install-info, treelang.uninstall): Prepend
909 $(DESTDIR) to destination paths in all (un)installation
912 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
914 * treelang.texi: Use @copying.
916 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
918 * treelang.texi: Include gcc-common.texi.
919 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
920 Depend on gcc-common.texi. Add other missing dependencies.
921 (treelang.dvi): Use texi2dvi.
923 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
925 * treelang.texi: Use @ifnottex instead of @ifinfo.
927 2002-11-30 Zack Weinberg <zack@codesourcery.com>
929 * lex.l: Move "%{" below copyright notice; get rid of "/*"
930 embedded in comment. Do not #undef IN_GCC; do not include
931 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
932 Do include coretypes.h and tm.h.
933 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
934 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
935 ansidecl.h. Do include coretypes.h and tm.h.
936 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
937 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
938 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
939 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
940 or ansidecl.h. Do include coretypes.h and tm.h.
941 * Make-lang.in: Update dependencies.
943 2002-09-09 Tim Josling <tej@melbpc.org.au>
945 * treetree.c (objc_is_id): New.
947 2002-08-16 Tim Josling <tej@melbpc.org.au>
949 Remove variables and functions now defined elsewhere.
951 * treetree.c (maybe_objc_comptypes): Remove.
952 (warn_format, warn_format_y2k, warn_format_extra_args,
953 warn_format_nonliteral, warn_format_security,
954 warn_format_zero_length): Remove.
955 (maybe_building_objc_message_expr): Remove.
956 (cpp_post_options): Remove.
957 (maybe_objc_check_decl): Remove.
958 (integer_types): Remove.
961 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
963 * treelang.c: Remove cpp_post_options.
965 2002-08-13 Tim Josling <tej@melbpc.org.au>
967 * parse.y: Provide dummy definition of rtx for use by config.h.
968 * Make-lang.in (treetree.o): Remove dependency on non-existent
969 gt-treelang-treelang.h.
970 (gt-treelang-treelang.h): Remove.
972 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
974 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
976 2002-07-11 Tim Josling <tej@melbpc.org.au>
978 Remove front end hard coding from gengtype.c.
980 * config-lang.in (gtfiles): Add files needed for this front
983 2002-07-09 Tim Josling <tej@melbpc.org.au>
985 Support new attributes regime (Fix for PR c++/7099).
987 * treetree.c (handle_format_attribute): Return NULL_TREE instead
989 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
990 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
991 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
993 2002-06-21 Andreas Jaeger <aj@suse.de>
995 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
996 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
998 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
1000 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
1003 2002-06-10 Tim Josling <tej@melbpc.org.au>
1007 * Make-lang.in (check-treelang). Add. Remove direct dependency of
1008 'check' on 'treelang.check' as redundant.
1010 PCH Garbage collection regime (gengtypes.c) phase 1.
1012 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
1013 gt-treelang-treelang.h gtype-treelang.h.
1014 (gt-treelang-tree1.h) Depend on s-gtype.
1015 (gt-treelang-treelang.h) Depend on s-gtype.
1016 (gtype-treelang.h) Depend on s-gtype.
1018 * config-lang.in (gtfiles): Define.
1020 * lex.l (main): Remove '#if 0' dead code.
1021 (main): Move undef of IN_GCC so define of tree typedef works.
1022 (all): Replace token and production by prod_token_parm_item.
1025 (all): Replace token and production by prod_token_parm_item.
1027 * tree1.c (main): Remove include of "output.h".
1028 (symbol_table): Add GTY details.
1029 (symbol_table_ggc): Remove.
1030 (treelang_init): Remove root definitions for garbage collection.
1031 (mark_production_used): Remove.
1032 (mark_token_used): Remove.
1033 (main, at end): include generated garage collection routines.
1035 * treelang.h (category_enum ): Add parameter_category.
1036 (all): Replace token and production and parameters by union
1037 prod_token_parm_item containing production_part, token_part,
1039 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1040 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1041 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1042 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
1046 (tm_p.h): Do not include.
1047 (ansidecl.h): Move include after config.h.
1048 (treelang.h): Include it.
1050 (all): Replace token, production and parameter by prod_token_parm_item.
1051 (tree_parameter_list): Move to treelang.h as part of
1052 prod_token_parm_item.
1053 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1054 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1055 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1056 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
1059 2002-05-19 Tim Josling <tej@melbpc.org.au>
1061 * treetree.c (warn_format_zero_length): Add.
1063 2002-05-14 Tim Josling <tej@melbpc.org.au>
1065 * Make-lang.in: Fix build for .info files, add target for manpages.
1066 A bug report and a suggested patch came from Magnus Fromreide
1067 <magfr@lysator.liu.se>.
1069 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1071 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
1073 2002-05-11 Tim Josling <tej@melbpc.org.au>
1075 * treetree.c: (cpp_define) Add.
1076 (cpp_get_callbacks) Add.
1078 2002-05-07 Tim Josling <tej@melbpc.org.au>
1080 * treetree.c: (cpp_get_options) Add.
1082 2002-05-06 Tim Josling <tej@melbpc.org.au>
1086 2002-05-05 Tim Josling <tej@melbpc.org.au>
1088 * Updated for gcc3.2 experimental. Major changes throughout.
1090 2002-03-31 Tim Josling <tej@melbpc.org.au>
1092 * Make-lang.in: Changes so build and check work more reliably
1094 2001-07-30 Tim Josling <tej@melbpc.org.au>
1097 * treelang.texi: updates based on feedback
1099 2001-06-11 Tim Josling <tej@melbpc.org.au>
1101 * all (all) Revamp code to conform to GCC coding standards, fix
1102 typos in texi files.
1104 2001-05-11 Tim Josling <tej@melbpc.org.au>
1106 Create the new language.