1 2007-05-13 Release Manager
5 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com>
7 * treelang.texi: Standardize title page, remove version number
10 2006-10-10 Brooks Moses <bmoses@stanford.edu>
12 * Make-lang.in: Added "treelang.pdf" target support.
14 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
16 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
18 2006-06-17 Karl Berry <karl@gnu.org>
20 * treelang.texi (@dircategory): Use "Software development"
21 instead of "Programming", following the Free Software Directory.
23 2006-06-06 Mike Stump <mrs@apple.com>
25 * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid
26 installing during build.
28 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
30 * Make-lang.in: Rename htmldir to gcc_htmldir.
32 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
35 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
38 2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
40 * Make-lang.in (treelang/treetree.o): Add dependency on
43 2006-04-22 Matthias Klose <doko@debian.org>
45 * Make-lang.in (treelang.check): Don't set and pass TRANSFORM.
47 2006-03-29 Carlos O'Donell <caros@codesourcery.com>
49 * Make-lang.in: Rename docdir to gcc_docdir.
51 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53 * Make-lang.in (.phony): Remove TREELANG.
56 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
58 * spec.c (lang_specific_driver): Update copyright notice date.
60 2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
62 * spec.c (lang_specific_spec_functions): Remove.
64 2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66 * Make-lang.in (treelang.distdir): Remove.
68 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
70 * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
72 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
74 * Make-lang.in: Remove all dependencies on s-gtype.
76 2005-12-05 Richard Guenther <rguenther@suse.de>
78 * treetree.c (tree_code_if_start, tree_code_create_variable,
79 tree_code_generate_return, tree_code_get_expression,
80 tree_code_add_parameter): Use fold_convert where appropriate.
82 2005-11-07 James A. Morrison <phython@gcc.gnu.org>
85 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
86 treelang_attribute_table.
87 (handle_attribute): New function.
88 (treelang_attribute_table): New attribute table.
90 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
92 * parse.y : Changed pointer declaration from "type* var" to "type *var"
93 Removed trailing space. Wrap long lines.
95 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
97 * parse.y : Fixed two compile warnings in "error" and "warning"
98 invocations. Removed trailing periods in messages. Decapitalized the
101 2005-08-07 James A. Morrison <phython@gcc.gnu.org>
103 * tree-convert.c (convert): Use fold_build1 instead of
106 2005-08-06 James A. Morrison <phython@gcc.gnu.org>
109 * Make-lang.in: Remove old testing cruft.
111 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
113 * all files: Update FSF address in copyright headers.
115 2005-06-15 James A. Morrison <phython@gcc.gnu.org>
117 * parse.y (function_invocation): Reverse parameter list.
118 * treetree.c (tree_code_get_expression): Don't reverse parameter list.
120 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>
122 * treetree.c (tree_code_get_expression): Call build_function_call_expr
123 to build function calls.
125 2005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
127 * treelang/lex.l, treelang/parse.y: Don't include errors.h and
129 * treelang/Make-lang.in: Updates dependencies.
131 2005-05-02 Andrew Pinski <pinskia@physics.uc.edu>
134 * parse.y (parameters_opt): Add semicolon at the end.
136 2005-04-29 Tom Tromey <tromey@redhat.com>
138 * treetree.c (poplevel): Updated for change to build_block.
140 2005-04-23 DJ Delorie <dj@redhat.com>
142 * parse.y: Adjust warning() callers.
144 2005-04-11 Richard Sandiford <rsandifo@redhat.com>
146 * lang.opt: Refer to the GCC internals documentation instead of c.opt.
148 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>
151 * lang-spec.c: Simplify @treelang to what the other
154 2005-04-01 Kazu Hirata <kazu@cs.umass.edu>
156 * treelang/treelang.texi: Fix typos.
157 * treelang/treetree.c: Fix comment typos.
159 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
161 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
162 tree_lang_truthvalue_conversion): Remove.
163 * tree-convert.c: Don't call truthvalue_conversion.
165 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
167 * treetree.c (tree_code_if_start): Use fold_buildN.
168 (tree_code_create_variable): Likewise.
169 (tree_code_generate_return): Likewise.
170 (tree_code_get_expression): Likewise.
171 (tree_code_add_parameter): Likewise.
173 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
175 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
178 2005-03-15 Zack Weinberg <zack@codesourcery.com>
180 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
182 2005-03-06 James A. Morrison <phython@gcc.gnu.org>
185 * Make-lang.in (gtreelang, treelang/spec.o): New targets.
188 2005-02-27 Kazu Hirata <kazu@cs.umass.edu>
190 * treelang.texi: Fix a typo.
192 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
194 * parse.y (function_invocation, variable-ref, make_plus_expression):
195 Pass location to tree_code_get_expression.
196 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
197 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
198 set EXPR_LOCATION on ret1.
199 * treetree.h (tree_code_get_expression): Take the location of the
200 expression as an argument.
202 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
204 * treelang.texi: Treelang does have warnings.
205 * treetree.c (tree_code_create_function_prototype): Don't set
206 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
207 as few times as needed on the function declaration.
208 (tree_code_create_function_initial): Don't set TREE_USED,
209 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
210 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
211 (tree_code_get_expression): Set TREE_USED for variable references
214 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
216 * parse.y: Do comparisons as the type of the first expression.
217 * treetree.c (tree_code_get_integer_value): Build integer constants
218 with the proper type.
220 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
222 * Make-lang.in: Remove commented out code.
223 * lang-specs.h: Always pass -dumpbase to tree1.
225 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
227 * treelang.texi: Remove extra contribution notice.
228 Split up some run-on sentences. Document function parameters
229 as optional. Indicate automatic variables can now be at any scope.
230 Mention literals are only signed if they are preceded by a unary
231 plus or minus. Clarify interoperability with C.
233 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
235 * treelang.texi: Fix whitespacing.
237 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
240 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
241 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
242 rest_of_decl_compilation on static variables.
243 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
246 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
249 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
250 Move function parameters check from ...
251 (function): ...Here. Update call to tree_code_create_function_initial.
252 (function_invocation): Use expressions_with_commas_opt instead of
253 expressions_with_commas.
254 (expressions_with_commas_opt): New rule.
255 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
256 for function parameters.
257 (tree_code_create_function_initial): Remove PARMS parameter.
258 Don't create PARM_DECLs for function parameters.
259 * treetree.h (tree_code_create_function_initial): Remove PARMS
262 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
264 * parse.y: Update copyright.
266 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
268 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
269 scalar integer types.
271 2005-02-09 Richard Henderson <rth@redhat.com>
273 * treetree.c (treelang_init_decl_processing): Call
274 build_common_builtin_nodes.
276 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
278 * treelang.texi: Don't use local treelang version number. Don't
279 give last update date.
281 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
283 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
285 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
287 * parse.y: Reformat comments.
288 * treetree.c: Likewise.
289 * treetree.h: Likewise.
291 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
293 * treetree.c (tree_code_generate_return): Wrap param declaration in
296 2004-10-05 Zack Weinberg <zack@codesourcery.com>
298 * parse.y: Add list of diagnostic messages to insulate
299 translation template from version of yacc/bison used to
302 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
305 * lex.l: Include input.h and errors.h
306 (lineno): New variable.
307 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
309 Set column position with LINEMAP_POSITION_FOR_COLUMN.
310 Use error instead of fprintf.
311 Set input_location with the value returned by linemap_start_line when
312 USE_MAPPED_LOCATION is defined.
313 (dump_lex_value): Use LOCATION_LINE.
314 * parse.y: Include errors.h.
315 Use error and warning instead of fprintf.
316 (return): Move exp to rule scope and always set to $2. Test against
318 (init): Set $$ to $2.
319 (print_token): Use LOCATION_LINE.
320 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
321 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
323 (treelang_parse_file): Always start at line one.
324 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
326 Leave main_input_filename when done parsing the input.
327 (insert_tree_name): Use error instead of fprintf.
328 * treetree.c (tree_code_get_expression): Wrap long line.
329 (tree_mark_addressable): Use %qD to print out DECLs.
331 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
333 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
335 * treetree.c: Likewise.
337 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
339 * lex.l: Remove random whitespace.
340 * parse.y: Reformat copyright notice. Indent declarations.
341 Wrap long lines, unwrap short lines.
342 * tree1.c: Reformat copyright notice. Wrap long lines.
343 Remove random whitespace.
344 (lookup_tree_name): Use LOCATION_LINE.
345 * treetree.c: Reformat copyright notice. Wrap long lines.
346 Remove random whitespace.
348 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
350 * parse.y (ELSE): Set tok to $1.
351 * treelang.texi: Wrap comments in @r{}. Indent example comments.
352 Use gcc when refering to the command line or website. Update function
355 2004-10-01 Jan Hubicka <jh@suse.cz>
357 * treetree.c (treeland_expand_function): Update call of
358 tree_rest_of_compilation.
360 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
361 Zack Weinberg <zack@codesourcery.com>
363 * treetree.c: Update for new tree-class enumeration constants.
365 2004-09-15 Zack Weinberg <zack@codesourcery.com>
367 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
369 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
371 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
373 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
375 * treelang/treetree.c (treelang_init_decl_processing): Adjust
376 build_common_tree_nodes call.
378 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
380 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
382 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
384 * Make-lang.in (TREE_BE_LIBS): Remove.
385 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
387 * parse.y: Add variable_defs_opt before statements_opt.
388 Use tree_code_get_type instead of get_type_for_numeric_type.
390 (parameters_opt): New rule.
391 (function_prototype): Use parameters_opt.
392 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
393 (check_type_match): Use VOID_TYPE.
394 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
395 * tree1.c: Include version.h and cgraph.h
396 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
398 * treelang.h (item): Remove extraneous GTY.
399 * treetree.h (get_type_for_numeric_type): Remove.
400 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
401 function.h, and cgraph.h. Don't include rtl.h
402 (keep_level_p): Remove.
403 (tree_push_atomic_type_decl): Remove.
404 (get_type_for_numeric_type): Remove.
405 (tree_code_get_numeric_type): Remove.
406 (global_bindings_p): Make static.
407 (getdecls): Likewise.
408 (insert_block): Likewise.
409 (tree_code_if_start): Create a COND_EXPR and add it to the tree
410 instead of creating rtl.
411 (tree_code_if_else): Create a BIND_EXPR if any variables were created
413 (tree_code_end_if): Likewise.
414 (tree_code_create_function_prototype): Use tree_code_get_type.
415 Don't use SET_DECL_ASSEMBLER_NAME.
416 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
417 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
418 layout_decl on RESULT_DECL. Don't call rtl expand functions.
419 (tree_code_create_function_wrapup): Don't call rtl expand functions.
420 Create a BIND_EXPR for each function. Dump original and gimplified
421 copies of the function tree. Gimplify function.
422 (tree_code_create_variable): Use tree_code_get_type. Don't call
423 layout_decl or expand_decl. Fold CONVERT_EXPRs.
424 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
425 Add RETURN_EXPR to the current statement list. Don't call rtl expand
427 (tree_code_output_expression_statement): Append CODE to current
429 (tree_code_get_expression): Fold expressions. Build a pointer to
430 a FUNCTION_TYPE intead of the called functions return type.
431 (struct binding_level): Add statement list STMTS.
432 (getstmtlist): New Function.
433 (pushlevel): Make static. Allocate an empty statement list.
434 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
435 Don't use DECL_ASSEMBLER_NAME.
436 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
437 (treelang_init_decl_processing): Define basic types after unused types.
438 Don't call tree_push_atomic_type_decl.
439 (builtin_function): Don't call make_decl_rtl.
440 (treelang_expand_function). New Function.
442 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
444 * treetree.c (set_block): Remove.
445 (struct binding_level): Remove block_created_by_back_end.
446 (clear_binding_level): Likewise.
447 (tree_code_create_function_initial,
448 tree_code_create_function_wrapup): Call pushlevel and poplevel
449 directly rather than through hooks.
450 (poplevel): Don't handle block_created_by_back_end.
452 2004-04-07 Richard Henderson <rth@redhat.com>
454 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
456 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
458 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
461 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
463 * treelang.texi: Update link to "G++ and GCC".
465 2004-02-20 Richard Henderson <rth@redhat.com>
467 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
469 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
471 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
473 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
475 * Make-lang.in: Replace $(docdir) with doc.
476 (treelang.info, treelang.srcinfo): New rules.
477 (treelang.man, treelang.man): Dummy entries.
479 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
481 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
482 (treelang/parse.o, treelang/lex.o): Look for sources in build
483 directory. Use implicit rule.
484 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
486 (treelang.srcextra): Copy above back to source directory if requested.
488 2004-01-07 Zack Weinberg <zack@codesourcery.com>
490 * parse.y (yyerror): Mark the definition static.
492 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
494 * lex.l: Add \t as a whitespace character.
495 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
497 * treelang.texi (What is GNU Treelang?): Fix a typo.
498 (Lexical Syntax): Create an itemize list of keywords. Add commas to
499 paragraph defining names.
501 2003-11-26 Jason Merrill <jason@redhat.com>
503 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
504 directory and TAGS files that include them for each front end.
506 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
508 * .cvsignore: Delete.
510 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
512 * Make-lang.in (treelang.extraclean): Delete.
514 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
516 * Make-lang.in: Remove obsolete comment.
518 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
520 * Make-lang.in (dvi): Move targets to $(docobjdir).
521 (treelang.dvi): Simplify rule and adjust target.
522 (treelang.info): Simplify rule.
523 (parse.o): Correct dependencies.
524 (TREE_EXE): Delete doubled suffix append.
526 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
528 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
531 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
533 * Make-lang.in (parse.o): Honor $(parsedir).
536 (parse.c, parse.h): Likewise.
537 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
540 2003-10-20 Mark Mitchell <mark@codesourcery.com>
542 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
545 * Make-lang.in (info): Use docobjdir.
546 ($(srcdir)/treelang/treelang.info): Replace with ...
547 ($(docobjdir)/treelang/treelang.info): ... this.
548 (install-info): New target.
550 2003-10-12 Andreas Jaeger <aj@suse.de>
552 * Make-lang.in (treelang.install-info): Remove reference to
554 (treelang.): Removed.
556 2003-10-06 Mark Mitchell <mark@codesourcery.com>
558 * Make-lang.in (treelang.info): Replace with ...
560 * Make-lang.in (treelang.dvi): Replace with ...
563 2003-09-21 Richard Henderson <rth@redhat.com>
565 * treetree.c: Revert.
567 2003-09-21 Richard Henderson <rth@redhat.com>
569 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
572 2003-07-28 Andreas Jaeger <aj@suse.de>
574 * treetree.c: Convert remaining K&R prototypes to ISO C90.
577 * tree-convert.c: Likewise.
579 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
581 * treetree.c: Remove unnecessary casts.
583 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
585 * lang-options.h: Remove.
586 * lang.opt: Document some options. Remove --help.
587 * tree1.c (treelang_handle_option): Remove OPT__help case.
589 2003-07-12 Andreas Jaeger <aj@suse.de>
591 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
593 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
595 * Make-lang.in: Update.
596 * tree1.c: Don't include c-common.h.
597 (c_language): Remove.
599 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
600 Steven Bosscher <steven@gcc.gnu.org>
602 * tree-convert.c: New file.
603 * treetree.c: Don't include c-tree.h. Include target.h.
604 (struct lang_identifier, union lang_tree_node, struct lang_type,
605 struct lang_function): New, minimal language-specific datastructs.
606 (tree_lang_truthvalue_conversion, tree_mark_addressable,
607 tree_lang_type_for_size, tree_lang_type_for_mode,
608 tree_lang_unsigned_type, tree_lang_signed_type,
609 tree_lang_signed_or_unsigned): New functions.
610 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
611 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
612 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
613 tree_push_atomic_type_decl): New functions.
614 (struct resword, struct reswords): Remove.
615 * Make-lang.in: Update. Don't depend on C front end objects.
616 * config-lang.in: Likewise.
618 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
620 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
621 tree_code_if_end, tree_code_create_function_initial,
622 tree_code_create_function_wrapup, tree_code_generate_return,
623 tree_code_output_expression_statement): Adjust emit_line_note
626 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
628 * Make-lang.in: Replace PWD with PWD_COMMAND.
630 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
632 * tree1.c (treelang_init_options): Update prototype.
633 * treelang.h (treelang_init_options): Update prototype.
635 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
637 * Make-lang.in: Update.
638 * tree1.c: Include c-common.h. Define c_language.
640 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
642 * treetree.c (tree_code_create_function_wrapup): Adjust
643 expand_function_end call.
645 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
647 * treetree.c (build_stmt): Remove VPARAMS.
648 (pedwarn_c99): Likewise.
650 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
652 * lang.opt: Declare Treelang. Update.
653 * tree1.c (treelang_init_options): Update.
655 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
657 * treetree.c (tree_code_create_function_initial): Adjust
658 init_function_start call.
660 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
662 * Make-lang.in: Update to use options.c and options.h.
663 * tree1.c: Include options.h not t-options.h.
664 (treelang_init_options): New.
665 (treelang_handle_option): Abort on unrecognized switch.
666 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
667 * treetree.h (treelang_init_options): New.
669 2003-06-12 Andreas Jaeger <aj@suse.de>
671 * treetree.c: Remove cl_options-count and cl_options.
673 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
675 * Make-lang.in: Update for option handling.
677 * tree1.c: Include opts.h and t-options.h.
678 (treelang_decode_option): Remove.
679 (treelang_handle_option): New.
680 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
681 (LANG_HOOKS_HANDLE_OPTION): Override.
682 * treetree.h (treelang_decode_option): Remove.
683 (treelang_handle_option): New.
685 2003-06-08 Andreas Jaeger <aj@suse.de>
687 * Make-lang.in: Update.
688 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
690 2003-06-08 Tim Josling <tej@melbpc.org.au>
692 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
694 2003-06-05 Jan Hubicka <jh@suse.cz>
696 * Make-lang.in: Add support for stageprofile and stagefeedback
698 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
700 * treetree.c (reswords): Remove __bounded__, __unbounded__.
702 2003-05-09 Tim Josling <tej@melbpc.org.au>
704 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
705 to link (needed by some front ends such as PPC).
707 * treetree.c (tree_code_create_function_initial): Fix long line.
708 Initialize tree_code_int_size and tree_code_char_size to
710 (tree_code_get_numeric_type): Add check that size1 parameter is
713 * parse.y: Fix extra long lines in prototypes.
715 * treelang.h: Fix extra long lines in macro definitions.
717 2003-05-07 Zack Weinberg <zack@codesourcery.com>
719 * Make-lang.in: Set -Wno-error for treelang/lex.o.
721 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
723 * Make-lang.in (treelang/tree1.o): Depends on input.h
724 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
725 * treelang.h: #include input.h.
727 (struct token_part): Remove lineno, add location.
728 * lex.l (next_tree_lineno): Remove.
729 (update_lineno_charno): Adjust.
730 (dump_lex_value): Adjust.
731 * parse.y (variable_def, function_prototype, function, statement,
732 if_statement, return, function_invocation, variable_ref): Adjust.
733 (print_token, yyerror, ensure_not_void): Adjust.
734 tree1.c (in_fname): Remove.
735 (treelang_init): Setup input_location.
736 (lookup_tree_name): Adjust.
737 (insert_tree_name): Adjust.
738 * treetree.c (tree_code_if_start): Replace filename and lineno
739 parms with loc. Adjust.
740 (tree_code_if_else, tree_code_if_end,
741 tree_code_create_function_prototype,
742 tree_code_create_function_initial,
743 tree_code_create_function_wrapup, tree_code_create_variable,
744 tree_code_output_expression_statement): Likewise.
745 * treetree.h (tree_code_if_start): Replace filename and lineno
747 (tree_code_if_else, tree_code_if_end,
748 tree_code_create_function_prototype,
749 tree_code_create_function_initial,
750 tree_code_create_function_wrapup, tree_code_create_variable,
751 tree_code_output_expression_statement): Likewise.
753 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
755 * tree1.c (treelang_init): Rename lineno to input_line.
757 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
759 * parse.y (make_plus_expression): New function.
760 (expression production): Use make_plus_expression for PLUS,
761 MINUS, ASSIGN and EQUALS.
762 * tree1.c (treelang_decode_option): Don't fall through to
763 options that start with a different character when an option
766 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
768 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
769 * treetree.c: Do not #include parse.h.
771 2003-03-21 Andreas Jaeger <aj@suse.de>
773 * treetree.c (cpp_create_reader): Follow prototype change in
776 2003-03-17 Andreas Jaeger <aj@suse.de>
778 * Make-lang.in (treelang.tags): Remove duplicate entry.
780 2003-03-15 Andreas Jaeger <aj@suse.de>
782 * treetree.c (cpp_handle_option): Remove.
784 2003-03-13 Andreas Jaeger <aj@suse.de>
786 * Make-lang.in (tree1$(exeext)): Fix previous patch.
788 2003-03-12 Andreas Jaeger <aj@suse.de>
790 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
792 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
794 * tree1.c (in_fname): Fix type.
795 (treelang_init): Update prototype and use of in_fname.
796 * treelang.h (in_fname): Fix type.
797 * treetree.c (tree_code_if_start, tree_code_if_else,
798 tree_code_if_end, tree_code_create_function_prototype,
799 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
800 tree_code_create_variable, tree_code_output_expression_statement)
801 : Fix prototypes and use of filenames.
802 * treetree.h: Similarly.
804 2003-03-05 Andreas Jaeger <aj@suse.de>
806 * treetree.c (init_c_lex): Follow change to c-common.h.
808 2003-03-04 Tom Tromey <tromey@redhat.com>
810 * Make-lang.in (treelang.tags): New target.
812 2003-03-01 Tim Josling <tej@melbpc.org.au>
814 Name clashes with rtl.h fixed.
816 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
821 2003-02-24 Tim Josling <tej@melbpc.org.au>
823 * parse.y (my_yylex): New - ensure lexer time is charged to
825 (yylex): redefine as invocation of my_yylex which then calls
826 flex-generated yylex.
827 (timevar.h): include.
829 2003-02-23 Tim Josling <tej@melbpc.org.au>
831 Fix garbage collection, add more error checking, force GC always.
833 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
834 (treelang/treetree.o): Depend on treelang/parse.h
836 * lex.l: include "treetree.h"
838 * lex.l (update_yylval): Allocate string using get_string so GC
841 * parse.y (function_prototype): Set category correctly so GC works.
842 (function): Set category in search so checking works.
843 (function_invocation): Ditto.
844 (variable_ref): Ditto.
846 * tree1.c (lookup_tree_name): Call sanity_check for passed
847 production and associated token and for symbol table entries.
849 * tree1.c (sanity_check): New, basic check that struct is valid.
851 * treelang.h: Prototype for sanity_check.
853 2003-01-27 Tim Josling <tej@melbpc.org.au>
855 * treetree.c (treelang_init_decl_processing): Change memory
856 allocation to use GC.
858 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
860 * treelang.texi: Update to GFDL 1.2.
862 2003-01-26 Michael Matz <matz@suse.de>
864 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
866 2003-01-14 Andreas Jaeger <aj@suse.de>
868 * Make-lang.in (treelang.install-info): Depend only on info files
869 if BUILD_INFO is set. Fix install rules.
872 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
874 * Make-lang.in (treelang.install.common.done,
875 treelang.install-info, treelang.uninstall): Prepend
876 $(DESTDIR) to destination paths in all (un)installation
879 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
881 * treelang.texi: Use @copying.
883 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
885 * treelang.texi: Include gcc-common.texi.
886 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
887 Depend on gcc-common.texi. Add other missing dependencies.
888 (treelang.dvi): Use texi2dvi.
890 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
892 * treelang.texi: Use @ifnottex instead of @ifinfo.
894 2002-11-30 Zack Weinberg <zack@codesourcery.com>
896 * lex.l: Move "%{" below copyright notice; get rid of "/*"
897 embedded in comment. Do not #undef IN_GCC; do not include
898 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
899 Do include coretypes.h and tm.h.
900 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
901 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
902 ansidecl.h. Do include coretypes.h and tm.h.
903 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
904 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
905 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
906 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
907 or ansidecl.h. Do include coretypes.h and tm.h.
908 * Make-lang.in: Update dependencies.
910 2002-09-09 Tim Josling <tej@melbpc.org.au>
912 * treetree.c (objc_is_id): New.
914 2002-08-16 Tim Josling <tej@melbpc.org.au>
916 Remove variables and functions now defined elsewhere.
918 * treetree.c (maybe_objc_comptypes): Remove.
919 (warn_format, warn_format_y2k, warn_format_extra_args,
920 warn_format_nonliteral, warn_format_security,
921 warn_format_zero_length): Remove.
922 (maybe_building_objc_message_expr): Remove.
923 (cpp_post_options): Remove.
924 (maybe_objc_check_decl): Remove.
925 (integer_types): Remove.
928 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
930 * treelang.c: Remove cpp_post_options.
932 2002-08-13 Tim Josling <tej@melbpc.org.au>
934 * parse.y: Provide dummy definition of rtx for use by config.h.
935 * Make-lang.in (treetree.o): Remove dependency on non-existent
936 gt-treelang-treelang.h.
937 (gt-treelang-treelang.h): Remove.
939 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
941 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
943 2002-07-11 Tim Josling <tej@melbpc.org.au>
945 Remove front end hard coding from gengtype.c.
947 * config-lang.in (gtfiles): Add files needed for this front
950 2002-07-09 Tim Josling <tej@melbpc.org.au>
952 Support new attributes regime (Fix for PR c++/7099).
954 * treetree.c (handle_format_attribute): Return NULL_TREE instead
956 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
957 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
958 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
960 2002-06-21 Andreas Jaeger <aj@suse.de>
962 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
963 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
965 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
967 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
970 2002-06-10 Tim Josling <tej@melbpc.org.au>
974 * Make-lang.in (check-treelang). Add. Remove direct dependency of
975 'check' on 'treelang.check' as redundant.
977 PCH Garbage collection regime (gengtypes.c) phase 1.
979 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
980 gt-treelang-treelang.h gtype-treelang.h.
981 (gt-treelang-tree1.h) Depend on s-gtype.
982 (gt-treelang-treelang.h) Depend on s-gtype.
983 (gtype-treelang.h) Depend on s-gtype.
985 * config-lang.in (gtfiles): Define.
987 * lex.l (main): Remove '#if 0' dead code.
988 (main): Move undef of IN_GCC so define of tree typedef works.
989 (all): Replace token and production by prod_token_parm_item.
992 (all): Replace token and production by prod_token_parm_item.
994 * tree1.c (main): Remove include of "output.h".
995 (symbol_table): Add GTY details.
996 (symbol_table_ggc): Remove.
997 (treelang_init): Remove root definitions for garbage collection.
998 (mark_production_used): Remove.
999 (mark_token_used): Remove.
1000 (main, at end): include generated garage collection routines.
1002 * treelang.h (category_enum ): Add parameter_category.
1003 (all): Replace token and production and parameters by union
1004 prod_token_parm_item containing production_part, token_part,
1006 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1007 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1008 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1009 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
1013 (tm_p.h): Do not include.
1014 (ansidecl.h): Move include after config.h.
1015 (treelang.h): Include it.
1017 (all): Replace token, production and parameter by prod_token_parm_item.
1018 (tree_parameter_list): Move to treelang.h as part of
1019 prod_token_parm_item.
1020 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1021 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1022 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1023 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
1026 2002-05-19 Tim Josling <tej@melbpc.org.au>
1028 * treetree.c (warn_format_zero_length): Add.
1030 2002-05-14 Tim Josling <tej@melbpc.org.au>
1032 * Make-lang.in: Fix build for .info files, add target for manpages.
1033 A bug report and a suggested patch came from Magnus Fromreide
1034 <magfr@lysator.liu.se>.
1036 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1038 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
1040 2002-05-11 Tim Josling <tej@melbpc.org.au>
1042 * treetree.c: (cpp_define) Add.
1043 (cpp_get_callbacks) Add.
1045 2002-05-07 Tim Josling <tej@melbpc.org.au>
1047 * treetree.c: (cpp_get_options) Add.
1049 2002-05-06 Tim Josling <tej@melbpc.org.au>
1053 2002-05-05 Tim Josling <tej@melbpc.org.au>
1055 * Updated for gcc3.2 experimental. Major changes throughout.
1057 2002-03-31 Tim Josling <tej@melbpc.org.au>
1059 * Make-lang.in: Changes so build and check work more reliably
1061 2001-07-30 Tim Josling <tej@melbpc.org.au>
1064 * treelang.texi: updates based on feedback
1066 2001-06-11 Tim Josling <tej@melbpc.org.au>
1068 * all (all) Revamp code to conform to GCC coding standards, fix
1069 typos in texi files.
1071 2001-05-11 Tim Josling <tej@melbpc.org.au>
1073 Create the new language.