1 2003-06-08 Andreas Jaeger <aj@suse.de>
3 * Make-lang.in: Update.
4 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
6 2003-06-08 Tim Josling <tej@melbpc.org.au>
8 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
10 Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
12 * Make-lang.in: Add support for stageprofile and stagefeedback
14 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
16 * treetree.c (reswords): Remove __bounded__, __unbounded__.
18 2003-05-09 Tim Josling <tej@melbpc.org.au>
20 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
21 to link (needed by some front ends such as PPC).
23 * treetree.c (tree_code_create_function_initial): Fix long line.
24 Initialize tree_code_int_size and tree_code_char_size to
26 (tree_code_get_numeric_type): Add check that size1 parameter is
29 * parse.y: Fix extra long lines in prototypes.
31 * treelang.h: Fix extra long lines in macro definitions.
33 2003-05-07 Zack Weinberg <zack@codesourcery.com>
35 * Make-lang.in: Set -Wno-error for treelang/lex.o.
37 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
39 * Make-lang.in (treelang/tree1.o): Depends on input.h
40 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
41 * treelang.h: #include input.h.
43 (struct token_part): Remove lineno, add location.
44 * lex.l (next_tree_lineno): Remove.
45 (update_lineno_charno): Adjust.
46 (dump_lex_value): Adjust.
47 * parse.y (variable_def, function_prototype, function, statement,
48 if_statement, return, function_invocation, variable_ref): Adjust.
49 (print_token, yyerror, ensure_not_void): Adjust.
50 tree1.c (in_fname): Remove.
51 (treelang_init): Setup input_location.
52 (lookup_tree_name): Adjust.
53 (insert_tree_name): Adjust.
54 * treetree.c (tree_code_if_start): Replace filename and lineno
55 parms with loc. Adjust.
56 (tree_code_if_else, tree_code_if_end,
57 tree_code_create_function_prototype,
58 tree_code_create_function_initial,
59 tree_code_create_function_wrapup, tree_code_create_variable,
60 tree_code_output_expression_statement): Likewise.
61 * treetree.h (tree_code_if_start): Replace filename and lineno
63 (tree_code_if_else, tree_code_if_end,
64 tree_code_create_function_prototype,
65 tree_code_create_function_initial,
66 tree_code_create_function_wrapup, tree_code_create_variable,
67 tree_code_output_expression_statement): Likewise.
69 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
71 * tree1.c (treelang_init): Rename lineno to input_line.
73 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
75 * parse.y (make_plus_expression): New function.
76 (expression production): Use make_plus_expression for PLUS,
77 MINUS, ASSIGN and EQUALS.
78 * tree1.c (treelang_decode_option): Don't fall through to
79 options that start with a different character when an option
82 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
84 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
85 * treetree.c: Do not #include parse.h.
87 2003-03-21 Andreas Jaeger <aj@suse.de>
89 * treetree.c (cpp_create_reader): Follow prototype change in
92 2003-03-17 Andreas Jaeger <aj@suse.de>
94 * Make-lang.in (treelang.tags): Remove duplicate entry.
96 2003-03-15 Andreas Jaeger <aj@suse.de>
98 * treetree.c (cpp_handle_option): Remove.
100 2003-03-13 Andreas Jaeger <aj@suse.de>
102 * Make-lang.in (tree1$(exeext)): Fix previous patch.
104 2003-03-12 Andreas Jaeger <aj@suse.de>
106 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
108 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
110 * tree1.c (in_fname): Fix type.
111 (treelang_init): Update prototype and use of in_fname.
112 * treelang.h (in_fname): Fix type.
113 * treetree.c (tree_code_if_start, tree_code_if_else,
114 tree_code_if_end, tree_code_create_function_prototype,
115 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
116 tree_code_create_variable, tree_code_output_expression_statement)
117 : Fix prototypes and use of filenames.
118 * treetree.h: Similarly.
120 2003-03-05 Andreas Jaeger <aj@suse.de>
122 * treetree.c (init_c_lex): Follow change to c-common.h.
124 2003-03-04 Tom Tromey <tromey@redhat.com>
126 * Make-lang.in (treelang.tags): New target.
128 2003-03-01 Tim Josling <tej@melbpc.org.au>
130 Name clashes with rtl.h fixed.
132 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
137 2003-02-24 Tim Josling <tej@melbpc.org.au>
139 * parse.y (my_yylex): New - ensure lexer time is charged to
141 (yylex): redefine as invocation of my_yylex which then calls
142 flex-generated yylex.
143 (timevar.h): include.
145 2003-02-23 Tim Josling <tej@melbpc.org.au>
147 Fix garbage collection, add more error checking, force GC always.
149 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
150 (treelang/treetree.o): Depend on treelang/parse.h
152 * lex.l: include "treetree.h"
154 * lex.l (update_yylval): Allocate string using get_string so GC
157 * parse.y (function_prototype): Set category correctly so GC works.
158 (function): Set category in search so checking works.
159 (function_invocation): Ditto.
160 (variable_ref): Ditto.
162 * tree1.c (lookup_tree_name): Call sanity_check for passed
163 production and associated token and for symbol table entries.
165 * tree1.c (sanity_check): New, basic check that struct is valid.
167 * treelang.h: Prototype for sanity_check.
169 2003-01-27 Tim Josling <tej@melbpc.org.au>
171 * treetree.c (treelang_init_decl_processing): Change memory
172 allocation to use GC.
174 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
176 * treelang.texi: Update to GFDL 1.2.
178 2003-01-26 Michael Matz <matz@suse.de>
180 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
182 2003-01-14 Andreas Jaeger <aj@suse.de>
184 * Make-lang.in (treelang.install-info): Depend only on info files
185 if BUILD_INFO is set. Fix install rules.
188 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
190 * Make-lang.in (treelang.install.common.done,
191 treelang.install-info, treelang.uninstall): Prepend
192 $(DESTDIR) to destination paths in all (un)installation
195 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
197 * treelang.texi: Use @copying.
199 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
201 * treelang.texi: Include gcc-common.texi.
202 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
203 Depend on gcc-common.texi. Add other missing dependencies.
204 (treelang.dvi): Use texi2dvi.
206 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
208 * treelang.texi: Use @ifnottex instead of @ifinfo.
210 2002-11-30 Zack Weinberg <zack@codesourcery.com>
212 * lex.l: Move "%{" below copyright notice; get rid of "/*"
213 embedded in comment. Do not #undef IN_GCC; do not include
214 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
215 Do include coretypes.h and tm.h.
216 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
217 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
218 ansidecl.h. Do include coretypes.h and tm.h.
219 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
220 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
221 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
222 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
223 or ansidecl.h. Do include coretypes.h and tm.h.
224 * Make-lang.in: Update dependencies.
226 2002-09-09 Tim Josling <tej@melbpc.org.au>
228 * treetree.c (objc_is_id): New.
230 2002-08-16 Tim Josling <tej@melbpc.org.au>
232 Remove variables and functions now defined elsewhere.
234 * treetree.c (maybe_objc_comptypes): Remove.
235 (warn_format, warn_format_y2k, warn_format_extra_args,
236 warn_format_nonliteral, warn_format_security,
237 warn_format_zero_length): Remove.
238 (maybe_building_objc_message_expr): Remove.
239 (cpp_post_options): Remove.
240 (maybe_objc_check_decl): Remove.
241 (integer_types): Remove.
244 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
246 * treelang.c: Remove cpp_post_options.
248 2002-08-13 Tim Josling <tej@melbpc.org.au>
250 * parse.y: Provide dummy definition of rtx for use by config.h.
251 * Make-lang.in (treetree.o): Remove dependency on non-existent
252 gt-treelang-treelang.h.
253 (gt-treelang-treelang.h): Remove.
255 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
257 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
259 2002-07-11 Tim Josling <tej@melbpc.org.au>
261 Remove front end hard coding from gengtype.c.
263 * config-lang.in (gtfiles): Add files needed for this front
266 2002-07-09 Tim Josling <tej@melbpc.org.au>
268 Support new attributes regime (Fix for PR c++/7099).
270 * treetree.c (handle_format_attribute): Return NULL_TREE instead
272 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
273 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
274 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
276 2002-06-21 Andreas Jaeger <aj@suse.de>
278 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
279 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
281 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
283 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
286 2002-06-10 Tim Josling <tej@melbpc.org.au>
290 * Make-lang.in (check-treelang). Add. Remove direct dependency of
291 'check' on 'treelang.check' as redundant.
293 PCH Garbage collection regime (gengtypes.c) phase 1.
295 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
296 gt-treelang-treelang.h gtype-treelang.h.
297 (gt-treelang-tree1.h) Depend on s-gtype.
298 (gt-treelang-treelang.h) Depend on s-gtype.
299 (gtype-treelang.h) Depend on s-gtype.
301 * config-lang.in (gtfiles): Define.
303 * lex.l (main): Remove '#if 0' dead code.
304 (main): Move undef of IN_GCC so define of tree typedef works.
305 (all): Replace token and production by prod_token_parm_item.
308 (all): Replace token and production by prod_token_parm_item.
310 * tree1.c (main): Remove include of "output.h".
311 (symbol_table): Add GTY details.
312 (symbol_table_ggc): Remove.
313 (treelang_init): Remove root definitions for garbage collection.
314 (mark_production_used): Remove.
315 (mark_token_used): Remove.
316 (main, at end): include generated garage collection routines.
318 * treelang.h (category_enum ): Add parameter_category.
319 (all): Replace token and production and parameters by union
320 prod_token_parm_item containing production_part, token_part,
322 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
323 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
324 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
325 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
329 (tm_p.h): Do not include.
330 (ansidecl.h): Move include after config.h.
331 (treelang.h): Include it.
333 (all): Replace token, production and parameter by prod_token_parm_item.
334 (tree_parameter_list): Move to treelang.h as part of
335 prod_token_parm_item.
336 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
337 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
338 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
339 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
342 2002-05-19 Tim Josling <tej@melbpc.org.au>
344 * treetree.c (warn_format_zero_length): Add.
346 2002-05-14 Tim Josling <tej@melbpc.org.au>
348 * Make-lang.in: Fix build for .info files, add target for manpages.
349 A bug report and a suggested patch came from Magnus Fromreide
350 <magfr@lysator.liu.se>.
352 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
354 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
356 2002-05-11 Tim Josling <tej@melbpc.org.au>
358 * treetree.c: (cpp_define) Add.
359 (cpp_get_callbacks) Add.
361 2002-05-07 Tim Josling <tej@melbpc.org.au>
363 * treetree.c: (cpp_get_options) Add.
365 2002-05-06 Tim Josling <tej@melbpc.org.au>
369 2002-05-05 Tim Josling <tej@melbpc.org.au>
371 * Updated for gcc3.2 experimental. Major changes throughout.
373 2002-03-31 Tim Josling <tej@melbpc.org.au>
375 * Make-lang.in: Changes so build and check work more reliably
377 2001-07-30 Tim Josling <tej@melbpc.org.au>
380 * treelang.texi: updates based on feedback
382 2001-06-11 Tim Josling <tej@melbpc.org.au>
384 * all (all) Revamp code to conform to GCC coding standards, fix
387 2001-05-11 Tim Josling <tej@melbpc.org.au>
389 Create the new language.