1 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
3 * Make-lang.in: Replace PWD with PWD_COMMAND.
5 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
7 * tree1.c (treelang_init_options): Update prototype.
8 * treelang.h (treelang_init_options): Update prototype.
10 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
12 * Make-lang.in: Update.
13 * tree1.c: Include c-common.h. Define c_language.
15 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
17 * treetree.c (tree_code_create_function_wrapup): Adjust
18 expand_function_end call.
20 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
22 * treetree.c (build_stmt): Remove VPARAMS.
23 (pedwarn_c99): Likewise.
25 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
27 * lang.opt: Declare Treelang. Update.
28 * tree1.c (treelang_init_options): Update.
30 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
32 * treetree.c (tree_code_create_function_initial): Adjust
33 init_function_start call.
35 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
37 * Make-lang.in: Update to use options.c and options.h.
38 * tree1.c: Include options.h not t-options.h.
39 (treelang_init_options): New.
40 (treelang_handle_option): Abort on unrecognized switch.
41 * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
42 * treetree.h (treelang_init_options): New.
44 2003-06-12 Andreas Jaeger <aj@suse.de>
46 * treetree.c: Remove cl_options-count and cl_options.
48 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
50 * Make-lang.in: Update for option handling.
52 * tree1.c: Include opts.h and t-options.h.
53 (treelang_decode_option): Remove.
54 (treelang_handle_option): New.
55 * treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
56 (LANG_HOOKS_HANDLE_OPTION): Override.
57 * treetree.h (treelang_decode_option): Remove.
58 (treelang_handle_option): New.
60 2003-06-08 Andreas Jaeger <aj@suse.de>
62 * Make-lang.in: Update.
63 * treetree.c: Include opts.h. Define cl_options_count and cl_options.
65 2003-06-08 Tim Josling <tej@melbpc.org.au>
67 * treetree.c (c_lex): Add fake routine to satisfy RS6000 backend.
69 Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
71 * Make-lang.in: Add support for stageprofile and stagefeedback
73 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
75 * treetree.c (reswords): Remove __bounded__, __unbounded__.
77 2003-05-09 Tim Josling <tej@melbpc.org.au>
79 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
80 to link (needed by some front ends such as PPC).
82 * treetree.c (tree_code_create_function_initial): Fix long line.
83 Initialize tree_code_int_size and tree_code_char_size to
85 (tree_code_get_numeric_type): Add check that size1 parameter is
88 * parse.y: Fix extra long lines in prototypes.
90 * treelang.h: Fix extra long lines in macro definitions.
92 2003-05-07 Zack Weinberg <zack@codesourcery.com>
94 * Make-lang.in: Set -Wno-error for treelang/lex.o.
96 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
98 * Make-lang.in (treelang/tree1.o): Depends on input.h
99 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
100 * treelang.h: #include input.h.
102 (struct token_part): Remove lineno, add location.
103 * lex.l (next_tree_lineno): Remove.
104 (update_lineno_charno): Adjust.
105 (dump_lex_value): Adjust.
106 * parse.y (variable_def, function_prototype, function, statement,
107 if_statement, return, function_invocation, variable_ref): Adjust.
108 (print_token, yyerror, ensure_not_void): Adjust.
109 tree1.c (in_fname): Remove.
110 (treelang_init): Setup input_location.
111 (lookup_tree_name): Adjust.
112 (insert_tree_name): Adjust.
113 * treetree.c (tree_code_if_start): Replace filename and lineno
114 parms with loc. Adjust.
115 (tree_code_if_else, tree_code_if_end,
116 tree_code_create_function_prototype,
117 tree_code_create_function_initial,
118 tree_code_create_function_wrapup, tree_code_create_variable,
119 tree_code_output_expression_statement): Likewise.
120 * treetree.h (tree_code_if_start): Replace filename and lineno
122 (tree_code_if_else, tree_code_if_end,
123 tree_code_create_function_prototype,
124 tree_code_create_function_initial,
125 tree_code_create_function_wrapup, tree_code_create_variable,
126 tree_code_output_expression_statement): Likewise.
128 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
130 * tree1.c (treelang_init): Rename lineno to input_line.
132 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
134 * parse.y (make_plus_expression): New function.
135 (expression production): Use make_plus_expression for PLUS,
136 MINUS, ASSIGN and EQUALS.
137 * tree1.c (treelang_decode_option): Don't fall through to
138 options that start with a different character when an option
141 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
143 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
144 * treetree.c: Do not #include parse.h.
146 2003-03-21 Andreas Jaeger <aj@suse.de>
148 * treetree.c (cpp_create_reader): Follow prototype change in
151 2003-03-17 Andreas Jaeger <aj@suse.de>
153 * Make-lang.in (treelang.tags): Remove duplicate entry.
155 2003-03-15 Andreas Jaeger <aj@suse.de>
157 * treetree.c (cpp_handle_option): Remove.
159 2003-03-13 Andreas Jaeger <aj@suse.de>
161 * Make-lang.in (tree1$(exeext)): Fix previous patch.
163 2003-03-12 Andreas Jaeger <aj@suse.de>
165 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
167 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
169 * tree1.c (in_fname): Fix type.
170 (treelang_init): Update prototype and use of in_fname.
171 * treelang.h (in_fname): Fix type.
172 * treetree.c (tree_code_if_start, tree_code_if_else,
173 tree_code_if_end, tree_code_create_function_prototype,
174 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
175 tree_code_create_variable, tree_code_output_expression_statement)
176 : Fix prototypes and use of filenames.
177 * treetree.h: Similarly.
179 2003-03-05 Andreas Jaeger <aj@suse.de>
181 * treetree.c (init_c_lex): Follow change to c-common.h.
183 2003-03-04 Tom Tromey <tromey@redhat.com>
185 * Make-lang.in (treelang.tags): New target.
187 2003-03-01 Tim Josling <tej@melbpc.org.au>
189 Name clashes with rtl.h fixed.
191 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
196 2003-02-24 Tim Josling <tej@melbpc.org.au>
198 * parse.y (my_yylex): New - ensure lexer time is charged to
200 (yylex): redefine as invocation of my_yylex which then calls
201 flex-generated yylex.
202 (timevar.h): include.
204 2003-02-23 Tim Josling <tej@melbpc.org.au>
206 Fix garbage collection, add more error checking, force GC always.
208 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
209 (treelang/treetree.o): Depend on treelang/parse.h
211 * lex.l: include "treetree.h"
213 * lex.l (update_yylval): Allocate string using get_string so GC
216 * parse.y (function_prototype): Set category correctly so GC works.
217 (function): Set category in search so checking works.
218 (function_invocation): Ditto.
219 (variable_ref): Ditto.
221 * tree1.c (lookup_tree_name): Call sanity_check for passed
222 production and associated token and for symbol table entries.
224 * tree1.c (sanity_check): New, basic check that struct is valid.
226 * treelang.h: Prototype for sanity_check.
228 2003-01-27 Tim Josling <tej@melbpc.org.au>
230 * treetree.c (treelang_init_decl_processing): Change memory
231 allocation to use GC.
233 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
235 * treelang.texi: Update to GFDL 1.2.
237 2003-01-26 Michael Matz <matz@suse.de>
239 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
241 2003-01-14 Andreas Jaeger <aj@suse.de>
243 * Make-lang.in (treelang.install-info): Depend only on info files
244 if BUILD_INFO is set. Fix install rules.
247 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
249 * Make-lang.in (treelang.install.common.done,
250 treelang.install-info, treelang.uninstall): Prepend
251 $(DESTDIR) to destination paths in all (un)installation
254 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
256 * treelang.texi: Use @copying.
258 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
260 * treelang.texi: Include gcc-common.texi.
261 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
262 Depend on gcc-common.texi. Add other missing dependencies.
263 (treelang.dvi): Use texi2dvi.
265 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
267 * treelang.texi: Use @ifnottex instead of @ifinfo.
269 2002-11-30 Zack Weinberg <zack@codesourcery.com>
271 * lex.l: Move "%{" below copyright notice; get rid of "/*"
272 embedded in comment. Do not #undef IN_GCC; do not include
273 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
274 Do include coretypes.h and tm.h.
275 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
276 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
277 ansidecl.h. Do include coretypes.h and tm.h.
278 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
279 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
280 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
281 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
282 or ansidecl.h. Do include coretypes.h and tm.h.
283 * Make-lang.in: Update dependencies.
285 2002-09-09 Tim Josling <tej@melbpc.org.au>
287 * treetree.c (objc_is_id): New.
289 2002-08-16 Tim Josling <tej@melbpc.org.au>
291 Remove variables and functions now defined elsewhere.
293 * treetree.c (maybe_objc_comptypes): Remove.
294 (warn_format, warn_format_y2k, warn_format_extra_args,
295 warn_format_nonliteral, warn_format_security,
296 warn_format_zero_length): Remove.
297 (maybe_building_objc_message_expr): Remove.
298 (cpp_post_options): Remove.
299 (maybe_objc_check_decl): Remove.
300 (integer_types): Remove.
303 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
305 * treelang.c: Remove cpp_post_options.
307 2002-08-13 Tim Josling <tej@melbpc.org.au>
309 * parse.y: Provide dummy definition of rtx for use by config.h.
310 * Make-lang.in (treetree.o): Remove dependency on non-existent
311 gt-treelang-treelang.h.
312 (gt-treelang-treelang.h): Remove.
314 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
316 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
318 2002-07-11 Tim Josling <tej@melbpc.org.au>
320 Remove front end hard coding from gengtype.c.
322 * config-lang.in (gtfiles): Add files needed for this front
325 2002-07-09 Tim Josling <tej@melbpc.org.au>
327 Support new attributes regime (Fix for PR c++/7099).
329 * treetree.c (handle_format_attribute): Return NULL_TREE instead
331 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
332 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
333 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
335 2002-06-21 Andreas Jaeger <aj@suse.de>
337 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
338 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
340 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
342 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
345 2002-06-10 Tim Josling <tej@melbpc.org.au>
349 * Make-lang.in (check-treelang). Add. Remove direct dependency of
350 'check' on 'treelang.check' as redundant.
352 PCH Garbage collection regime (gengtypes.c) phase 1.
354 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
355 gt-treelang-treelang.h gtype-treelang.h.
356 (gt-treelang-tree1.h) Depend on s-gtype.
357 (gt-treelang-treelang.h) Depend on s-gtype.
358 (gtype-treelang.h) Depend on s-gtype.
360 * config-lang.in (gtfiles): Define.
362 * lex.l (main): Remove '#if 0' dead code.
363 (main): Move undef of IN_GCC so define of tree typedef works.
364 (all): Replace token and production by prod_token_parm_item.
367 (all): Replace token and production by prod_token_parm_item.
369 * tree1.c (main): Remove include of "output.h".
370 (symbol_table): Add GTY details.
371 (symbol_table_ggc): Remove.
372 (treelang_init): Remove root definitions for garbage collection.
373 (mark_production_used): Remove.
374 (mark_token_used): Remove.
375 (main, at end): include generated garage collection routines.
377 * treelang.h (category_enum ): Add parameter_category.
378 (all): Replace token and production and parameters by union
379 prod_token_parm_item containing production_part, token_part,
381 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
382 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
383 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
384 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
388 (tm_p.h): Do not include.
389 (ansidecl.h): Move include after config.h.
390 (treelang.h): Include it.
392 (all): Replace token, production and parameter by prod_token_parm_item.
393 (tree_parameter_list): Move to treelang.h as part of
394 prod_token_parm_item.
395 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
396 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
397 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
398 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
401 2002-05-19 Tim Josling <tej@melbpc.org.au>
403 * treetree.c (warn_format_zero_length): Add.
405 2002-05-14 Tim Josling <tej@melbpc.org.au>
407 * Make-lang.in: Fix build for .info files, add target for manpages.
408 A bug report and a suggested patch came from Magnus Fromreide
409 <magfr@lysator.liu.se>.
411 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
413 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
415 2002-05-11 Tim Josling <tej@melbpc.org.au>
417 * treetree.c: (cpp_define) Add.
418 (cpp_get_callbacks) Add.
420 2002-05-07 Tim Josling <tej@melbpc.org.au>
422 * treetree.c: (cpp_get_options) Add.
424 2002-05-06 Tim Josling <tej@melbpc.org.au>
428 2002-05-05 Tim Josling <tej@melbpc.org.au>
430 * Updated for gcc3.2 experimental. Major changes throughout.
432 2002-03-31 Tim Josling <tej@melbpc.org.au>
434 * Make-lang.in: Changes so build and check work more reliably
436 2001-07-30 Tim Josling <tej@melbpc.org.au>
439 * treelang.texi: updates based on feedback
441 2001-06-11 Tim Josling <tej@melbpc.org.au>
443 * all (all) Revamp code to conform to GCC coding standards, fix
446 2001-05-11 Tim Josling <tej@melbpc.org.au>
448 Create the new language.