Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / treelang / ChangeLog
blob1373ceb06b64b71a127b4a4c9904ef05d8dd846f
1 2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
3         * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
5 2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7         * Make-lang.in: Remove all dependencies on s-gtype.
9 2005-12-05  Richard Guenther  <rguenther@suse.de>
11         * treetree.c (tree_code_if_start, tree_code_create_variable,
12         tree_code_generate_return, tree_code_get_expression,
13         tree_code_add_parameter): Use fold_convert where appropriate.
15 2005-11-07  James A. Morrison  <phython@gcc.gnu.org>
17         PR treelang/24066
18         * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
19         treelang_attribute_table.
20         (handle_attribute): New function.
21         (treelang_attribute_table): New attribute table.
23 2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25         * parse.y : Changed pointer declaration from "type* var" to "type *var"
26         Removed trailing space.  Wrap long lines.
28 2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30         * parse.y :  Fixed two compile warnings in "error" and "warning"
31         invocations.  Removed trailing periods in messages.  Decapitalized the
32         first word of each.
34 2005-08-07  James A. Morrison  <phython@gcc.gnu.org>
36         * tree-convert.c (convert): Use fold_build1 instead of
37         fold (build1.
39 2005-08-06  James A. Morrison  <phython@gcc.gnu.org>
41         PR treelang/23072
42         * Make-lang.in: Remove old testing cruft.
44 2005-06-25  Kelley Cook  <kcook@gcc.gnu.org>
46         * all files: Update FSF address in copyright headers.
48 2005-06-15  James A. Morrison  <phython@gcc.gnu.org>
50         * parse.y (function_invocation): Reverse parameter list.
51         * treetree.c (tree_code_get_expression): Don't reverse parameter list.
53 2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>
55         * treetree.c (tree_code_get_expression): Call build_function_call_expr
56         to build function calls.
58 2005-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
60         * treelang/lex.l, treelang/parse.y: Don't include errors.h and
61         include toplev.h.
62         * treelang/Make-lang.in: Updates dependencies.
64 2005-05-02  Andrew Pinski  <pinskia@physics.uc.edu>
66         PR treelang/21345
67         * parse.y (parameters_opt): Add semicolon at the end.
69 2005-04-29  Tom Tromey  <tromey@redhat.com>
71         * treetree.c (poplevel): Updated for change to build_block.
73 2005-04-23  DJ Delorie  <dj@redhat.com>
75         * parse.y: Adjust warning() callers.
77 2005-04-11  Richard Sandiford  <rsandifo@redhat.com>
79         * lang.opt: Refer to the GCC internals documentation instead of c.opt.
81 2005-04-01  Andrew Pinski  <pinskia@physics.uc.edu>
83         PR treelang/20604
84         * lang-spec.c: Simplify @treelang to what the other
85         languages do.
87 2005-04-01  Kazu Hirata  <kazu@cs.umass.edu>
89         * treelang/treelang.texi: Fix typos.
90         * treelang/treetree.c: Fix comment typos.
92 2005-03-23  Joseph S. Myers  <joseph@codesourcery.com>
94         * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
95         tree_lang_truthvalue_conversion): Remove.
96         * tree-convert.c: Don't call truthvalue_conversion.
98 2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
100         * treetree.c (tree_code_if_start): Use fold_buildN.
101         (tree_code_create_variable): Likewise.
102         (tree_code_generate_return): Likewise.
103         (tree_code_get_expression): Likewise.
104         (tree_code_add_parameter): Likewise.
106 2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
108         * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
109         during GC.
111 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
113         * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
115 2005-03-06  James A. Morrison  <phython@gcc.gnu.org>
117         PR other/20326
118         * Make-lang.in (gtreelang, treelang/spec.o): New targets.
119         * spec.c: New file.
121 2005-02-27  Kazu Hirata  <kazu@cs.umass.edu>
123         * treelang.texi: Fix a typo.
125 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
127         * parse.y (function_invocation, variable-ref, make_plus_expression):
128         Pass location to tree_code_get_expression.
129         * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
130         (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
131         set EXPR_LOCATION on ret1.
132         * treetree.h (tree_code_get_expression): Take the location of the
133         expression as an argument.
135 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
137         * treelang.texi: Treelang does have warnings.
138         * treetree.c (tree_code_create_function_prototype): Don't set
139         TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
140         as few times as needed on the function declaration.
141         (tree_code_create_function_initial): Don't set TREE_USED,
142         TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
143         (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
144         (tree_code_get_expression): Set TREE_USED for variable references
145         and function calls.
147 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
149         * parse.y: Do comparisons as the type of the first expression.
150         * treetree.c (tree_code_get_integer_value): Build integer constants
151         with the proper type.
153 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
155         * Make-lang.in: Remove commented out code.
156         * lang-specs.h: Always pass -dumpbase to tree1.
158 2005-02-25  James A. Morrrison  <phython@gcc.gnu.org>
160         * treelang.texi: Remove extra contribution notice.
161         Split up some run-on sentences.  Document function parameters
162         as optional.  Indicate automatic variables can now be at any scope.
163         Mention literals are only signed if they are preceded by a unary
164         plus or minus.  Clarify interoperability with C.
166 2005-02-25  James A. Morrison  <phython@gcc.gnu.org>
168         * treelang.texi: Fix whitespacing.
170 2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
172         PR other/19896
173         * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
174         TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
175         rest_of_decl_compilation on static variables.
176         (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
177         variables.
179 2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
181         PR other/19897
182         * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
183         Move function parameters check from ...
184         (function): ...Here.  Update call to tree_code_create_function_initial.
185         (function_invocation): Use expressions_with_commas_opt instead of
186         expressions_with_commas.
187         (expressions_with_commas_opt): New rule.
188         * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
189         for function parameters.
190         (tree_code_create_function_initial): Remove PARMS parameter.
191         Don't create PARM_DECLs for function parameters.
192         * treetree.h (tree_code_create_function_initial): Remove PARMS
193         parameter.
195 2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
197         * parse.y: Update copyright.
199 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
201         * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
202         scalar integer types.
204 2005-02-09  Richard Henderson  <rth@redhat.com>
206         * treetree.c (treelang_init_decl_processing): Call
207         build_common_builtin_nodes.
209 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
211         * treelang.texi: Don't use local treelang version number.  Don't
212         give last update date.
214 2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
216         * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
218 2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
220         * parse.y: Reformat comments.
221         * treetree.c: Likewise.
222         * treetree.h: Likewise.
224 2004-10-24  James A. Morrison  <phython@gcc.gnu.org>
226         * treetree.c (tree_code_generate_return): Wrap param declaration in
227         ENABLE_CHECKING.
229 2004-10-05  Zack Weinberg  <zack@codesourcery.com>
231         * parse.y: Add list of diagnostic messages to insulate
232         translation template from version of yacc/bison used to
233         compile the grammar.
235 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
237         PR other/17762
238         * lex.l: Include input.h and errors.h
239         (lineno): New variable.
240         (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
241         is not defined.
242         Set column position with LINEMAP_POSITION_FOR_COLUMN.
243         Use error instead of fprintf.
244         Set input_location with the value returned by linemap_start_line when
245         USE_MAPPED_LOCATION is defined.
246         (dump_lex_value): Use LOCATION_LINE.
247         * parse.y: Include errors.h.
248         Use error and warning instead of fprintf.
249         (return): Move exp to rule scope and always set to $2.  Test against
250         exp instead of $2.
251         (init): Set $$ to $2.
252         (print_token): Use LOCATION_LINE.
253         * tree1.c (treelang_init): Call treelang_init_decl_processing last.
254         Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
255         defined.
256         (treelang_parse_file): Always start at line one.
257         Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
258         defined.
259         Leave main_input_filename when done parsing the input.
260         (insert_tree_name): Use error instead of fprintf.
261         * treetree.c (tree_code_get_expression): Wrap long line.
262         (tree_mark_addressable): Use %qD to print out DECLs.
264 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
266         * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
267         * tree1.c: Likewise.
268         * treetree.c: Likewise.
270 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
272         * lex.l: Remove random whitespace.
273         * parse.y: Reformat copyright notice.  Indent declarations.
274         Wrap long lines, unwrap short lines.
275         * tree1.c: Reformat copyright notice.  Wrap long lines.
276         Remove random whitespace.
277         (lookup_tree_name): Use LOCATION_LINE.
278         * treetree.c: Reformat copyright notice.  Wrap long lines.
279         Remove random whitespace.
281 2004-10-01  James A. Morrison  <phython@gcc.gnu.org>
283         * parse.y (ELSE): Set tok to $1.
284         * treelang.texi: Wrap comments in @r{}.  Indent example comments.
285         Use gcc when refering to the command line or website.  Update function
286         definition.
288 2004-10-01  Jan Hubicka  <jh@suse.cz>
290         * treetree.c (treeland_expand_function): Update call of
291         tree_rest_of_compilation.
293 2004-09-17  Jeffrey D. Oldham  <oldham@codesourcery.com>
294             Zack Weinberg  <zack@codesourcery.com>
296         * treetree.c: Update for new tree-class enumeration constants.
298 2004-09-15  Zack Weinberg  <zack@codesourcery.com>
300         * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
302 2004-08-26  Nathan Sidwell  <nathan@codesourcery.com>
304         * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
306 2004-08-24  Nathan Sidwell  <nathan@codesourcery.com>
308         * treelang/treetree.c (treelang_init_decl_processing): Adjust
309         build_common_tree_nodes call.
311 2004-08-14  Nathan Sidwell  <nathan@codesourcery.com>
313         * treetree.c (tree_code_get_integer_value): Use build_int_cst.
315 2004-07-31  James A. Morrison  <phython@gcc.gnu.org>
317         * Make-lang.in (TREE_BE_LIBS): Remove.
318         (tree1): Depend on BACKEND and LIBDEPS.  Use BACKEND and LIBS instead
319         of TREE_BE_LIBS.
320         * parse.y: Add variable_defs_opt before statements_opt.
321         Use tree_code_get_type instead of get_type_for_numeric_type.
322         Reformat long lines.
323         (parameters_opt): New rule.
324         (function_prototype): Use parameters_opt.
325         (return): Remove calls to print_token in error cases.  Use VOID_TYPE.
326         (check_type_match): Use VOID_TYPE.
327         * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
328         * tree1.c: Include version.h and cgraph.h
329         (treelang_parse_file): Call cgraph_finalize_compilation_unit and
330         cgraph_optimize.
331         * treelang.h (item): Remove extraneous GTY.
332         * treetree.h (get_type_for_numeric_type): Remove.
333         * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
334         function.h, and cgraph.h.  Don't include rtl.h
335         (keep_level_p): Remove.
336         (tree_push_atomic_type_decl): Remove.
337         (get_type_for_numeric_type): Remove.
338         (tree_code_get_numeric_type): Remove.
339         (global_bindings_p): Make static.
340         (getdecls): Likewise.
341         (insert_block): Likewise.
342         (tree_code_if_start): Create a COND_EXPR and add it to the tree
343         instead of creating rtl.
344         (tree_code_if_else): Create a BIND_EXPR if any variables were created
345         in the if statement.
346         (tree_code_end_if): Likewise.
347         (tree_code_create_function_prototype): Use tree_code_get_type.
348         Don't use SET_DECL_ASSEMBLER_NAME.
349         (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
350         DECL_IGNORING_P on RESULT_DECL.  Use tree_code_get_type.  Don't call
351         layout_decl on RESULT_DECL.  Don't call rtl expand functions.
352         (tree_code_create_function_wrapup): Don't call rtl expand functions.
353         Create a BIND_EXPR for each function.  Dump original and gimplified
354         copies of the function tree.  Gimplify function.
355         (tree_code_create_variable): Use tree_code_get_type.  Don't call
356         layout_decl or expand_decl.  Fold CONVERT_EXPRs.
357         (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
358         Add RETURN_EXPR to the current statement list.  Don't call rtl expand
359         functions.
360         (tree_code_output_expression_statement): Append CODE to current
361         statement list.
362         (tree_code_get_expression): Fold expressions.  Build a pointer to
363         a FUNCTION_TYPE intead of the called functions return type.
364         (struct binding_level): Add statement list STMTS.
365         (getstmtlist): New Function.
366         (pushlevel): Make static.  Allocate an empty statement list.
367         (poplevel): Make static.  Don't clear BLOCK_NODE's BLOCK_VARS.
368         Don't use DECL_ASSEMBLER_NAME.
369         (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
370         (treelang_init_decl_processing): Define basic types after unused types.
371         Don't call tree_push_atomic_type_decl.
372         (builtin_function): Don't call make_decl_rtl.
373         (treelang_expand_function). New Function.
375 2004-07-11  Joseph S. Myers  <jsm@polyomino.org.uk>
377         * treetree.c (set_block): Remove.
378         (struct binding_level): Remove block_created_by_back_end.
379         (clear_binding_level): Likewise.
380         (tree_code_create_function_initial,
381         tree_code_create_function_wrapup): Call pushlevel and poplevel
382         directly rather than through hooks.
383         (poplevel): Don't handle block_created_by_back_end.
385 2004-04-07  Richard Henderson  <rth@redhat.com>
387         * treetree.c (tree_mark_addressable):  Don't put_var_into_stack.
389 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
391         * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
392         not TREE_UNSIGNED.
394 2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
396         * treelang.texi: Update link to "G++ and GCC".
398 2004-02-20  Richard Henderson  <rth@redhat.com>
400         * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
402 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
404         * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
406 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
408         * Make-lang.in: Replace $(docdir) with doc.
409         (treelang.info, treelang.srcinfo): New rules.
410         (treelang.man, treelang.man): Dummy entries.
412 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
414         * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
415         (treelang/parse.o, treelang/lex.o): Look for sources in build
416         directory.  Use implicit rule.
417         (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
418         doc directory.
419         (treelang.srcextra): Copy above back to source directory if requested.
421 2004-01-07  Zack Weinberg  <zack@codesourcery.com>
423         * parse.y (yyerror): Mark the definition static.
425 2003-12-04  James A. Morrison  <ja2morri@uwaterloo.ca>
427         * lex.l: Add \t as a whitespace character.
428         * treelang.texi (Lexical Syntax): Document a tab as whitespace.
430         * treelang.texi (What is GNU Treelang?): Fix a typo.
431         (Lexical Syntax): Create an itemize list of keywords.  Add commas to
432         paragraph defining names.
434 2003-11-26  Jason Merrill  <jason@redhat.com>
436         * Make-lang.in (treelang.tags): Create TAGS.sub files in each
437         directory and TAGS files that include them for each front end.
439 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
441         * .cvsignore: Delete.
443 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
445         * Make-lang.in (treelang.extraclean): Delete.
447 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
449         * Make-lang.in: Remove obsolete comment.
451 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
453         * Make-lang.in (dvi): Move targets to $(docobjdir).
454         (treelang.dvi): Simplify rule and adjust target.
455         (treelang.info): Simplify rule.
456         (parse.o): Correct dependencies.
457         (TREE_EXE): Delete doubled suffix append.
459 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
461         * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
462         (lex.o): Likewise.
464 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
466         * Make-lang.in (parse.o): Honor $(parsedir).
467         (lex.o): Likewise.
468         (lex.c): Likewise
469         (parse.c, parse.h): Likewise.
470         ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
471         (dvi): Likewise.
473 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
475         * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
476         stmp-docobjdir.
478         * Make-lang.in (info): Use docobjdir.
479         ($(srcdir)/treelang/treelang.info): Replace with ...
480         ($(docobjdir)/treelang/treelang.info): ... this.
481         (install-info): New target.
483 2003-10-12  Andreas Jaeger  <aj@suse.de>
485         * Make-lang.in (treelang.install-info): Remove reference to
486         treelang.info.
487         (treelang.): Removed.
489 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
491         * Make-lang.in (treelang.info): Replace with ...
492         (info): ... this.
493         * Make-lang.in (treelang.dvi): Replace with ...
494         (dvi): ... this.
496 2003-09-21  Richard Henderson  <rth@redhat.com>
498         * treetree.c: Revert.
500 2003-09-21  Richard Henderson  <rth@redhat.com>
502         * treetree.c: Update for DECL_SOURCE_LOCATION rename and
503         change to const.
505 2003-07-28  Andreas Jaeger  <aj@suse.de>
507         * treetree.c: Convert remaining K&R prototypes to ISO C90.
508         * tree1.c: Likewise.
509         * parse.y: Likewise.
510         * tree-convert.c: Likewise.
512 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
514         * treetree.c: Remove unnecessary casts.
516 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
518         * lang-options.h: Remove.
519         * lang.opt: Document some options.  Remove --help.
520         * tree1.c (treelang_handle_option): Remove OPT__help case.
522 2003-07-12  Andreas Jaeger  <aj@suse.de>
524         * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
526 2003-07-10  Neil Booth  <neil@daikokuya.co.uk>
528         * Make-lang.in: Update.
529         * tree1.c: Don't include c-common.h.
530         (c_language): Remove.
532 2003-07-10  Fergus Henderson  <fjh@cs.mu.oz.au>
533             Steven Bosscher  <steven@gcc.gnu.org>
535         * tree-convert.c: New file.
536         * treetree.c: Don't include c-tree.h.  Include target.h.
537         (struct lang_identifier, union lang_tree_node, struct lang_type,
538         struct lang_function): New, minimal language-specific datastructs.
539         (tree_lang_truthvalue_conversion, tree_mark_addressable,
540         tree_lang_type_for_size, tree_lang_type_for_mode,
541         tree_lang_unsigned_type, tree_lang_signed_type,
542         tree_lang_signed_or_unsigned): New functions.
543         (LANG_HOOKS_*): Don't use C front end langhooks.  Use new functions.
544         (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
545         pushdecl, getdecls, kept_level_p, tree_push_type_decl,
546         tree_push_atomic_type_decl): New functions.
547         (struct resword, struct reswords): Remove.
548         * Make-lang.in: Update.  Don't depend on C front end objects.
549         * config-lang.in: Likewise.
551 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
553         * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
554         tree_code_if_end, tree_code_create_function_initial,
555         tree_code_create_function_wrapup, tree_code_generate_return,
556         tree_code_output_expression_statement): Adjust emit_line_note
557         calls.
559 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
561         * Make-lang.in: Replace PWD with PWD_COMMAND.
563 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
565         * tree1.c (treelang_init_options): Update prototype.
566         * treelang.h (treelang_init_options): Update prototype.
568 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
570         * Make-lang.in: Update.
571         * tree1.c: Include c-common.h.  Define c_language.
573 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
575         * treetree.c (tree_code_create_function_wrapup): Adjust
576         expand_function_end call.
578 2003-06-18  Nathan Sidwell  <nathan@codesourcery.com>
580         * treetree.c (build_stmt): Remove VPARAMS.
581         (pedwarn_c99): Likewise.
583 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
585         * lang.opt: Declare Treelang.  Update.
586         * tree1.c (treelang_init_options): Update.
588 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
590         * treetree.c (tree_code_create_function_initial): Adjust
591         init_function_start call.
593 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
595         * Make-lang.in: Update to use options.c and options.h.
596         * tree1.c: Include options.h not t-options.h.
597         (treelang_init_options): New.
598         (treelang_handle_option): Abort on unrecognized switch.
599         * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
600         * treetree.h (treelang_init_options): New.
602 2003-06-12  Andreas Jaeger  <aj@suse.de>
604         * treetree.c: Remove cl_options-count and cl_options.
606 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
608         * Make-lang.in: Update for option handling.
609         * lang.opt: New.
610         * tree1.c: Include opts.h and t-options.h.
611         (treelang_decode_option): Remove.
612         (treelang_handle_option): New.
613         * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
614         (LANG_HOOKS_HANDLE_OPTION): Override.
615         * treetree.h (treelang_decode_option): Remove.
616         (treelang_handle_option): New.
618 2003-06-08  Andreas Jaeger  <aj@suse.de>
620         * Make-lang.in: Update.
621         * treetree.c: Include opts.h. Define cl_options_count and cl_options.
623 2003-06-08  Tim Josling  <tej@melbpc.org.au>
625         * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
627 2003-06-05  Jan Hubicka  <jh@suse.cz>
629         * Make-lang.in:  Add support for stageprofile and stagefeedback
631 2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
633         * treetree.c (reswords): Remove __bounded__, __unbounded__.
635 2003-05-09  Tim Josling  <tej@melbpc.org.au>
637         * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
638         to link (needed by some front ends such as PPC).
640         * treetree.c (tree_code_create_function_initial): Fix long line.
641         Initialize tree_code_int_size and tree_code_char_size to
642         meaningful values.
643         (tree_code_get_numeric_type): Add check that size1 parameter is
644         valid.
646         * parse.y: Fix extra long lines in prototypes.
648         * treelang.h: Fix extra long lines in macro definitions.
650 2003-05-07  Zack Weinberg  <zack@codesourcery.com>
652         * Make-lang.in: Set -Wno-error for treelang/lex.o.
654 2003-05-06  Nathan Sidwell  <nathan@codesourcery.com>
656         * Make-lang.in (treelang/tree1.o): Depends on input.h
657         (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
658         * treelang.h: #include input.h.
659         (in_fname): Remove.
660         (struct token_part): Remove lineno, add location.
661         * lex.l (next_tree_lineno): Remove.
662         (update_lineno_charno): Adjust.
663         (dump_lex_value): Adjust.
664         * parse.y (variable_def, function_prototype, function, statement,
665         if_statement, return, function_invocation, variable_ref): Adjust.
666         (print_token, yyerror, ensure_not_void): Adjust.
667         tree1.c (in_fname): Remove.
668         (treelang_init): Setup input_location.
669         (lookup_tree_name): Adjust.
670         (insert_tree_name): Adjust.
671         * treetree.c (tree_code_if_start): Replace filename and lineno
672         parms with loc. Adjust.
673         (tree_code_if_else, tree_code_if_end,
674         tree_code_create_function_prototype,
675         tree_code_create_function_initial,
676         tree_code_create_function_wrapup, tree_code_create_variable,
677         tree_code_output_expression_statement): Likewise.
678         * treetree.h (tree_code_if_start): Replace filename and lineno
679         parms with loc.
680         (tree_code_if_else, tree_code_if_end,
681         tree_code_create_function_prototype,
682         tree_code_create_function_initial,
683         tree_code_create_function_wrapup, tree_code_create_variable,
684         tree_code_output_expression_statement): Likewise.
686 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
688         * tree1.c (treelang_init): Rename lineno to input_line.
690 2003-04-30  Steven Bosscher  <steven@gcc.gnu.org>
692         * parse.y (make_plus_expression): New function.
693         (expression production): Use make_plus_expression for PLUS,
694         MINUS, ASSIGN and EQUALS.
695         * tree1.c (treelang_decode_option): Don't fall through to
696         options that start with a different character when an option
697         was not recognized.
699 2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
701         * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
702         * treetree.c: Do not #include parse.h.
704 2003-03-21  Andreas Jaeger  <aj@suse.de>
706         * treetree.c (cpp_create_reader): Follow prototype change in
707         cpplib.h.
709 2003-03-17  Andreas Jaeger  <aj@suse.de>
711         * Make-lang.in (treelang.tags): Remove duplicate entry.
713 2003-03-15  Andreas Jaeger  <aj@suse.de>
715         * treetree.c (cpp_handle_option): Remove.
717 2003-03-13  Andreas Jaeger  <aj@suse.de>
719         * Make-lang.in (tree1$(exeext)): Fix previous patch.
721 2003-03-12  Andreas Jaeger  <aj@suse.de>
723         * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
725 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
727         * tree1.c (in_fname): Fix type.
728         (treelang_init): Update prototype and use of in_fname.
729         * treelang.h (in_fname): Fix type.
730         * treetree.c (tree_code_if_start, tree_code_if_else,
731         tree_code_if_end, tree_code_create_function_prototype,
732         tree_code_create_function_initial, tree_code_create_funciton_wrapup,
733         tree_code_create_variable, tree_code_output_expression_statement)
734         : Fix prototypes and use of filenames.
735         * treetree.h: Similarly.
737 2003-03-05  Andreas Jaeger  <aj@suse.de>
739         * treetree.c (init_c_lex): Follow change to c-common.h.
741 2003-03-04  Tom Tromey  <tromey@redhat.com>
743         * Make-lang.in (treelang.tags): New target.
745 2003-03-01  Tim Josling  <tej@melbpc.org.au>
747         Name clashes with rtl.h fixed.
749         * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
750         tl_RETURN.
752         * parse.y: Ditto.
754 2003-02-24  Tim Josling  <tej@melbpc.org.au>
756         * parse.y (my_yylex): New - ensure lexer time is charged to
757         TV_LEX.
758         (yylex): redefine as invocation of my_yylex which then calls
759         flex-generated yylex.
760         (timevar.h): include.
762 2003-02-23  Tim Josling  <tej@melbpc.org.au>
764         Fix garbage collection, add more error checking, force GC always.
766         * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
767         (treelang/treetree.o): Depend on  treelang/parse.h
769         * lex.l: include "treetree.h"
771         * lex.l (update_yylval): Allocate string using get_string so GC
772         works.
774         * parse.y (function_prototype): Set category correctly so GC works.
775         (function): Set category in search so checking works.
776         (function_invocation): Ditto.
777         (variable_ref): Ditto.
779         * tree1.c (lookup_tree_name): Call sanity_check for passed
780         production and associated token and for symbol table entries.
782         * tree1.c (sanity_check): New, basic check that struct is valid.
784         * treelang.h: Prototype for sanity_check.
786 2003-01-27  Tim Josling  <tej@melbpc.org.au>
788         * treetree.c (treelang_init_decl_processing): Change memory
789         allocation to use GC.
791 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
793         * treelang.texi: Update to GFDL 1.2.
795 2003-01-26  Michael Matz  <matz@suse.de>
797         * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
799 2003-01-14  Andreas Jaeger  <aj@suse.de>
801         * Make-lang.in (treelang.install-info): Depend only on info files
802         if BUILD_INFO is set.  Fix install rules.
803         (treelang.): New.
805 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
807         * Make-lang.in (treelang.install.common.done,
808         treelang.install-info, treelang.uninstall): Prepend
809         $(DESTDIR) to destination paths in all (un)installation
810         commands.
812 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
814         * treelang.texi: Use @copying.
816 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
818         * treelang.texi: Include gcc-common.texi.
819         * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
820         Depend on gcc-common.texi.  Add other missing dependencies.
821         (treelang.dvi): Use texi2dvi.
823 2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
825         * treelang.texi: Use @ifnottex instead of @ifinfo.
827 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
829         * lex.l: Move "%{" below copyright notice; get rid of "/*"
830         embedded in comment.  Do not #undef IN_GCC; do not include
831         stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
832         Do include coretypes.h and tm.h.
833         * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
834         and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
835         ansidecl.h. Do include coretypes.h and tm.h.
836         * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
837         stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
838         * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
839         errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
840         or ansidecl.h.  Do include coretypes.h and tm.h.
841         * Make-lang.in: Update dependencies.
843 2002-09-09  Tim Josling  <tej@melbpc.org.au>
845         * treetree.c (objc_is_id): New.
847 2002-08-16  Tim Josling  <tej@melbpc.org.au>
849         Remove variables and functions now defined elsewhere.
851         * treetree.c (maybe_objc_comptypes): Remove.
852         (warn_format, warn_format_y2k, warn_format_extra_args,
853         warn_format_nonliteral, warn_format_security,
854         warn_format_zero_length): Remove.
855         (maybe_building_objc_message_expr): Remove.
856         (cpp_post_options): Remove.
857         (maybe_objc_check_decl): Remove.
858         (integer_types): Remove.
861 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
863         * treelang.c: Remove cpp_post_options.
865 2002-08-13  Tim Josling  <tej@melbpc.org.au>
867         * parse.y: Provide dummy definition of rtx for use by config.h.
868         * Make-lang.in (treetree.o): Remove dependency on non-existent
869         gt-treelang-treelang.h.
870         (gt-treelang-treelang.h): Remove.
872 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
874         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
876 2002-07-11  Tim Josling  <tej@melbpc.org.au>
878         Remove front end hard coding from gengtype.c.
880         * config-lang.in (gtfiles): Add files needed for this front
881         end.
883 2002-07-09  Tim Josling  <tej@melbpc.org.au>
885         Support new attributes regime (Fix for PR c++/7099).
887         * treetree.c (handle_format_attribute): Return NULL_TREE instead
888         of aborting.
889         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
890         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
891         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
893 2002-06-21  Andreas Jaeger  <aj@suse.de>
895         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
896         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
898 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
900         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
901         than STATIC.
903 2002-06-10  Tim Josling  <tej@melbpc.org.au>
905         Cleanup
907         * Make-lang.in (check-treelang). Add. Remove direct dependency of
908         'check' on 'treelang.check' as redundant.
910         PCH Garbage collection regime (gengtypes.c) phase 1.
912         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
913         gt-treelang-treelang.h gtype-treelang.h.
914         (gt-treelang-tree1.h) Depend on s-gtype.
915         (gt-treelang-treelang.h) Depend on s-gtype.
916         (gtype-treelang.h) Depend on s-gtype.
918         * config-lang.in (gtfiles): Define.
920         * lex.l (main): Remove '#if 0' dead code.
921         (main): Move undef of IN_GCC so define of tree typedef works.
922         (all): Replace token and production by prod_token_parm_item.
924         * parse.y
925         (all): Replace token and production by prod_token_parm_item.
927         * tree1.c (main): Remove include of "output.h".
928         (symbol_table): Add GTY details.
929         (symbol_table_ggc): Remove.
930         (treelang_init): Remove root definitions for garbage collection.
931         (mark_production_used): Remove.
932         (mark_token_used): Remove.
933         (main, at end): include generated garage collection routines.
935         * treelang.h (category_enum ): Add parameter_category.
936         (all): Replace token and production and parameters by union
937         prod_token_parm_item containing production_part, token_part,
938         parameter_part.
939         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
940         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
941         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
942         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
943         treetree.h.
945         * treetree.c
946         (tm_p.h): Do not include.
947         (ansidecl.h): Move include after config.h.
948         (treelang.h): Include it.
949         (ADDROOT): Remove.
950         (all): Replace token, production and parameter by prod_token_parm_item.
951         (tree_parameter_list): Move to treelang.h as part of
952         prod_token_parm_item.
953         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
954         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
955         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
956         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
957         treelang.h.
959 2002-05-19  Tim Josling  <tej@melbpc.org.au>
961         * treetree.c (warn_format_zero_length): Add.
963 2002-05-14  Tim Josling  <tej@melbpc.org.au>
965         * Make-lang.in: Fix build for .info files, add target for manpages.
966         A bug report and a suggested patch came from Magnus Fromreide
967         <magfr@lysator.liu.se>.
969 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
971         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
973 2002-05-11  Tim Josling  <tej@melbpc.org.au>
975         * treetree.c: (cpp_define) Add.
976         (cpp_get_callbacks) Add.
978 2002-05-07  Tim Josling  <tej@melbpc.org.au>
980         * treetree.c: (cpp_get_options) Add.
982 2002-05-06  Tim Josling  <tej@melbpc.org.au>
984         * .cvsignore: Add.
986 2002-05-05  Tim Josling  <tej@melbpc.org.au>
988         * Updated for gcc3.2 experimental. Major changes throughout.
990 2002-03-31  Tim Josling  <tej@melbpc.org.au>
992         * Make-lang.in: Changes so build and check work more reliably
994 2001-07-30  Tim Josling  <tej@melbpc.org.au>
996         * root.texi: remove
997         * treelang.texi: updates based on feedback
999 2001-06-11  Tim Josling  <tej@melbpc.org.au>
1001         * all (all) Revamp code to conform to GCC coding standards, fix
1002         typos in texi files.
1004 2001-05-11  Tim Josling  <tej@melbpc.org.au>
1006         Create the new language.