OSDN Git Service

2007-09-05 Sandra Loosemore <sandra@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
1 2007-09-05  Sandra Loosemore  <sandra@codesourcery.com>
2
3         * treetree.c (tree_code_create_function_wrapup):  Use set_cfun.
4
5 2007-08-21  Paul Brook  <paul@codesourcery.com>
6             Nathan Sidwell  <nathan@codesourcery.com>
7             Mark Mitchell  <mark@codesourcery.com>
8             Joseph Myers  <joseph@codesourcery.com>
9
10         * tree1.c (treelang_handle_option): Use pkgversion_string.
11         * treelang.texi (which-treelang): Define to use VERSION_PACKAGE.
12
13 2007-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14
15         * lex.l (update_yylval): Constify.
16         * treelang.h (struct token_part, struct parameter_part):
17         Likewise.
18         * treetree.c (tree_code_create_function_prototype,
19         tree_code_create_variable, tree_code_get_integer_value):
20         Likewise.
21         * treetree.h (tree_code_get_integer_value,
22         tree_code_create_function_prototype, tree_code_create_variable):
23         Likewise.
24
25 2007-07-25  Richard Guenther  <rguenther@suse.de>
26
27         * treetree.c (tree_code_generate_return): RETURN_EXPRs
28         have volatile type.
29
30 2007-07-17  Nick Clifton  <nickc@redhat.com>
31
32         * parse.y: Change copyright header to refer to version 3 of the
33         GNU General Public License and to point readers at the COPYING3
34         file.
35         * lex.l: Likewise.
36         * lang.opt: Likewise.
37         * lang-specs.h: Likewise.
38         * treelang.h: Likewise.
39         * config-lang.in: Likewise.
40         * tree-convert.c: Likewise.
41         * treetree.c: Likewise.
42         * tree1.c: Likewise.
43         * Make-lang.in: Likewise.
44         * treetree.h: Likewise.
45         * spec.c: Likewise.
46
47 2007-06-11  Rafael Avila de Espindola  <espindola@google.com>
48
49         * treetree.c (tree_lang_signed_type): Remove.
50         (LANG_HOOKS_SIGNED_TYPE): Remove.
51
52 2007-05-14  Rafael Avila de Espindola  <espindola@google.com>
53
54         * treetree.c (tree_lang_unsigned_type): Remove.
55         (LANG_HOOKS_UNSIGNED_TYPE): Remove.
56
57 2007-03-30  Rafael Avila de Espindola  <espindola@google.com>
58
59         * treetree.c (tree_lang_signed_or_unsigned_type): Remove.
60         (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE) Remove.
61
62 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
63
64         * Make-lang.in: Add install-pdf target as copied from
65         automake v1.10 rules.
66
67 2007-02-26  Brooks Moses  <brooks.moses@codesourcery.com>
68
69         * treelang.texi: Standardize title page, remove version number
70         from copyright page.
71
72 2006-10-23 Rafael Avila de Espindola  <rafael.espindola@gmail.com>
73
74         * treetree.c (builtin_function): Remove.
75
76 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
77
78         * Make-lang.in: Added "treelang.pdf" target support.
79
80 2006-07-28  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
81
82         * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
83
84 2006-06-17  Karl Berry  <karl@gnu.org>
85
86         * treelang.texi (@dircategory): Use "Software development"
87         instead of "Programming", following the Free Software Directory.
88
89 2006-06-06  Mike Stump  <mrs@apple.com>
90
91         * Make-lang.in: Rename to gcc_htmldir to build_htmldir to avoid
92         installing during build.
93
94 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
95
96         * Make-lang.in: Rename htmldir to gcc_htmldir.
97
98 2006-05-16  H.J. Lu  <hongjiu.lu@intel.com>
99
100         PR driver/26885
101         * Make-lang.in (gtreelang$(exeext)): Replace gcc.o with
102         $(GCC_OBJS).
103
104 2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
105
106         * Make-lang.in (treelang/treetree.o): Add dependency on
107         $(TARGET_H).
108
109 2006-04-22  Matthias Klose  <doko@debian.org>
110
111         * Make-lang.in (treelang.check): Don't set and pass TRANSFORM.
112
113 2006-03-29  Carlos O'Donell  <caros@codesourcery.com>
114
115         * Make-lang.in: Rename docdir to gcc_docdir.
116
117 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
118
119         * Make-lang.in (.phony): Remove TREELANG.
120         (TREELANG): Remove.
121
122 2006-01-21  Joseph S. Myers  <joseph@codesourcery.com>
123
124         * spec.c (lang_specific_driver): Update copyright notice date.
125
126 2006-01-16  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
127
128         * spec.c (lang_specific_spec_functions): Remove.
129
130 2005-12-28  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
131
132         * Make-lang.in (treelang.distdir): Remove.
133
134 2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
135
136         * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
137
138 2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
139
140         * Make-lang.in: Remove all dependencies on s-gtype.
141
142 2005-12-05  Richard Guenther  <rguenther@suse.de>
143
144         * treetree.c (tree_code_if_start, tree_code_create_variable,
145         tree_code_generate_return, tree_code_get_expression,
146         tree_code_add_parameter): Use fold_convert where appropriate.
147
148 2005-11-07  James A. Morrison  <phython@gcc.gnu.org>
149
150         PR treelang/24066
151         * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
152         treelang_attribute_table.
153         (handle_attribute): New function.
154         (treelang_attribute_table): New attribute table.
155
156 2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
157
158         * parse.y : Changed pointer declaration from "type* var" to "type *var"
159         Removed trailing space.  Wrap long lines.
160
161 2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
162
163         * parse.y :  Fixed two compile warnings in "error" and "warning"
164         invocations.  Removed trailing periods in messages.  Decapitalized the
165         first word of each.
166
167 2005-08-07  James A. Morrison  <phython@gcc.gnu.org>
168
169         * tree-convert.c (convert): Use fold_build1 instead of
170         fold (build1.
171
172 2005-08-06  James A. Morrison  <phython@gcc.gnu.org>
173
174         PR treelang/23072
175         * Make-lang.in: Remove old testing cruft.
176
177 2005-06-25  Kelley Cook  <kcook@gcc.gnu.org>
178
179         * all files: Update FSF address in copyright headers.
180
181 2005-06-15  James A. Morrison  <phython@gcc.gnu.org>
182
183         * parse.y (function_invocation): Reverse parameter list.
184         * treetree.c (tree_code_get_expression): Don't reverse parameter list.
185
186 2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>
187
188         * treetree.c (tree_code_get_expression): Call build_function_call_expr
189         to build function calls.
190
191 2005-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
192
193         * treelang/lex.l, treelang/parse.y: Don't include errors.h and
194         include toplev.h.
195         * treelang/Make-lang.in: Updates dependencies.
196
197 2005-05-02  Andrew Pinski  <pinskia@physics.uc.edu>
198
199         PR treelang/21345
200         * parse.y (parameters_opt): Add semicolon at the end.
201
202 2005-04-29  Tom Tromey  <tromey@redhat.com>
203
204         * treetree.c (poplevel): Updated for change to build_block.
205
206 2005-04-23  DJ Delorie  <dj@redhat.com>
207
208         * parse.y: Adjust warning() callers.
209
210 2005-04-11  Richard Sandiford  <rsandifo@redhat.com>
211
212         * lang.opt: Refer to the GCC internals documentation instead of c.opt.
213
214 2005-04-01  Andrew Pinski  <pinskia@physics.uc.edu>
215
216         PR treelang/20604
217         * lang-spec.c: Simplify @treelang to what the other
218         languages do.
219
220 2005-04-01  Kazu Hirata  <kazu@cs.umass.edu>
221
222         * treelang/treelang.texi: Fix typos.
223         * treelang/treetree.c: Fix comment typos.
224
225 2005-03-23  Joseph S. Myers  <joseph@codesourcery.com>
226
227         * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
228         tree_lang_truthvalue_conversion): Remove.
229         * tree-convert.c: Don't call truthvalue_conversion.
230
231 2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
232
233         * treetree.c (tree_code_if_start): Use fold_buildN.
234         (tree_code_create_variable): Likewise.
235         (tree_code_generate_return): Likewise.
236         (tree_code_get_expression): Likewise.
237         (tree_code_add_parameter): Likewise.
238
239 2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
240
241         * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
242         during GC.
243
244 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
245
246         * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
247
248 2005-03-06  James A. Morrison  <phython@gcc.gnu.org>
249
250         PR other/20326
251         * Make-lang.in (gtreelang, treelang/spec.o): New targets.
252         * spec.c: New file.
253
254 2005-02-27  Kazu Hirata  <kazu@cs.umass.edu>
255
256         * treelang.texi: Fix a typo.
257
258 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
259
260         * parse.y (function_invocation, variable-ref, make_plus_expression):
261         Pass location to tree_code_get_expression.
262         * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
263         (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
264         set EXPR_LOCATION on ret1.
265         * treetree.h (tree_code_get_expression): Take the location of the
266         expression as an argument.
267
268 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
269
270         * treelang.texi: Treelang does have warnings.
271         * treetree.c (tree_code_create_function_prototype): Don't set
272         TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
273         as few times as needed on the function declaration.
274         (tree_code_create_function_initial): Don't set TREE_USED,
275         TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
276         (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
277         (tree_code_get_expression): Set TREE_USED for variable references
278         and function calls.
279
280 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
281
282         * parse.y: Do comparisons as the type of the first expression.
283         * treetree.c (tree_code_get_integer_value): Build integer constants
284         with the proper type.
285
286 2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
287
288         * Make-lang.in: Remove commented out code.
289         * lang-specs.h: Always pass -dumpbase to tree1.
290
291 2005-02-25  James A. Morrrison  <phython@gcc.gnu.org>
292
293         * treelang.texi: Remove extra contribution notice.
294         Split up some run-on sentences.  Document function parameters
295         as optional.  Indicate automatic variables can now be at any scope.
296         Mention literals are only signed if they are preceded by a unary
297         plus or minus.  Clarify interoperability with C.
298
299 2005-02-25  James A. Morrison  <phython@gcc.gnu.org>
300
301         * treelang.texi: Fix whitespacing.
302
303 2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
304
305         PR other/19896
306         * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
307         TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
308         rest_of_decl_compilation on static variables.
309         (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
310         variables.
311
312 2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
313
314         PR other/19897
315         * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
316         Move function parameters check from ...
317         (function): ...Here.  Update call to tree_code_create_function_initial.
318         (function_invocation): Use expressions_with_commas_opt instead of
319         expressions_with_commas.
320         (expressions_with_commas_opt): New rule.
321         * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
322         for function parameters.
323         (tree_code_create_function_initial): Remove PARMS parameter.
324         Don't create PARM_DECLs for function parameters.
325         * treetree.h (tree_code_create_function_initial): Remove PARMS
326         parameter.
327
328 2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
329
330         * parse.y: Update copyright.
331
332 2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
333
334         * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
335         scalar integer types.
336
337 2005-02-09  Richard Henderson  <rth@redhat.com>
338
339         * treetree.c (treelang_init_decl_processing): Call
340         build_common_builtin_nodes.
341
342 2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
343
344         * treelang.texi: Don't use local treelang version number.  Don't
345         give last update date.
346
347 2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
348
349         * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
350
351 2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
352
353         * parse.y: Reformat comments.
354         * treetree.c: Likewise.
355         * treetree.h: Likewise.
356
357 2004-10-24  James A. Morrison  <phython@gcc.gnu.org>
358
359         * treetree.c (tree_code_generate_return): Wrap param declaration in
360         ENABLE_CHECKING.
361
362 2004-10-05  Zack Weinberg  <zack@codesourcery.com>
363
364         * parse.y: Add list of diagnostic messages to insulate
365         translation template from version of yacc/bison used to
366         compile the grammar.
367
368 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
369
370         PR other/17762
371         * lex.l: Include input.h and errors.h
372         (lineno): New variable.
373         (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
374         is not defined.
375         Set column position with LINEMAP_POSITION_FOR_COLUMN.
376         Use error instead of fprintf.
377         Set input_location with the value returned by linemap_start_line when
378         USE_MAPPED_LOCATION is defined.
379         (dump_lex_value): Use LOCATION_LINE.
380         * parse.y: Include errors.h.
381         Use error and warning instead of fprintf.
382         (return): Move exp to rule scope and always set to $2.  Test against
383         exp instead of $2.
384         (init): Set $$ to $2.
385         (print_token): Use LOCATION_LINE.
386         * tree1.c (treelang_init): Call treelang_init_decl_processing last.
387         Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
388         defined.
389         (treelang_parse_file): Always start at line one.
390         Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
391         defined.
392         Leave main_input_filename when done parsing the input.
393         (insert_tree_name): Use error instead of fprintf.
394         * treetree.c (tree_code_get_expression): Wrap long line.
395         (tree_mark_addressable): Use %qD to print out DECLs.
396
397 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
398
399         * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
400         * tree1.c: Likewise.
401         * treetree.c: Likewise.
402
403 2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
404
405         * lex.l: Remove random whitespace.
406         * parse.y: Reformat copyright notice.  Indent declarations.
407         Wrap long lines, unwrap short lines.
408         * tree1.c: Reformat copyright notice.  Wrap long lines.
409         Remove random whitespace.
410         (lookup_tree_name): Use LOCATION_LINE.
411         * treetree.c: Reformat copyright notice.  Wrap long lines.
412         Remove random whitespace.
413
414 2004-10-01  James A. Morrison  <phython@gcc.gnu.org>
415
416         * parse.y (ELSE): Set tok to $1.
417         * treelang.texi: Wrap comments in @r{}.  Indent example comments.
418         Use gcc when refering to the command line or website.  Update function
419         definition.
420
421 2004-10-01  Jan Hubicka  <jh@suse.cz>
422
423         * treetree.c (treeland_expand_function): Update call of
424         tree_rest_of_compilation.
425
426 2004-09-17  Jeffrey D. Oldham  <oldham@codesourcery.com>
427             Zack Weinberg  <zack@codesourcery.com>
428
429         * treetree.c: Update for new tree-class enumeration constants.
430
431 2004-09-15  Zack Weinberg  <zack@codesourcery.com>
432
433         * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
434
435 2004-08-26  Nathan Sidwell  <nathan@codesourcery.com>
436
437         * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
438
439 2004-08-24  Nathan Sidwell  <nathan@codesourcery.com>
440
441         * treelang/treetree.c (treelang_init_decl_processing): Adjust
442         build_common_tree_nodes call.
443
444 2004-08-14  Nathan Sidwell  <nathan@codesourcery.com>
445
446         * treetree.c (tree_code_get_integer_value): Use build_int_cst.
447
448 2004-07-31  James A. Morrison  <phython@gcc.gnu.org>
449
450         * Make-lang.in (TREE_BE_LIBS): Remove.
451         (tree1): Depend on BACKEND and LIBDEPS.  Use BACKEND and LIBS instead
452         of TREE_BE_LIBS.
453         * parse.y: Add variable_defs_opt before statements_opt.
454         Use tree_code_get_type instead of get_type_for_numeric_type.
455         Reformat long lines.
456         (parameters_opt): New rule.
457         (function_prototype): Use parameters_opt.
458         (return): Remove calls to print_token in error cases.  Use VOID_TYPE.
459         (check_type_match): Use VOID_TYPE.
460         * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
461         * tree1.c: Include version.h and cgraph.h
462         (treelang_parse_file): Call cgraph_finalize_compilation_unit and
463         cgraph_optimize.
464         * treelang.h (item): Remove extraneous GTY.
465         * treetree.h (get_type_for_numeric_type): Remove.
466         * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
467         function.h, and cgraph.h.  Don't include rtl.h
468         (keep_level_p): Remove.
469         (tree_push_atomic_type_decl): Remove.
470         (get_type_for_numeric_type): Remove.
471         (tree_code_get_numeric_type): Remove.
472         (global_bindings_p): Make static.
473         (getdecls): Likewise.
474         (insert_block): Likewise.
475         (tree_code_if_start): Create a COND_EXPR and add it to the tree
476         instead of creating rtl.
477         (tree_code_if_else): Create a BIND_EXPR if any variables were created
478         in the if statement.
479         (tree_code_end_if): Likewise.
480         (tree_code_create_function_prototype): Use tree_code_get_type.
481         Don't use SET_DECL_ASSEMBLER_NAME.
482         (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
483         DECL_IGNORING_P on RESULT_DECL.  Use tree_code_get_type.  Don't call
484         layout_decl on RESULT_DECL.  Don't call rtl expand functions.
485         (tree_code_create_function_wrapup): Don't call rtl expand functions.
486         Create a BIND_EXPR for each function.  Dump original and gimplified
487         copies of the function tree.  Gimplify function.
488         (tree_code_create_variable): Use tree_code_get_type.  Don't call
489         layout_decl or expand_decl.  Fold CONVERT_EXPRs.
490         (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
491         Add RETURN_EXPR to the current statement list.  Don't call rtl expand
492         functions.
493         (tree_code_output_expression_statement): Append CODE to current
494         statement list.
495         (tree_code_get_expression): Fold expressions.  Build a pointer to
496         a FUNCTION_TYPE intead of the called functions return type.
497         (struct binding_level): Add statement list STMTS.
498         (getstmtlist): New Function.
499         (pushlevel): Make static.  Allocate an empty statement list.
500         (poplevel): Make static.  Don't clear BLOCK_NODE's BLOCK_VARS.
501         Don't use DECL_ASSEMBLER_NAME.
502         (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
503         (treelang_init_decl_processing): Define basic types after unused types.
504         Don't call tree_push_atomic_type_decl.
505         (builtin_function): Don't call make_decl_rtl.
506         (treelang_expand_function). New Function.
507
508 2004-07-11  Joseph S. Myers  <jsm@polyomino.org.uk>
509
510         * treetree.c (set_block): Remove.
511         (struct binding_level): Remove block_created_by_back_end.
512         (clear_binding_level): Likewise.
513         (tree_code_create_function_initial,
514         tree_code_create_function_wrapup): Call pushlevel and poplevel
515         directly rather than through hooks.
516         (poplevel): Don't handle block_created_by_back_end.
517
518 2004-04-07  Richard Henderson  <rth@redhat.com>
519
520         * treetree.c (tree_mark_addressable):  Don't put_var_into_stack.
521
522 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
523
524         * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
525         not TREE_UNSIGNED.
526
527 2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
528
529         * treelang.texi: Update link to "G++ and GCC".
530
531 2004-02-20  Richard Henderson  <rth@redhat.com>
532
533         * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
534
535 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
536
537         * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
538
539 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
540
541         * Make-lang.in: Replace $(docdir) with doc.
542         (treelang.info, treelang.srcinfo): New rules.
543         (treelang.man, treelang.man): Dummy entries.
544
545 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
546
547         * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
548         (treelang/parse.o, treelang/lex.o): Look for sources in build
549         directory.  Use implicit rule.
550         (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
551         doc directory.
552         (treelang.srcextra): Copy above back to source directory if requested.
553
554 2004-01-07  Zack Weinberg  <zack@codesourcery.com>
555
556         * parse.y (yyerror): Mark the definition static.
557
558 2003-12-04  James A. Morrison  <ja2morri@uwaterloo.ca>
559
560         * lex.l: Add \t as a whitespace character.
561         * treelang.texi (Lexical Syntax): Document a tab as whitespace.
562
563         * treelang.texi (What is GNU Treelang?): Fix a typo.
564         (Lexical Syntax): Create an itemize list of keywords.  Add commas to
565         paragraph defining names.
566
567 2003-11-26  Jason Merrill  <jason@redhat.com>
568
569         * Make-lang.in (treelang.tags): Create TAGS.sub files in each
570         directory and TAGS files that include them for each front end.
571
572 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
573
574         * .cvsignore: Delete.
575
576 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
577
578         * Make-lang.in (treelang.extraclean): Delete.
579
580 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
581
582         * Make-lang.in: Remove obsolete comment.
583
584 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
585
586         * Make-lang.in (dvi): Move targets to $(docobjdir).
587         (treelang.dvi): Simplify rule and adjust target.
588         (treelang.info): Simplify rule.
589         (parse.o): Correct dependencies.
590         (TREE_EXE): Delete doubled suffix append.
591
592 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
593
594         * Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
595         (lex.o): Likewise.
596
597 2003-10-21  Kelley Cook  <kcook@gcc.gnu.org>
598
599         * Make-lang.in (parse.o): Honor $(parsedir).
600         (lex.o): Likewise.
601         (lex.c): Likewise
602         (parse.c, parse.h): Likewise.
603         ($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
604         (dvi): Likewise.
605
606 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
607
608         * Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
609         stmp-docobjdir.
610
611         * Make-lang.in (info): Use docobjdir.
612         ($(srcdir)/treelang/treelang.info): Replace with ...
613         ($(docobjdir)/treelang/treelang.info): ... this.
614         (install-info): New target.
615
616 2003-10-12  Andreas Jaeger  <aj@suse.de>
617
618         * Make-lang.in (treelang.install-info): Remove reference to
619         treelang.info.
620         (treelang.): Removed.
621
622 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
623
624         * Make-lang.in (treelang.info): Replace with ...
625         (info): ... this.
626         * Make-lang.in (treelang.dvi): Replace with ...
627         (dvi): ... this.
628
629 2003-09-21  Richard Henderson  <rth@redhat.com>
630
631         * treetree.c: Revert.
632
633 2003-09-21  Richard Henderson  <rth@redhat.com>
634
635         * treetree.c: Update for DECL_SOURCE_LOCATION rename and
636         change to const.
637
638 2003-07-28  Andreas Jaeger  <aj@suse.de>
639
640         * treetree.c: Convert remaining K&R prototypes to ISO C90.
641         * tree1.c: Likewise.
642         * parse.y: Likewise.
643         * tree-convert.c: Likewise.
644
645 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
646
647         * treetree.c: Remove unnecessary casts.
648
649 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
650
651         * lang-options.h: Remove.
652         * lang.opt: Document some options.  Remove --help.
653         * tree1.c (treelang_handle_option): Remove OPT__help case.
654
655 2003-07-12  Andreas Jaeger  <aj@suse.de>
656
657         * Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
658
659 2003-07-10  Neil Booth  <neil@daikokuya.co.uk>
660
661         * Make-lang.in: Update.
662         * tree1.c: Don't include c-common.h.
663         (c_language): Remove.
664
665 2003-07-10  Fergus Henderson  <fjh@cs.mu.oz.au>
666             Steven Bosscher  <steven@gcc.gnu.org>
667
668         * tree-convert.c: New file.
669         * treetree.c: Don't include c-tree.h.  Include target.h.
670         (struct lang_identifier, union lang_tree_node, struct lang_type,
671         struct lang_function): New, minimal language-specific datastructs.
672         (tree_lang_truthvalue_conversion, tree_mark_addressable,
673         tree_lang_type_for_size, tree_lang_type_for_mode,
674         tree_lang_unsigned_type, tree_lang_signed_type,
675         tree_lang_signed_or_unsigned): New functions.
676         (LANG_HOOKS_*): Don't use C front end langhooks.  Use new functions.
677         (pushlevel, poplevel, global_bindings_p, insert_block, set_block,
678         pushdecl, getdecls, kept_level_p, tree_push_type_decl,
679         tree_push_atomic_type_decl): New functions.
680         (struct resword, struct reswords): Remove.
681         * Make-lang.in: Update.  Don't depend on C front end objects.
682         * config-lang.in: Likewise.
683
684 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
685
686         * treelang/treetree.c (tree_code_if_start, tree_code_if_else,
687         tree_code_if_end, tree_code_create_function_initial,
688         tree_code_create_function_wrapup, tree_code_generate_return,
689         tree_code_output_expression_statement): Adjust emit_line_note
690         calls.
691
692 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
693
694         * Make-lang.in: Replace PWD with PWD_COMMAND.
695
696 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
697
698         * tree1.c (treelang_init_options): Update prototype.
699         * treelang.h (treelang_init_options): Update prototype.
700
701 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
702
703         * Make-lang.in: Update.
704         * tree1.c: Include c-common.h.  Define c_language.
705
706 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
707
708         * treetree.c (tree_code_create_function_wrapup): Adjust
709         expand_function_end call.
710
711 2003-06-18  Nathan Sidwell  <nathan@codesourcery.com>
712
713         * treetree.c (build_stmt): Remove VPARAMS.
714         (pedwarn_c99): Likewise.
715
716 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
717
718         * lang.opt: Declare Treelang.  Update.
719         * tree1.c (treelang_init_options): Update.
720
721 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
722
723         * treetree.c (tree_code_create_function_initial): Adjust
724         init_function_start call.
725
726 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
727
728         * Make-lang.in: Update to use options.c and options.h.
729         * tree1.c: Include options.h not t-options.h.
730         (treelang_init_options): New.
731         (treelang_handle_option): Abort on unrecognized switch.
732         * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
733         * treetree.h (treelang_init_options): New.
734
735 2003-06-12  Andreas Jaeger  <aj@suse.de>
736
737         * treetree.c: Remove cl_options-count and cl_options.
738
739 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
740
741         * Make-lang.in: Update for option handling.
742         * lang.opt: New.
743         * tree1.c: Include opts.h and t-options.h.
744         (treelang_decode_option): Remove.
745         (treelang_handle_option): New.
746         * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
747         (LANG_HOOKS_HANDLE_OPTION): Override.
748         * treetree.h (treelang_decode_option): Remove.
749         (treelang_handle_option): New.
750
751 2003-06-08  Andreas Jaeger  <aj@suse.de>
752
753         * Make-lang.in: Update.
754         * treetree.c: Include opts.h. Define cl_options_count and cl_options.
755
756 2003-06-08  Tim Josling  <tej@melbpc.org.au>
757
758         * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
759
760 2003-06-05  Jan Hubicka  <jh@suse.cz>
761
762         * Make-lang.in:  Add support for stageprofile and stagefeedback
763
764 2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
765
766         * treetree.c (reswords): Remove __bounded__, __unbounded__.
767
768 2003-05-09  Tim Josling  <tej@melbpc.org.au>
769
770         * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
771         to link (needed by some front ends such as PPC).
772
773         * treetree.c (tree_code_create_function_initial): Fix long line.
774         Initialize tree_code_int_size and tree_code_char_size to
775         meaningful values.
776         (tree_code_get_numeric_type): Add check that size1 parameter is
777         valid.
778
779         * parse.y: Fix extra long lines in prototypes.
780
781         * treelang.h: Fix extra long lines in macro definitions.
782
783 2003-05-07  Zack Weinberg  <zack@codesourcery.com>
784
785         * Make-lang.in: Set -Wno-error for treelang/lex.o.
786
787 2003-05-06  Nathan Sidwell  <nathan@codesourcery.com>
788
789         * Make-lang.in (treelang/tree1.o): Depends on input.h
790         (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
791         * treelang.h: #include input.h.
792         (in_fname): Remove.
793         (struct token_part): Remove lineno, add location.
794         * lex.l (next_tree_lineno): Remove.
795         (update_lineno_charno): Adjust.
796         (dump_lex_value): Adjust.
797         * parse.y (variable_def, function_prototype, function, statement,
798         if_statement, return, function_invocation, variable_ref): Adjust.
799         (print_token, yyerror, ensure_not_void): Adjust.
800         tree1.c (in_fname): Remove.
801         (treelang_init): Setup input_location.
802         (lookup_tree_name): Adjust.
803         (insert_tree_name): Adjust.
804         * treetree.c (tree_code_if_start): Replace filename and lineno
805         parms with loc. Adjust.
806         (tree_code_if_else, tree_code_if_end,
807         tree_code_create_function_prototype,
808         tree_code_create_function_initial,
809         tree_code_create_function_wrapup, tree_code_create_variable,
810         tree_code_output_expression_statement): Likewise.
811         * treetree.h (tree_code_if_start): Replace filename and lineno
812         parms with loc.
813         (tree_code_if_else, tree_code_if_end,
814         tree_code_create_function_prototype,
815         tree_code_create_function_initial,
816         tree_code_create_function_wrapup, tree_code_create_variable,
817         tree_code_output_expression_statement): Likewise.
818
819 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
820
821         * tree1.c (treelang_init): Rename lineno to input_line.
822
823 2003-04-30  Steven Bosscher  <steven@gcc.gnu.org>
824
825         * parse.y (make_plus_expression): New function.
826         (expression production): Use make_plus_expression for PLUS,
827         MINUS, ASSIGN and EQUALS.
828         * tree1.c (treelang_decode_option): Don't fall through to
829         options that start with a different character when an option
830         was not recognized.
831
832 2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
833
834         * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
835         * treetree.c: Do not #include parse.h.
836
837 2003-03-21  Andreas Jaeger  <aj@suse.de>
838
839         * treetree.c (cpp_create_reader): Follow prototype change in
840         cpplib.h.
841
842 2003-03-17  Andreas Jaeger  <aj@suse.de>
843
844         * Make-lang.in (treelang.tags): Remove duplicate entry.
845
846 2003-03-15  Andreas Jaeger  <aj@suse.de>
847
848         * treetree.c (cpp_handle_option): Remove.
849
850 2003-03-13  Andreas Jaeger  <aj@suse.de>
851
852         * Make-lang.in (tree1$(exeext)): Fix previous patch.
853
854 2003-03-12  Andreas Jaeger  <aj@suse.de>
855
856         * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
857
858 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
859
860         * tree1.c (in_fname): Fix type.
861         (treelang_init): Update prototype and use of in_fname.
862         * treelang.h (in_fname): Fix type.
863         * treetree.c (tree_code_if_start, tree_code_if_else,
864         tree_code_if_end, tree_code_create_function_prototype,
865         tree_code_create_function_initial, tree_code_create_funciton_wrapup,
866         tree_code_create_variable, tree_code_output_expression_statement)
867         : Fix prototypes and use of filenames.
868         * treetree.h: Similarly.
869
870 2003-03-05  Andreas Jaeger  <aj@suse.de>
871
872         * treetree.c (init_c_lex): Follow change to c-common.h.
873
874 2003-03-04  Tom Tromey  <tromey@redhat.com>
875
876         * Make-lang.in (treelang.tags): New target.
877
878 2003-03-01  Tim Josling  <tej@melbpc.org.au>
879
880         Name clashes with rtl.h fixed.
881
882         * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
883         tl_RETURN.
884
885         * parse.y: Ditto.
886
887 2003-02-24  Tim Josling  <tej@melbpc.org.au>
888
889         * parse.y (my_yylex): New - ensure lexer time is charged to
890         TV_LEX.
891         (yylex): redefine as invocation of my_yylex which then calls
892         flex-generated yylex.
893         (timevar.h): include.
894
895 2003-02-23  Tim Josling  <tej@melbpc.org.au>
896
897         Fix garbage collection, add more error checking, force GC always.
898
899         * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
900         (treelang/treetree.o): Depend on  treelang/parse.h
901
902         * lex.l: include "treetree.h"
903
904         * lex.l (update_yylval): Allocate string using get_string so GC
905         works.
906
907         * parse.y (function_prototype): Set category correctly so GC works.
908         (function): Set category in search so checking works.
909         (function_invocation): Ditto.
910         (variable_ref): Ditto.
911
912         * tree1.c (lookup_tree_name): Call sanity_check for passed
913         production and associated token and for symbol table entries.
914
915         * tree1.c (sanity_check): New, basic check that struct is valid.
916
917         * treelang.h: Prototype for sanity_check.
918
919 2003-01-27  Tim Josling  <tej@melbpc.org.au>
920
921         * treetree.c (treelang_init_decl_processing): Change memory
922         allocation to use GC.
923
924 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
925
926         * treelang.texi: Update to GFDL 1.2.
927
928 2003-01-26  Michael Matz  <matz@suse.de>
929
930         * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
931
932 2003-01-14  Andreas Jaeger  <aj@suse.de>
933
934         * Make-lang.in (treelang.install-info): Depend only on info files
935         if BUILD_INFO is set.  Fix install rules.
936         (treelang.): New.
937
938 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
939
940         * Make-lang.in (treelang.install.common.done,
941         treelang.install-info, treelang.uninstall): Prepend
942         $(DESTDIR) to destination paths in all (un)installation
943         commands.
944
945 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
946
947         * treelang.texi: Use @copying.
948
949 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
950
951         * treelang.texi: Include gcc-common.texi.
952         * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
953         Depend on gcc-common.texi.  Add other missing dependencies.
954         (treelang.dvi): Use texi2dvi.
955
956 2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
957
958         * treelang.texi: Use @ifnottex instead of @ifinfo.
959
960 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
961
962         * lex.l: Move "%{" below copyright notice; get rid of "/*"
963         embedded in comment.  Do not #undef IN_GCC; do not include
964         stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
965         Do include coretypes.h and tm.h.
966         * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
967         and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
968         ansidecl.h. Do include coretypes.h and tm.h.
969         * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
970         stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
971         * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
972         errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
973         or ansidecl.h.  Do include coretypes.h and tm.h.
974         * Make-lang.in: Update dependencies.
975
976 2002-09-09  Tim Josling  <tej@melbpc.org.au>
977
978         * treetree.c (objc_is_id): New.
979
980 2002-08-16  Tim Josling  <tej@melbpc.org.au>
981
982         Remove variables and functions now defined elsewhere.
983
984         * treetree.c (maybe_objc_comptypes): Remove.
985         (warn_format, warn_format_y2k, warn_format_extra_args,
986         warn_format_nonliteral, warn_format_security,
987         warn_format_zero_length): Remove.
988         (maybe_building_objc_message_expr): Remove.
989         (cpp_post_options): Remove.
990         (maybe_objc_check_decl): Remove.
991         (integer_types): Remove.
992
993
994 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
995
996         * treelang.c: Remove cpp_post_options.
997
998 2002-08-13  Tim Josling  <tej@melbpc.org.au>
999
1000         * parse.y: Provide dummy definition of rtx for use by config.h.
1001         * Make-lang.in (treetree.o): Remove dependency on non-existent
1002         gt-treelang-treelang.h.
1003         (gt-treelang-treelang.h): Remove.
1004
1005 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
1006
1007         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
1008
1009 2002-07-11  Tim Josling  <tej@melbpc.org.au>
1010
1011         Remove front end hard coding from gengtype.c.
1012
1013         * config-lang.in (gtfiles): Add files needed for this front
1014         end.
1015
1016 2002-07-09  Tim Josling  <tej@melbpc.org.au>
1017
1018         Support new attributes regime (Fix for PR c++/7099).
1019
1020         * treetree.c (handle_format_attribute): Return NULL_TREE instead
1021         of aborting.
1022         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
1023         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
1024         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
1025
1026 2002-06-21  Andreas Jaeger  <aj@suse.de>
1027
1028         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
1029         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
1030
1031 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
1032
1033         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
1034         than STATIC.
1035
1036 2002-06-10  Tim Josling  <tej@melbpc.org.au>
1037
1038         Cleanup
1039
1040         * Make-lang.in (check-treelang). Add. Remove direct dependency of
1041         'check' on 'treelang.check' as redundant.
1042
1043         PCH Garbage collection regime (gengtypes.c) phase 1.
1044
1045         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
1046         gt-treelang-treelang.h gtype-treelang.h.
1047         (gt-treelang-tree1.h) Depend on s-gtype.
1048         (gt-treelang-treelang.h) Depend on s-gtype.
1049         (gtype-treelang.h) Depend on s-gtype.
1050
1051         * config-lang.in (gtfiles): Define.
1052
1053         * lex.l (main): Remove '#if 0' dead code.
1054         (main): Move undef of IN_GCC so define of tree typedef works.
1055         (all): Replace token and production by prod_token_parm_item.
1056
1057         * parse.y
1058         (all): Replace token and production by prod_token_parm_item.
1059
1060         * tree1.c (main): Remove include of "output.h".
1061         (symbol_table): Add GTY details.
1062         (symbol_table_ggc): Remove.
1063         (treelang_init): Remove root definitions for garbage collection.
1064         (mark_production_used): Remove.
1065         (mark_token_used): Remove.
1066         (main, at end): include generated garage collection routines.
1067
1068         * treelang.h (category_enum ): Add parameter_category.
1069         (all): Replace token and production and parameters by union
1070         prod_token_parm_item containing production_part, token_part,
1071         parameter_part.
1072         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1073         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1074         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1075         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
1076         treetree.h.
1077
1078         * treetree.c
1079         (tm_p.h): Do not include.
1080         (ansidecl.h): Move include after config.h.
1081         (treelang.h): Include it.
1082         (ADDROOT): Remove.
1083         (all): Replace token, production and parameter by prod_token_parm_item.
1084         (tree_parameter_list): Move to treelang.h as part of
1085         prod_token_parm_item.
1086         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
1087         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
1088         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
1089         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
1090         treelang.h.
1091
1092 2002-05-19  Tim Josling  <tej@melbpc.org.au>
1093
1094         * treetree.c (warn_format_zero_length): Add.
1095
1096 2002-05-14  Tim Josling  <tej@melbpc.org.au>
1097
1098         * Make-lang.in: Fix build for .info files, add target for manpages.
1099         A bug report and a suggested patch came from Magnus Fromreide
1100         <magfr@lysator.liu.se>.
1101
1102 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1103
1104         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
1105
1106 2002-05-11  Tim Josling  <tej@melbpc.org.au>
1107
1108         * treetree.c: (cpp_define) Add.
1109         (cpp_get_callbacks) Add.
1110
1111 2002-05-07  Tim Josling  <tej@melbpc.org.au>
1112
1113         * treetree.c: (cpp_get_options) Add.
1114
1115 2002-05-06  Tim Josling  <tej@melbpc.org.au>
1116
1117         * .cvsignore: Add.
1118
1119 2002-05-05  Tim Josling  <tej@melbpc.org.au>
1120
1121         * Updated for gcc3.2 experimental. Major changes throughout.
1122
1123 2002-03-31  Tim Josling  <tej@melbpc.org.au>
1124
1125         * Make-lang.in: Changes so build and check work more reliably
1126
1127 2001-07-30  Tim Josling  <tej@melbpc.org.au>
1128
1129         * root.texi: remove
1130         * treelang.texi: updates based on feedback
1131
1132 2001-06-11  Tim Josling  <tej@melbpc.org.au>
1133
1134         * all (all) Revamp code to conform to GCC coding standards, fix
1135         typos in texi files.
1136
1137 2001-05-11  Tim Josling  <tej@melbpc.org.au>
1138
1139         Create the new language.