1 2003-05-21 Nathan Sidwell <nathan@codesourcery.com>
3 * treetree.c (reswords): Remove __bounded__, __unbounded__.
5 2003-05-09 Tim Josling <tej@melbpc.org.au>
7 * Make-lang.in (TREE_BE_LIBS): Add C_TARGET_OBJS to object files
8 to link (needed by some front ends such as PPC).
10 * treetree.c (tree_code_create_function_initial): Fix long line.
11 Initialize tree_code_int_size and tree_code_char_size to
13 (tree_code_get_numeric_type): Add check that size1 parameter is
16 * parse.y: Fix extra long lines in prototypes.
18 * treelang.h: Fix extra long lines in macro definitions.
20 2003-05-07 Zack Weinberg <zack@codesourcery.com>
22 * Make-lang.in: Set -Wno-error for treelang/lex.o.
24 2003-05-06 Nathan Sidwell <nathan@codesourcery.com>
26 * Make-lang.in (treelang/tree1.o): Depends on input.h
27 (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
28 * treelang.h: #include input.h.
30 (struct token_part): Remove lineno, add location.
31 * lex.l (next_tree_lineno): Remove.
32 (update_lineno_charno): Adjust.
33 (dump_lex_value): Adjust.
34 * parse.y (variable_def, function_prototype, function, statement,
35 if_statement, return, function_invocation, variable_ref): Adjust.
36 (print_token, yyerror, ensure_not_void): Adjust.
37 tree1.c (in_fname): Remove.
38 (treelang_init): Setup input_location.
39 (lookup_tree_name): Adjust.
40 (insert_tree_name): Adjust.
41 * treetree.c (tree_code_if_start): Replace filename and lineno
42 parms with loc. Adjust.
43 (tree_code_if_else, tree_code_if_end,
44 tree_code_create_function_prototype,
45 tree_code_create_function_initial,
46 tree_code_create_function_wrapup, tree_code_create_variable,
47 tree_code_output_expression_statement): Likewise.
48 * treetree.h (tree_code_if_start): Replace filename and lineno
50 (tree_code_if_else, tree_code_if_end,
51 tree_code_create_function_prototype,
52 tree_code_create_function_initial,
53 tree_code_create_function_wrapup, tree_code_create_variable,
54 tree_code_output_expression_statement): Likewise.
56 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
58 * tree1.c (treelang_init): Rename lineno to input_line.
60 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
62 * parse.y (make_plus_expression): New function.
63 (expression production): Use make_plus_expression for PLUS,
64 MINUS, ASSIGN and EQUALS.
65 * tree1.c (treelang_decode_option): Don't fall through to
66 options that start with a different character when an option
69 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
71 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
72 * treetree.c: Do not #include parse.h.
74 2003-03-21 Andreas Jaeger <aj@suse.de>
76 * treetree.c (cpp_create_reader): Follow prototype change in
79 2003-03-17 Andreas Jaeger <aj@suse.de>
81 * Make-lang.in (treelang.tags): Remove duplicate entry.
83 2003-03-15 Andreas Jaeger <aj@suse.de>
85 * treetree.c (cpp_handle_option): Remove.
87 2003-03-13 Andreas Jaeger <aj@suse.de>
89 * Make-lang.in (tree1$(exeext)): Fix previous patch.
91 2003-03-12 Andreas Jaeger <aj@suse.de>
93 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
95 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
97 * tree1.c (in_fname): Fix type.
98 (treelang_init): Update prototype and use of in_fname.
99 * treelang.h (in_fname): Fix type.
100 * treetree.c (tree_code_if_start, tree_code_if_else,
101 tree_code_if_end, tree_code_create_function_prototype,
102 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
103 tree_code_create_variable, tree_code_output_expression_statement)
104 : Fix prototypes and use of filenames.
105 * treetree.h: Similarly.
107 2003-03-05 Andreas Jaeger <aj@suse.de>
109 * treetree.c (init_c_lex): Follow change to c-common.h.
111 2003-03-04 Tom Tromey <tromey@redhat.com>
113 * Make-lang.in (treelang.tags): New target.
115 2003-03-01 Tim Josling <tej@melbpc.org.au>
117 Name clashes with rtl.h fixed.
119 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
124 2003-02-24 Tim Josling <tej@melbpc.org.au>
126 * parse.y (my_yylex): New - ensure lexer time is charged to
128 (yylex): redefine as invocation of my_yylex which then calls
129 flex-generated yylex.
130 (timevar.h): include.
132 2003-02-23 Tim Josling <tej@melbpc.org.au>
134 Fix garbage collection, add more error checking, force GC always.
136 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
137 (treelang/treetree.o): Depend on treelang/parse.h
139 * lex.l: include "treetree.h"
141 * lex.l (update_yylval): Allocate string using get_string so GC
144 * parse.y (function_prototype): Set category correctly so GC works.
145 (function): Set category in search so checking works.
146 (function_invocation): Ditto.
147 (variable_ref): Ditto.
149 * tree1.c (lookup_tree_name): Call sanity_check for passed
150 production and associated token and for symbol table entries.
152 * tree1.c (sanity_check): New, basic check that struct is valid.
154 * treelang.h: Prototype for sanity_check.
156 2003-01-27 Tim Josling <tej@melbpc.org.au>
158 * treetree.c (treelang_init_decl_processing): Change memory
159 allocation to use GC.
161 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
163 * treelang.texi: Update to GFDL 1.2.
165 2003-01-26 Michael Matz <matz@suse.de>
167 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
169 2003-01-14 Andreas Jaeger <aj@suse.de>
171 * Make-lang.in (treelang.install-info): Depend only on info files
172 if BUILD_INFO is set. Fix install rules.
175 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
177 * Make-lang.in (treelang.install.common.done,
178 treelang.install-info, treelang.uninstall): Prepend
179 $(DESTDIR) to destination paths in all (un)installation
182 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
184 * treelang.texi: Use @copying.
186 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
188 * treelang.texi: Include gcc-common.texi.
189 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
190 Depend on gcc-common.texi. Add other missing dependencies.
191 (treelang.dvi): Use texi2dvi.
193 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
195 * treelang.texi: Use @ifnottex instead of @ifinfo.
197 2002-11-30 Zack Weinberg <zack@codesourcery.com>
199 * lex.l: Move "%{" below copyright notice; get rid of "/*"
200 embedded in comment. Do not #undef IN_GCC; do not include
201 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
202 Do include coretypes.h and tm.h.
203 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
204 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
205 ansidecl.h. Do include coretypes.h and tm.h.
206 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
207 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
208 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
209 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
210 or ansidecl.h. Do include coretypes.h and tm.h.
211 * Make-lang.in: Update dependencies.
213 2002-09-09 Tim Josling <tej@melbpc.org.au>
215 * treetree.c (objc_is_id): New.
217 2002-08-16 Tim Josling <tej@melbpc.org.au>
219 Remove variables and functions now defined elsewhere.
221 * treetree.c (maybe_objc_comptypes): Remove.
222 (warn_format, warn_format_y2k, warn_format_extra_args,
223 warn_format_nonliteral, warn_format_security,
224 warn_format_zero_length): Remove.
225 (maybe_building_objc_message_expr): Remove.
226 (cpp_post_options): Remove.
227 (maybe_objc_check_decl): Remove.
228 (integer_types): Remove.
231 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
233 * treelang.c: Remove cpp_post_options.
235 2002-08-13 Tim Josling <tej@melbpc.org.au>
237 * parse.y: Provide dummy definition of rtx for use by config.h.
238 * Make-lang.in (treetree.o): Remove dependency on non-existent
239 gt-treelang-treelang.h.
240 (gt-treelang-treelang.h): Remove.
242 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
244 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
246 2002-07-11 Tim Josling <tej@melbpc.org.au>
248 Remove front end hard coding from gengtype.c.
250 * config-lang.in (gtfiles): Add files needed for this front
253 2002-07-09 Tim Josling <tej@melbpc.org.au>
255 Support new attributes regime (Fix for PR c++/7099).
257 * treetree.c (handle_format_attribute): Return NULL_TREE instead
259 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
260 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
261 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
263 2002-06-21 Andreas Jaeger <aj@suse.de>
265 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
266 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
268 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
270 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
273 2002-06-10 Tim Josling <tej@melbpc.org.au>
277 * Make-lang.in (check-treelang). Add. Remove direct dependency of
278 'check' on 'treelang.check' as redundant.
280 PCH Garbage collection regime (gengtypes.c) phase 1.
282 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
283 gt-treelang-treelang.h gtype-treelang.h.
284 (gt-treelang-tree1.h) Depend on s-gtype.
285 (gt-treelang-treelang.h) Depend on s-gtype.
286 (gtype-treelang.h) Depend on s-gtype.
288 * config-lang.in (gtfiles): Define.
290 * lex.l (main): Remove '#if 0' dead code.
291 (main): Move undef of IN_GCC so define of tree typedef works.
292 (all): Replace token and production by prod_token_parm_item.
295 (all): Replace token and production by prod_token_parm_item.
297 * tree1.c (main): Remove include of "output.h".
298 (symbol_table): Add GTY details.
299 (symbol_table_ggc): Remove.
300 (treelang_init): Remove root definitions for garbage collection.
301 (mark_production_used): Remove.
302 (mark_token_used): Remove.
303 (main, at end): include generated garage collection routines.
305 * treelang.h (category_enum ): Add parameter_category.
306 (all): Replace token and production and parameters by union
307 prod_token_parm_item containing production_part, token_part,
309 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
310 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
311 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
312 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
316 (tm_p.h): Do not include.
317 (ansidecl.h): Move include after config.h.
318 (treelang.h): Include it.
320 (all): Replace token, production and parameter by prod_token_parm_item.
321 (tree_parameter_list): Move to treelang.h as part of
322 prod_token_parm_item.
323 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
324 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
325 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
326 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
329 2002-05-19 Tim Josling <tej@melbpc.org.au>
331 * treetree.c (warn_format_zero_length): Add.
333 2002-05-14 Tim Josling <tej@melbpc.org.au>
335 * Make-lang.in: Fix build for .info files, add target for manpages.
336 A bug report and a suggested patch came from Magnus Fromreide
337 <magfr@lysator.liu.se>.
339 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
341 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
343 2002-05-11 Tim Josling <tej@melbpc.org.au>
345 * treetree.c: (cpp_define) Add.
346 (cpp_get_callbacks) Add.
348 2002-05-07 Tim Josling <tej@melbpc.org.au>
350 * treetree.c: (cpp_get_options) Add.
352 2002-05-06 Tim Josling <tej@melbpc.org.au>
356 2002-05-05 Tim Josling <tej@melbpc.org.au>
358 * Updated for gcc3.2 experimental. Major changes throughout.
360 2002-03-31 Tim Josling <tej@melbpc.org.au>
362 * Make-lang.in: Changes so build and check work more reliably
364 2001-07-30 Tim Josling <tej@melbpc.org.au>
367 * treelang.texi: updates based on feedback
369 2001-06-11 Tim Josling <tej@melbpc.org.au>
371 * all (all) Revamp code to conform to GCC coding standards, fix
374 2001-05-11 Tim Josling <tej@melbpc.org.au>
376 Create the new language.