1 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4 * Make-lang.in (tree1): Add $(GMPLIBS).
6 2007-11-26 Andreas Krebbel <krebbel1@de.ibm.com>
9 * treetree.c (tree_code_create_function_wrapup): Pass 'false'
10 for the new allocate_struct_function parameter.
12 2007-09-12 Jan Hubicka <jh@suse.cz>
14 * treetree.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
15 (treelang_expand_function): Kill.
17 2007-09-06 Tom Tromey <tromey@redhat.com>
19 * tree1.c (treelang_init): Update.
20 (treelang_parse_file): Update.
21 (treelang_parse_file): Update.
22 (treelang_parse_file): Update.
24 (update_lineno_charno): Likewise.
26 2007-09-05 Sandra Loosemore <sandra@codesourcery.com>
28 * treetree.c (tree_code_create_function_wrapup): Use set_cfun.
30 2007-08-21 Paul Brook <paul@codesourcery.com>
31 Nathan Sidwell <nathan@codesourcery.com>
32 Mark Mitchell <mark@codesourcery.com>
33 Joseph Myers <joseph@codesourcery.com>
35 * tree1.c (treelang_handle_option): Use pkgversion_string.
36 * treelang.texi (which-treelang): Define to use VERSION_PACKAGE.
38 2007-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
40 * lex.l (update_yylval): Constify.
41 * treelang.h (struct token_part, struct parameter_part):
43 * treetree.c (tree_code_create_function_prototype,
44 tree_code_create_variable, tree_code_get_integer_value):
46 * treetree.h (tree_code_get_integer_value,
47 tree_code_create_function_prototype, tree_code_create_variable):
50 2007-07-25 Richard Guenther <rguenther@suse.de>
52 * treetree.c (tree_code_generate_return): RETURN_EXPRs
55 2007-07-17 Nick Clifton <nickc@redhat.com>
57 * parse.y: Change copyright header to refer to version 3 of the
58 GNU General Public License and to point readers at the COPYING3
62 * lang-specs.h: Likewise.
63 * treelang.h: Likewise.
64 * config-lang.in: Likewise.
65 * tree-convert.c: Likewise.
66 * treetree.c: Likewise.
68 * Make-lang.in: Likewise.
69 * treetree.h: Likewise.
72 2007-06-11 Rafael Avila de Espindola <espindola@google.com>
74 * treetree.c (tree_lang_signed_type): Remove.
75 (LANG_HOOKS_SIGNED_TYPE): Remove.
77 2007-05-14 Rafael Avila de Espindola <espindola@google.com>
79 * treetree.c (tree_lang_unsigned_type): Remove.
80 (LANG_HOOKS_UNSIGNED_TYPE): Remove.
82 2007-03-30 Rafael Avila de Espindola <espindola@google.com>
84 * treetree.c (tree_lang_signed_or_unsigned_type): Remove.
85 (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE) Remove.
87 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
89 * Make-lang.in: Add install-pdf target as copied from
92 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com>
94 * treelang.texi: Standardize title page, remove version number
97 2006-10-23 Rafael Avila de Espindola <rafael.espindola@gmail.com>
99 * treetree.c (builtin_function): Remove.
101 2006-10-10 Brooks Moses <bmoses@stanford.edu>
103 * Make-lang.in: Added "treelang.pdf" target support.
105 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
107 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
109 2006-06-17 Karl Berry <karl@gnu.org>
111 * treelang.texi (@dircategory): Use "Software development"
112 instead of "Programming", following the Free Software Directory.
114 2006-06-06 Mike Stump <mrs@apple.com>
116 * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid
117 installing during build.
119 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
121 * Make-lang.in: Rename htmldir to gcc_htmldir.
123 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
126 * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
129 2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
131 * Make-lang.in (treelang/treetree.o): Add dependency on
134 2006-04-22 Matthias Klose <doko@debian.org>
136 * Make-lang.in (treelang.check): Don't set and pass TRANSFORM.
138 2006-03-29 Carlos O'Donell <caros@codesourcery.com>
140 * Make-lang.in: Rename docdir to gcc_docdir.
142 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
144 * Make-lang.in (.phony): Remove TREELANG.
147 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
149 * spec.c (lang_specific_driver): Update copyright notice date.
151 2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
153 * spec.c (lang_specific_spec_functions): Remove.
155 2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
157 * Make-lang.in (treelang.distdir): Remove.
159 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
161 * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
163 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
165 * Make-lang.in: Remove all dependencies on s-gtype.
167 2005-12-05 Richard Guenther <rguenther@suse.de>
169 * treetree.c (tree_code_if_start, tree_code_create_variable,
170 tree_code_generate_return, tree_code_get_expression,
171 tree_code_add_parameter): Use fold_convert where appropriate.
173 2005-11-07 James A. Morrison <phython@gcc.gnu.org>
176 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
177 treelang_attribute_table.
178 (handle_attribute): New function.
179 (treelang_attribute_table): New attribute table.
181 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
183 * parse.y : Changed pointer declaration from "type* var" to "type *var"
184 Removed trailing space. Wrap long lines.
186 2005-09-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
188 * parse.y : Fixed two compile warnings in "error" and "warning"
189 invocations. Removed trailing periods in messages. Decapitalized the
192 2005-08-07 James A. Morrison <phython@gcc.gnu.org>
194 * tree-convert.c (convert): Use fold_build1 instead of
197 2005-08-06 James A. Morrison <phython@gcc.gnu.org>
200 * Make-lang.in: Remove old testing cruft.
202 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
204 * all files: Update FSF address in copyright headers.
206 2005-06-15 James A. Morrison <phython@gcc.gnu.org>
208 * parse.y (function_invocation): Reverse parameter list.
209 * treetree.c (tree_code_get_expression): Don't reverse parameter list.
211 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>
213 * treetree.c (tree_code_get_expression): Call build_function_call_expr
214 to build function calls.
216 2005-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
218 * treelang/lex.l, treelang/parse.y: Don't include errors.h and
220 * treelang/Make-lang.in: Updates dependencies.
222 2005-05-02 Andrew Pinski <pinskia@physics.uc.edu>
225 * parse.y (parameters_opt): Add semicolon at the end.
227 2005-04-29 Tom Tromey <tromey@redhat.com>
229 * treetree.c (poplevel): Updated for change to build_block.
231 2005-04-23 DJ Delorie <dj@redhat.com>
233 * parse.y: Adjust warning() callers.
235 2005-04-11 Richard Sandiford <rsandifo@redhat.com>
237 * lang.opt: Refer to the GCC internals documentation instead of c.opt.
239 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>
242 * lang-spec.c: Simplify @treelang to what the other
245 2005-04-01 Kazu Hirata <kazu@cs.umass.edu>
247 * treelang/treelang.texi: Fix typos.
248 * treelang/treetree.c: Fix comment typos.
250 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
252 * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
253 tree_lang_truthvalue_conversion): Remove.
254 * tree-convert.c: Don't call truthvalue_conversion.
256 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
258 * treetree.c (tree_code_if_start): Use fold_buildN.
259 (tree_code_create_variable): Likewise.
260 (tree_code_generate_return): Likewise.
261 (tree_code_get_expression): Likewise.
262 (tree_code_add_parameter): Likewise.
264 2005-03-22 James A. Morrison <phython@gcc.gnu.org>
266 * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
269 2005-03-15 Zack Weinberg <zack@codesourcery.com>
271 * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
273 2005-03-06 James A. Morrison <phython@gcc.gnu.org>
276 * Make-lang.in (gtreelang, treelang/spec.o): New targets.
279 2005-02-27 Kazu Hirata <kazu@cs.umass.edu>
281 * treelang.texi: Fix a typo.
283 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
285 * parse.y (function_invocation, variable-ref, make_plus_expression):
286 Pass location to tree_code_get_expression.
287 * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
288 (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
289 set EXPR_LOCATION on ret1.
290 * treetree.h (tree_code_get_expression): Take the location of the
291 expression as an argument.
293 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
295 * treelang.texi: Treelang does have warnings.
296 * treetree.c (tree_code_create_function_prototype): Don't set
297 TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
298 as few times as needed on the function declaration.
299 (tree_code_create_function_initial): Don't set TREE_USED,
300 TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
301 (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
302 (tree_code_get_expression): Set TREE_USED for variable references
305 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
307 * parse.y: Do comparisons as the type of the first expression.
308 * treetree.c (tree_code_get_integer_value): Build integer constants
309 with the proper type.
311 2005-02-26 James A. Morrison <phython@gcc.gnu.org>
313 * Make-lang.in: Remove commented out code.
314 * lang-specs.h: Always pass -dumpbase to tree1.
316 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>
318 * treelang.texi: Remove extra contribution notice.
319 Split up some run-on sentences. Document function parameters
320 as optional. Indicate automatic variables can now be at any scope.
321 Mention literals are only signed if they are preceded by a unary
322 plus or minus. Clarify interoperability with C.
324 2005-02-25 James A. Morrison <phython@gcc.gnu.org>
326 * treelang.texi: Fix whitespacing.
328 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
331 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
332 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
333 rest_of_decl_compilation on static variables.
334 (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
337 2005-02-24 James A. Morrison <phython@gcc.gnu.org>
340 * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
341 Move function parameters check from ...
342 (function): ...Here. Update call to tree_code_create_function_initial.
343 (function_invocation): Use expressions_with_commas_opt instead of
344 expressions_with_commas.
345 (expressions_with_commas_opt): New rule.
346 * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
347 for function parameters.
348 (tree_code_create_function_initial): Remove PARMS parameter.
349 Don't create PARM_DECLs for function parameters.
350 * treetree.h (tree_code_create_function_initial): Remove PARMS
353 2005-02-23 Kazu Hirata <kazu@cs.umass.edu>
355 * parse.y: Update copyright.
357 2005-02-13 James A. Morrison <phython@gcc.gnu.org>
359 * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
360 scalar integer types.
362 2005-02-09 Richard Henderson <rth@redhat.com>
364 * treetree.c (treelang_init_decl_processing): Call
365 build_common_builtin_nodes.
367 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
369 * treelang.texi: Don't use local treelang version number. Don't
370 give last update date.
372 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
374 * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
376 2005-02-01 James A. Morrison <phython@gcc.gnu.org>
378 * parse.y: Reformat comments.
379 * treetree.c: Likewise.
380 * treetree.h: Likewise.
382 2004-10-24 James A. Morrison <phython@gcc.gnu.org>
384 * treetree.c (tree_code_generate_return): Wrap param declaration in
387 2004-10-05 Zack Weinberg <zack@codesourcery.com>
389 * parse.y: Add list of diagnostic messages to insulate
390 translation template from version of yacc/bison used to
393 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
396 * lex.l: Include input.h and errors.h
397 (lineno): New variable.
398 (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
400 Set column position with LINEMAP_POSITION_FOR_COLUMN.
401 Use error instead of fprintf.
402 Set input_location with the value returned by linemap_start_line when
403 USE_MAPPED_LOCATION is defined.
404 (dump_lex_value): Use LOCATION_LINE.
405 * parse.y: Include errors.h.
406 Use error and warning instead of fprintf.
407 (return): Move exp to rule scope and always set to $2. Test against
409 (init): Set $$ to $2.
410 (print_token): Use LOCATION_LINE.
411 * tree1.c (treelang_init): Call treelang_init_decl_processing last.
412 Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
414 (treelang_parse_file): Always start at line one.
415 Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
417 Leave main_input_filename when done parsing the input.
418 (insert_tree_name): Use error instead of fprintf.
419 * treetree.c (tree_code_get_expression): Wrap long line.
420 (tree_mark_addressable): Use %qD to print out DECLs.
422 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
424 * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
426 * treetree.c: Likewise.
428 2004-10-02 James A. Morrison <phython@gcc.gnu.org>
430 * lex.l: Remove random whitespace.
431 * parse.y: Reformat copyright notice. Indent declarations.
432 Wrap long lines, unwrap short lines.
433 * tree1.c: Reformat copyright notice. Wrap long lines.
434 Remove random whitespace.
435 (lookup_tree_name): Use LOCATION_LINE.
436 * treetree.c: Reformat copyright notice. Wrap long lines.
437 Remove random whitespace.
439 2004-10-01 James A. Morrison <phython@gcc.gnu.org>
441 * parse.y (ELSE): Set tok to $1.
442 * treelang.texi: Wrap comments in @r{}. Indent example comments.
443 Use gcc when refering to the command line or website. Update function
446 2004-10-01 Jan Hubicka <jh@suse.cz>
448 * treetree.c (treeland_expand_function): Update call of
449 tree_rest_of_compilation.
451 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com>
452 Zack Weinberg <zack@codesourcery.com>
454 * treetree.c: Update for new tree-class enumeration constants.
456 2004-09-15 Zack Weinberg <zack@codesourcery.com>
458 * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
460 2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
462 * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
464 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
466 * treelang/treetree.c (treelang_init_decl_processing): Adjust
467 build_common_tree_nodes call.
469 2004-08-14 Nathan Sidwell <nathan@codesourcery.com>
471 * treetree.c (tree_code_get_integer_value): Use build_int_cst.
473 2004-07-31 James A. Morrison <phython@gcc.gnu.org>
475 * Make-lang.in (TREE_BE_LIBS): Remove.
476 (tree1): Depend on BACKEND and LIBDEPS. Use BACKEND and LIBS instead
478 * parse.y: Add variable_defs_opt before statements_opt.
479 Use tree_code_get_type instead of get_type_for_numeric_type.
481 (parameters_opt): New rule.
482 (function_prototype): Use parameters_opt.
483 (return): Remove calls to print_token in error cases. Use VOID_TYPE.
484 (check_type_match): Use VOID_TYPE.
485 * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
486 * tree1.c: Include version.h and cgraph.h
487 (treelang_parse_file): Call cgraph_finalize_compilation_unit and
489 * treelang.h (item): Remove extraneous GTY.
490 * treetree.h (get_type_for_numeric_type): Remove.
491 * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
492 function.h, and cgraph.h. Don't include rtl.h
493 (keep_level_p): Remove.
494 (tree_push_atomic_type_decl): Remove.
495 (get_type_for_numeric_type): Remove.
496 (tree_code_get_numeric_type): Remove.
497 (global_bindings_p): Make static.
498 (getdecls): Likewise.
499 (insert_block): Likewise.
500 (tree_code_if_start): Create a COND_EXPR and add it to the tree
501 instead of creating rtl.
502 (tree_code_if_else): Create a BIND_EXPR if any variables were created
504 (tree_code_end_if): Likewise.
505 (tree_code_create_function_prototype): Use tree_code_get_type.
506 Don't use SET_DECL_ASSEMBLER_NAME.
507 (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
508 DECL_IGNORING_P on RESULT_DECL. Use tree_code_get_type. Don't call
509 layout_decl on RESULT_DECL. Don't call rtl expand functions.
510 (tree_code_create_function_wrapup): Don't call rtl expand functions.
511 Create a BIND_EXPR for each function. Dump original and gimplified
512 copies of the function tree. Gimplify function.
513 (tree_code_create_variable): Use tree_code_get_type. Don't call
514 layout_decl or expand_decl. Fold CONVERT_EXPRs.
515 (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
516 Add RETURN_EXPR to the current statement list. Don't call rtl expand
518 (tree_code_output_expression_statement): Append CODE to current
520 (tree_code_get_expression): Fold expressions. Build a pointer to
521 a FUNCTION_TYPE intead of the called functions return type.
522 (struct binding_level): Add statement list STMTS.
523 (getstmtlist): New Function.
524 (pushlevel): Make static. Allocate an empty statement list.
525 (poplevel): Make static. Don't clear BLOCK_NODE's BLOCK_VARS.
526 Don't use DECL_ASSEMBLER_NAME.
527 (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
528 (treelang_init_decl_processing): Define basic types after unused types.
529 Don't call tree_push_atomic_type_decl.
530 (builtin_function): Don't call make_decl_rtl.
531 (treelang_expand_function). New Function.
533 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
535 * treetree.c (set_block): Remove.
536 (struct binding_level): Remove block_created_by_back_end.
537 (clear_binding_level): Likewise.
538 (tree_code_create_function_initial,
539 tree_code_create_function_wrapup): Call pushlevel and poplevel
540 directly rather than through hooks.
541 (poplevel): Don't handle block_created_by_back_end.
543 2004-04-07 Richard Henderson <rth@redhat.com>
545 * treetree.c (tree_mark_addressable): Don't put_var_into_stack.
547 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
549 * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
552 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk>
554 * treelang.texi: Update link to "G++ and GCC".
556 2004-02-20 Richard Henderson <rth@redhat.com>
558 * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
560 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
562 * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
564 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
566 * Make-lang.in: Replace $(docdir) with doc.
567 (treelang.info, treelang.srcinfo): New rules.
568 (treelang.man, treelang.man): Dummy entries.
570 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
572 * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
573 (treelang/parse.o, treelang/lex.o): Look for sources in build
574 directory. Use implicit rule.
575 (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
577 (treelang.srcextra): Copy above back to source directory if requested.
579 2004-01-07 Zack Weinberg <zack@codesourcery.com>
581 * parse.y (yyerror): Mark the definition static.
583 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
585 * lex.l: Add \t as a whitespace character.
586 * treelang.texi (Lexical Syntax): Document a tab as whitespace.
588 * treelang.texi (What is GNU Treelang?): Fix a typo.
589 (Lexical Syntax): Create an itemize list of keywords. Add commas to
590 paragraph defining names.
592 2003-11-26 Jason Merrill <jason@redhat.com>
594 * Make-lang.in (treelang.tags): Create TAGS.sub files in each
595 directory and TAGS files that include them for each front end.
597 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
599 * .cvsignore: Delete.
601 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
603 * Make-lang.in (treelang.extraclean): Delete.
605 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
607 * Make-lang.in: Remove obsolete comment.
609 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
611 * Make-lang.in (dvi): Move targets to $(docobjdir).
612 (treelang.dvi): Simplify rule and adjust target.
613 (treelang.info): Simplify rule.
614 (parse.o): Correct dependencies.
615 (TREE_EXE): Delete doubled suffix append.
617 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
619 * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
622 2003-10-21 Kelley Cook <kcook@gcc.gnu.org>
624 * Make-lang.in (parse.o): Honor $(parsedir).
627 (parse.c, parse.h): Likewise.
628 ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
631 2003-10-20 Mark Mitchell <mark@codesourcery.com>
633 * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
636 * Make-lang.in (info): Use docobjdir.
637 ($(srcdir)/treelang/treelang.info): Replace with ...
638 ($(docobjdir)/treelang/treelang.info): ... this.
639 (install-info): New target.
641 2003-10-12 Andreas Jaeger <aj@suse.de>
643 * Make-lang.in (treelang.install-info): Remove reference to
645 (treelang.): Removed.
647 2003-10-06 Mark Mitchell <mark@codesourcery.com>
649 * Make-lang.in (treelang.info): Replace with ...
651 * Make-lang.in (treelang.dvi): Replace with ...
654 2003-09-21 Richard Henderson <rth@redhat.com>
656 * treetree.c: Revert.
658 2003-09-21 Richard Henderson <rth@redhat.com>
660 * treetree.c: Update for DECL_SOURCE_LOCATION rename and
663 2003-07-28 Andreas Jaeger <aj@suse.de>
665 * treetree.c: Convert remaining K&R prototypes to ISO C90.
668 * tree-convert.c: Likewise.
670 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
672 * treetree.c: Remove unnecessary casts.
674 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
676 * lang-options.h: Remove.
677 * lang.opt: Document some options. Remove --help.
678 * tree1.c (treelang_handle_option): Remove OPT__help case.
680 2003-07-12 Andreas Jaeger <aj@suse.de>
682 * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
684 2003-07-10 Neil Booth <neil@daikokuya.co.uk>
686 * Make-lang.in: Update.
687 * tree1.c: Don't include c-common.h.
688 (c_language): Remove.
690 2003-07-10 Fergus Henderson <fjh@cs.mu.oz.au>
691 Steven Bosscher <steven@gcc.gnu.org>
693 * tree-convert.c: New file.
694 * treetree.c: Don't include c-tree.h. Include target.h.
695 (struct lang_identifier, union lang_tree_node, struct lang_type,
696 struct lang_function): New, minimal language-specific datastructs.
697 (tree_lang_truthvalue_conversion, tree_mark_addressable,
698 tree_lang_type_for_size, tree_lang_type_for_mode,
699 tree_lang_unsigned_type, tree_lang_signed_type,
700 tree_lang_signed_or_unsigned): New functions.
701 (LANG_HOOKS_*): Don't use C front end langhooks. Use new functions.
702 (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
703 pushdecl, getdecls, kept_level_p, tree_push_type_decl,
704 tree_push_atomic_type_decl): New functions.
705 (struct resword, struct reswords): Remove.
706 * Make-lang.in: Update. Don't depend on C front end objects.
707 * config-lang.in: Likewise.
709 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
711 * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
712 tree_code_if_end, tree_code_create_function_initial,
713 tree_code_create_function_wrapup, tree_code_generate_return,
714 tree_code_output_expression_statement): Adjust emit_line_note
717 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
719 * Make-lang.in: Replace PWD with PWD_COMMAND.
721 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
723 * tree1.c (treelang_init_options): Update prototype.
724 * treelang.h (treelang_init_options): Update prototype.
726 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
728 * Make-lang.in: Update.
729 * tree1.c: Include c-common.h. Define c_language.
731 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
733 * treetree.c (tree_code_create_function_wrapup): Adjust
734 expand_function_end call.
736 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
738 * treetree.c (build_stmt): Remove VPARAMS.
739 (pedwarn_c99): Likewise.
741 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
743 * lang.opt: Declare Treelang. Update.
744 * tree1.c (treelang_init_options): Update.
746 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
748 * treetree.c (tree_code_create_function_initial): Adjust
749 init_function_start call.
751 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
753 * Make-lang.in: Update to use options.c and options.h.
754 * tree1.c: Include options.h not t-options.h.
755 (treelang_init_options): New.
756 (treelang_handle_option): Abort on unrecognized switch.
757 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
758 * treetree.h (treelang_init_options): New.
760 2003-06-12 Andreas Jaeger <aj@suse.de>
762 * treetree.c: Remove cl_options-count and cl_options.
764 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
766 * Make-lang.in: Update for option handling.
768 * tree1.c: Include opts.h and t-options.h.
769 (treelang_decode_option): Remove.
770 (treelang_handle_option): New.
771 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
772 (LANG_HOOKS_HANDLE_OPTION): Override.
773 * treetree.h (treelang_decode_option): Remove.
774 (treelang_handle_option): New.
776 2003-06-08 Andreas Jaeger <aj@suse.de>
778 * Make-lang.in: Update.
779 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
781 2003-06-08 Tim Josling <tej@melbpc.org.au>
783 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
785 2003-06-05 Jan Hubicka <jh@suse.cz>
787 * Make-lang.in: Add support for stageprofile and stagefeedback
789 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
791 * treetree.c (reswords): Remove __bounded__, __unbounded__.
793 2003-05-09 Tim Josling <tej@melbpc.org.au>
795 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
796 to link (needed by some front ends such as PPC).
798 * treetree.c (tree_code_create_function_initial): Fix long line.
799 Initialize tree_code_int_size and tree_code_char_size to
801 (tree_code_get_numeric_type): Add check that size1 parameter is
804 * parse.y: Fix extra long lines in prototypes.
806 * treelang.h: Fix extra long lines in macro definitions.
808 2003-05-07 Zack Weinberg <zack@codesourcery.com>
810 * Make-lang.in: Set -Wno-error for treelang/lex.o.
812 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
814 * Make-lang.in (treelang/tree1.o): Depends on input.h
815 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
816 * treelang.h: #include input.h.
818 (struct token_part): Remove lineno, add location.
819 * lex.l (next_tree_lineno): Remove.
820 (update_lineno_charno): Adjust.
821 (dump_lex_value): Adjust.
822 * parse.y (variable_def, function_prototype, function, statement,
823 if_statement, return, function_invocation, variable_ref): Adjust.
824 (print_token, yyerror, ensure_not_void): Adjust.
825 tree1.c (in_fname): Remove.
826 (treelang_init): Setup input_location.
827 (lookup_tree_name): Adjust.
828 (insert_tree_name): Adjust.
829 * treetree.c (tree_code_if_start): Replace filename and lineno
830 parms with loc. Adjust.
831 (tree_code_if_else, tree_code_if_end,
832 tree_code_create_function_prototype,
833 tree_code_create_function_initial,
834 tree_code_create_function_wrapup, tree_code_create_variable,
835 tree_code_output_expression_statement): Likewise.
836 * treetree.h (tree_code_if_start): Replace filename and lineno
838 (tree_code_if_else, tree_code_if_end,
839 tree_code_create_function_prototype,
840 tree_code_create_function_initial,
841 tree_code_create_function_wrapup, tree_code_create_variable,
842 tree_code_output_expression_statement): Likewise.
844 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
846 * tree1.c (treelang_init): Rename lineno to input_line.
848 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
850 * parse.y (make_plus_expression): New function.
851 (expression production): Use make_plus_expression for PLUS,
852 MINUS, ASSIGN and EQUALS.
853 * tree1.c (treelang_decode_option): Don't fall through to
854 options that start with a different character when an option
857 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
859 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
860 * treetree.c: Do not #include parse.h.
862 2003-03-21 Andreas Jaeger <aj@suse.de>
864 * treetree.c (cpp_create_reader): Follow prototype change in
867 2003-03-17 Andreas Jaeger <aj@suse.de>
869 * Make-lang.in (treelang.tags): Remove duplicate entry.
871 2003-03-15 Andreas Jaeger <aj@suse.de>
873 * treetree.c (cpp_handle_option): Remove.
875 2003-03-13 Andreas Jaeger <aj@suse.de>
877 * Make-lang.in (tree1$(exeext)): Fix previous patch.
879 2003-03-12 Andreas Jaeger <aj@suse.de>
881 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
883 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
885 * tree1.c (in_fname): Fix type.
886 (treelang_init): Update prototype and use of in_fname.
887 * treelang.h (in_fname): Fix type.
888 * treetree.c (tree_code_if_start, tree_code_if_else,
889 tree_code_if_end, tree_code_create_function_prototype,
890 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
891 tree_code_create_variable, tree_code_output_expression_statement)
892 : Fix prototypes and use of filenames.
893 * treetree.h: Similarly.
895 2003-03-05 Andreas Jaeger <aj@suse.de>
897 * treetree.c (init_c_lex): Follow change to c-common.h.
899 2003-03-04 Tom Tromey <tromey@redhat.com>
901 * Make-lang.in (treelang.tags): New target.
903 2003-03-01 Tim Josling <tej@melbpc.org.au>
905 Name clashes with rtl.h fixed.
907 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
912 2003-02-24 Tim Josling <tej@melbpc.org.au>
914 * parse.y (my_yylex): New - ensure lexer time is charged to
916 (yylex): redefine as invocation of my_yylex which then calls
917 flex-generated yylex.
918 (timevar.h): include.
920 2003-02-23 Tim Josling <tej@melbpc.org.au>
922 Fix garbage collection, add more error checking, force GC always.
924 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
925 (treelang/treetree.o): Depend on treelang/parse.h
927 * lex.l: include "treetree.h"
929 * lex.l (update_yylval): Allocate string using get_string so GC
932 * parse.y (function_prototype): Set category correctly so GC works.
933 (function): Set category in search so checking works.
934 (function_invocation): Ditto.
935 (variable_ref): Ditto.
937 * tree1.c (lookup_tree_name): Call sanity_check for passed
938 production and associated token and for symbol table entries.
940 * tree1.c (sanity_check): New, basic check that struct is valid.
942 * treelang.h: Prototype for sanity_check.
944 2003-01-27 Tim Josling <tej@melbpc.org.au>
946 * treetree.c (treelang_init_decl_processing): Change memory
947 allocation to use GC.
949 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
951 * treelang.texi: Update to GFDL 1.2.
953 2003-01-26 Michael Matz <matz@suse.de>
955 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
957 2003-01-14 Andreas Jaeger <aj@suse.de>
959 * Make-lang.in (treelang.install-info): Depend only on info files
960 if BUILD_INFO is set. Fix install rules.
963 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
965 * Make-lang.in (treelang.install.common.done,
966 treelang.install-info, treelang.uninstall): Prepend
967 $(DESTDIR) to destination paths in all (un)installation
970 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
972 * treelang.texi: Use @copying.
974 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
976 * treelang.texi: Include gcc-common.texi.
977 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
978 Depend on gcc-common.texi. Add other missing dependencies.
979 (treelang.dvi): Use texi2dvi.
981 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
983 * treelang.texi: Use @ifnottex instead of @ifinfo.
985 2002-11-30 Zack Weinberg <zack@codesourcery.com>
987 * lex.l: Move "%{" below copyright notice; get rid of "/*"
988 embedded in comment. Do not #undef IN_GCC; do not include
989 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
990 Do include coretypes.h and tm.h.
991 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
992 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
993 ansidecl.h. Do include coretypes.h and tm.h.
994 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
995 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
996 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
997 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
998 or ansidecl.h. Do include coretypes.h and tm.h.
999 * Make-lang.in: Update dependencies.
1001 2002-09-09 Tim Josling <tej@melbpc.org.au>
1003 * treetree.c (objc_is_id): New.
1005 2002-08-16 Tim Josling <tej@melbpc.org.au>
1007 Remove variables and functions now defined elsewhere.
1009 * treetree.c (maybe_objc_comptypes): Remove.
1010 (warn_format, warn_format_y2k, warn_format_extra_args,
1011 warn_format_nonliteral, warn_format_security,
1012 warn_format_zero_length): Remove.
1013 (maybe_building_objc_message_expr): Remove.
1014 (cpp_post_options): Remove.
1015 (maybe_objc_check_decl): Remove.
1016 (integer_types): Remove.
1019 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
1021 * treelang.c: Remove cpp_post_options.
1023 2002-08-13 Tim Josling <tej@melbpc.org.au>
1025 * parse.y: Provide dummy definition of rtx for use by config.h.
1026 * Make-lang.in (treetree.o): Remove dependency on non-existent
1027 gt-treelang-treelang.h.
1028 (gt-treelang-treelang.h): Remove.
1030 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
1032 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
1034 2002-07-11 Tim Josling <tej@melbpc.org.au>
1036 Remove front end hard coding from gengtype.c.
1038 * config-lang.in (gtfiles): Add files needed for this front
1041 2002-07-09 Tim Josling <tej@melbpc.org.au>
1043 Support new attributes regime (Fix for PR c++/7099).
1045 * treetree.c (handle_format_attribute): Return NULL_TREE instead
1047 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
1048 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
1049 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
1051 2002-06-21 Andreas Jaeger <aj@suse.de>
1053 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
1054 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
1056 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
1058 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
1061 2002-06-10 Tim Josling <tej@melbpc.org.au>
1065 * Make-lang.in (check-treelang). Add. Remove direct dependency of
1066 'check' on 'treelang.check' as redundant.
1068 PCH Garbage collection regime (gengtypes.c) phase 1.
1070 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
1071 gt-treelang-treelang.h gtype-treelang.h.
1072 (gt-treelang-tree1.h) Depend on s-gtype.
1073 (gt-treelang-treelang.h) Depend on s-gtype.
1074 (gtype-treelang.h) Depend on s-gtype.
1076 * config-lang.in (gtfiles): Define.
1078 * lex.l (main): Remove '#if 0' dead code.
1079 (main): Move undef of IN_GCC so define of tree typedef works.
1080 (all): Replace token and production by prod_token_parm_item.
1083 (all): Replace token and production by prod_token_parm_item.
1085 * tree1.c (main): Remove include of "output.h".
1086 (symbol_table): Add GTY details.
1087 (symbol_table_ggc): Remove.
1088 (treelang_init): Remove root definitions for garbage collection.
1089 (mark_production_used): Remove.
1090 (mark_token_used): Remove.
1091 (main, at end): include generated garage collection routines.
1093 * treelang.h (category_enum ): Add parameter_category.
1094 (all): Replace token and production and parameters by union
1095 prod_token_parm_item containing production_part, token_part,
1097 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1098 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1099 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1100 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
1104 (tm_p.h): Do not include.
1105 (ansidecl.h): Move include after config.h.
1106 (treelang.h): Include it.
1108 (all): Replace token, production and parameter by prod_token_parm_item.
1109 (tree_parameter_list): Move to treelang.h as part of
1110 prod_token_parm_item.
1111 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1112 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1113 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1114 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
1117 2002-05-19 Tim Josling <tej@melbpc.org.au>
1119 * treetree.c (warn_format_zero_length): Add.
1121 2002-05-14 Tim Josling <tej@melbpc.org.au>
1123 * Make-lang.in: Fix build for .info files, add target for manpages.
1124 A bug report and a suggested patch came from Magnus Fromreide
1125 <magfr@lysator.liu.se>.
1127 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1129 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
1131 2002-05-11 Tim Josling <tej@melbpc.org.au>
1133 * treetree.c: (cpp_define) Add.
1134 (cpp_get_callbacks) Add.
1136 2002-05-07 Tim Josling <tej@melbpc.org.au>
1138 * treetree.c: (cpp_get_options) Add.
1140 2002-05-06 Tim Josling <tej@melbpc.org.au>
1144 2002-05-05 Tim Josling <tej@melbpc.org.au>
1146 * Updated for gcc3.2 experimental. Major changes throughout.
1148 2002-03-31 Tim Josling <tej@melbpc.org.au>
1150 * Make-lang.in: Changes so build and check work more reliably
1152 2001-07-30 Tim Josling <tej@melbpc.org.au>
1155 * treelang.texi: updates based on feedback
1157 2001-06-11 Tim Josling <tej@melbpc.org.au>
1159 * all (all) Revamp code to conform to GCC coding standards, fix
1160 typos in texi files.
1162 2001-05-11 Tim Josling <tej@melbpc.org.au>
1164 Create the new language.