1 2003-06-12 Andreas Jaeger <aj@suse.de>
3 * treetree.c: Remove cl_options-count and cl_options.
5 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
7 * Make-lang.in: Update for option handling.
9 * tree1.c: Include opts.h and t-options.h.
10 (treelang_decode_option): Remove.
11 (treelang_handle_option): New.
12 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
13 (LANG_HOOKS_HANDLE_OPTION): Override.
14 * treetree.h (treelang_decode_option): Remove.
15 (treelang_handle_option): New.
17 2003-06-08 Andreas Jaeger <aj@suse.de>
19 * Make-lang.in: Update.
20 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
22 2003-06-08 Tim Josling <tej@melbpc.org.au>
24 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
26 Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
28 * Make-lang.in: Add support for stageprofile and stagefeedback
30 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
32 * treetree.c (reswords): Remove __bounded__, __unbounded__.
34 2003-05-09 Tim Josling <tej@melbpc.org.au>
36 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
37 to link (needed by some front ends such as PPC).
39 * treetree.c (tree_code_create_function_initial): Fix long line.
40 Initialize tree_code_int_size and tree_code_char_size to
42 (tree_code_get_numeric_type): Add check that size1 parameter is
45 * parse.y: Fix extra long lines in prototypes.
47 * treelang.h: Fix extra long lines in macro definitions.
49 2003-05-07 Zack Weinberg <zack@codesourcery.com>
51 * Make-lang.in: Set -Wno-error for treelang/lex.o.
53 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
55 * Make-lang.in (treelang/tree1.o): Depends on input.h
56 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
57 * treelang.h: #include input.h.
59 (struct token_part): Remove lineno, add location.
60 * lex.l (next_tree_lineno): Remove.
61 (update_lineno_charno): Adjust.
62 (dump_lex_value): Adjust.
63 * parse.y (variable_def, function_prototype, function, statement,
64 if_statement, return, function_invocation, variable_ref): Adjust.
65 (print_token, yyerror, ensure_not_void): Adjust.
66 tree1.c (in_fname): Remove.
67 (treelang_init): Setup input_location.
68 (lookup_tree_name): Adjust.
69 (insert_tree_name): Adjust.
70 * treetree.c (tree_code_if_start): Replace filename and lineno
71 parms with loc. Adjust.
72 (tree_code_if_else, tree_code_if_end,
73 tree_code_create_function_prototype,
74 tree_code_create_function_initial,
75 tree_code_create_function_wrapup, tree_code_create_variable,
76 tree_code_output_expression_statement): Likewise.
77 * treetree.h (tree_code_if_start): Replace filename and lineno
79 (tree_code_if_else, tree_code_if_end,
80 tree_code_create_function_prototype,
81 tree_code_create_function_initial,
82 tree_code_create_function_wrapup, tree_code_create_variable,
83 tree_code_output_expression_statement): Likewise.
85 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
87 * tree1.c (treelang_init): Rename lineno to input_line.
89 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
91 * parse.y (make_plus_expression): New function.
92 (expression production): Use make_plus_expression for PLUS,
93 MINUS, ASSIGN and EQUALS.
94 * tree1.c (treelang_decode_option): Don't fall through to
95 options that start with a different character when an option
98 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
100 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
101 * treetree.c: Do not #include parse.h.
103 2003-03-21 Andreas Jaeger <aj@suse.de>
105 * treetree.c (cpp_create_reader): Follow prototype change in
108 2003-03-17 Andreas Jaeger <aj@suse.de>
110 * Make-lang.in (treelang.tags): Remove duplicate entry.
112 2003-03-15 Andreas Jaeger <aj@suse.de>
114 * treetree.c (cpp_handle_option): Remove.
116 2003-03-13 Andreas Jaeger <aj@suse.de>
118 * Make-lang.in (tree1$(exeext)): Fix previous patch.
120 2003-03-12 Andreas Jaeger <aj@suse.de>
122 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
124 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
126 * tree1.c (in_fname): Fix type.
127 (treelang_init): Update prototype and use of in_fname.
128 * treelang.h (in_fname): Fix type.
129 * treetree.c (tree_code_if_start, tree_code_if_else,
130 tree_code_if_end, tree_code_create_function_prototype,
131 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
132 tree_code_create_variable, tree_code_output_expression_statement)
133 : Fix prototypes and use of filenames.
134 * treetree.h: Similarly.
136 2003-03-05 Andreas Jaeger <aj@suse.de>
138 * treetree.c (init_c_lex): Follow change to c-common.h.
140 2003-03-04 Tom Tromey <tromey@redhat.com>
142 * Make-lang.in (treelang.tags): New target.
144 2003-03-01 Tim Josling <tej@melbpc.org.au>
146 Name clashes with rtl.h fixed.
148 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
153 2003-02-24 Tim Josling <tej@melbpc.org.au>
155 * parse.y (my_yylex): New - ensure lexer time is charged to
157 (yylex): redefine as invocation of my_yylex which then calls
158 flex-generated yylex.
159 (timevar.h): include.
161 2003-02-23 Tim Josling <tej@melbpc.org.au>
163 Fix garbage collection, add more error checking, force GC always.
165 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
166 (treelang/treetree.o): Depend on treelang/parse.h
168 * lex.l: include "treetree.h"
170 * lex.l (update_yylval): Allocate string using get_string so GC
173 * parse.y (function_prototype): Set category correctly so GC works.
174 (function): Set category in search so checking works.
175 (function_invocation): Ditto.
176 (variable_ref): Ditto.
178 * tree1.c (lookup_tree_name): Call sanity_check for passed
179 production and associated token and for symbol table entries.
181 * tree1.c (sanity_check): New, basic check that struct is valid.
183 * treelang.h: Prototype for sanity_check.
185 2003-01-27 Tim Josling <tej@melbpc.org.au>
187 * treetree.c (treelang_init_decl_processing): Change memory
188 allocation to use GC.
190 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
192 * treelang.texi: Update to GFDL 1.2.
194 2003-01-26 Michael Matz <matz@suse.de>
196 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
198 2003-01-14 Andreas Jaeger <aj@suse.de>
200 * Make-lang.in (treelang.install-info): Depend only on info files
201 if BUILD_INFO is set. Fix install rules.
204 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
206 * Make-lang.in (treelang.install.common.done,
207 treelang.install-info, treelang.uninstall): Prepend
208 $(DESTDIR) to destination paths in all (un)installation
211 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
213 * treelang.texi: Use @copying.
215 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
217 * treelang.texi: Include gcc-common.texi.
218 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
219 Depend on gcc-common.texi. Add other missing dependencies.
220 (treelang.dvi): Use texi2dvi.
222 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
224 * treelang.texi: Use @ifnottex instead of @ifinfo.
226 2002-11-30 Zack Weinberg <zack@codesourcery.com>
228 * lex.l: Move "%{" below copyright notice; get rid of "/*"
229 embedded in comment. Do not #undef IN_GCC; do not include
230 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
231 Do include coretypes.h and tm.h.
232 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
233 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
234 ansidecl.h. Do include coretypes.h and tm.h.
235 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
236 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
237 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
238 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
239 or ansidecl.h. Do include coretypes.h and tm.h.
240 * Make-lang.in: Update dependencies.
242 2002-09-09 Tim Josling <tej@melbpc.org.au>
244 * treetree.c (objc_is_id): New.
246 2002-08-16 Tim Josling <tej@melbpc.org.au>
248 Remove variables and functions now defined elsewhere.
250 * treetree.c (maybe_objc_comptypes): Remove.
251 (warn_format, warn_format_y2k, warn_format_extra_args,
252 warn_format_nonliteral, warn_format_security,
253 warn_format_zero_length): Remove.
254 (maybe_building_objc_message_expr): Remove.
255 (cpp_post_options): Remove.
256 (maybe_objc_check_decl): Remove.
257 (integer_types): Remove.
260 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
262 * treelang.c: Remove cpp_post_options.
264 2002-08-13 Tim Josling <tej@melbpc.org.au>
266 * parse.y: Provide dummy definition of rtx for use by config.h.
267 * Make-lang.in (treetree.o): Remove dependency on non-existent
268 gt-treelang-treelang.h.
269 (gt-treelang-treelang.h): Remove.
271 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
273 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
275 2002-07-11 Tim Josling <tej@melbpc.org.au>
277 Remove front end hard coding from gengtype.c.
279 * config-lang.in (gtfiles): Add files needed for this front
282 2002-07-09 Tim Josling <tej@melbpc.org.au>
284 Support new attributes regime (Fix for PR c++/7099).
286 * treetree.c (handle_format_attribute): Return NULL_TREE instead
288 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
289 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
290 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
292 2002-06-21 Andreas Jaeger <aj@suse.de>
294 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
295 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
297 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
299 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
302 2002-06-10 Tim Josling <tej@melbpc.org.au>
306 * Make-lang.in (check-treelang). Add. Remove direct dependency of
307 'check' on 'treelang.check' as redundant.
309 PCH Garbage collection regime (gengtypes.c) phase 1.
311 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
312 gt-treelang-treelang.h gtype-treelang.h.
313 (gt-treelang-tree1.h) Depend on s-gtype.
314 (gt-treelang-treelang.h) Depend on s-gtype.
315 (gtype-treelang.h) Depend on s-gtype.
317 * config-lang.in (gtfiles): Define.
319 * lex.l (main): Remove '#if 0' dead code.
320 (main): Move undef of IN_GCC so define of tree typedef works.
321 (all): Replace token and production by prod_token_parm_item.
324 (all): Replace token and production by prod_token_parm_item.
326 * tree1.c (main): Remove include of "output.h".
327 (symbol_table): Add GTY details.
328 (symbol_table_ggc): Remove.
329 (treelang_init): Remove root definitions for garbage collection.
330 (mark_production_used): Remove.
331 (mark_token_used): Remove.
332 (main, at end): include generated garage collection routines.
334 * treelang.h (category_enum ): Add parameter_category.
335 (all): Replace token and production and parameters by union
336 prod_token_parm_item containing production_part, token_part,
338 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
339 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
340 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
341 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
345 (tm_p.h): Do not include.
346 (ansidecl.h): Move include after config.h.
347 (treelang.h): Include it.
349 (all): Replace token, production and parameter by prod_token_parm_item.
350 (tree_parameter_list): Move to treelang.h as part of
351 prod_token_parm_item.
352 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
353 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
354 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
355 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
358 2002-05-19 Tim Josling <tej@melbpc.org.au>
360 * treetree.c (warn_format_zero_length): Add.
362 2002-05-14 Tim Josling <tej@melbpc.org.au>
364 * Make-lang.in: Fix build for .info files, add target for manpages.
365 A bug report and a suggested patch came from Magnus Fromreide
366 <magfr@lysator.liu.se>.
368 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
370 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
372 2002-05-11 Tim Josling <tej@melbpc.org.au>
374 * treetree.c: (cpp_define) Add.
375 (cpp_get_callbacks) Add.
377 2002-05-07 Tim Josling <tej@melbpc.org.au>
379 * treetree.c: (cpp_get_options) Add.
381 2002-05-06 Tim Josling <tej@melbpc.org.au>
385 2002-05-05 Tim Josling <tej@melbpc.org.au>
387 * Updated for gcc3.2 experimental. Major changes throughout.
389 2002-03-31 Tim Josling <tej@melbpc.org.au>
391 * Make-lang.in: Changes so build and check work more reliably
393 2001-07-30 Tim Josling <tej@melbpc.org.au>
396 * treelang.texi: updates based on feedback
398 2001-06-11 Tim Josling <tej@melbpc.org.au>
400 * all (all) Revamp code to conform to GCC coding standards, fix
403 2001-05-11 Tim Josling <tej@melbpc.org.au>
405 Create the new language.