1 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
3 * tree1.c (treelang_init): Rename lineno to input_line.
5 2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
7 * parse.y (make_plus_expression): New function.
8 (expression production): Use make_plus_expression for PLUS,
9 MINUS, ASSIGN and EQUALS.
10 * tree1.c (treelang_decode_option): Don't fall through to
11 options that start with a different character when an option
14 2003-04-30 Nathan Sidwell <nathan@codesourcery.com>
16 * Make-lang.in (parse.c): Reorder bison arguments for POSIXLY_CORRECT.
17 * treetree.c: Do not #include parse.h.
19 2003-03-21 Andreas Jaeger <aj@suse.de>
21 * treetree.c (cpp_create_reader): Follow prototype change in
24 2003-03-17 Andreas Jaeger <aj@suse.de>
26 * Make-lang.in (treelang.tags): Remove duplicate entry.
28 2003-03-15 Andreas Jaeger <aj@suse.de>
30 * treetree.c (cpp_handle_option): Remove.
32 2003-03-13 Andreas Jaeger <aj@suse.de>
34 * Make-lang.in (tree1$(exeext)): Fix previous patch.
36 2003-03-12 Andreas Jaeger <aj@suse.de>
38 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
40 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
42 * tree1.c (in_fname): Fix type.
43 (treelang_init): Update prototype and use of in_fname.
44 * treelang.h (in_fname): Fix type.
45 * treetree.c (tree_code_if_start, tree_code_if_else,
46 tree_code_if_end, tree_code_create_function_prototype,
47 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
48 tree_code_create_variable, tree_code_output_expression_statement)
49 : Fix prototypes and use of filenames.
50 * treetree.h: Similarly.
52 2003-03-05 Andreas Jaeger <aj@suse.de>
54 * treetree.c (init_c_lex): Follow change to c-common.h.
56 2003-03-04 Tom Tromey <tromey@redhat.com>
58 * Make-lang.in (treelang.tags): New target.
60 2003-03-01 Tim Josling <tej@melbpc.org.au>
62 Name clashes with rtl.h fixed.
64 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
69 2003-02-24 Tim Josling <tej@melbpc.org.au>
71 * parse.y (my_yylex): New - ensure lexer time is charged to
73 (yylex): redefine as invocation of my_yylex which then calls
77 2003-02-23 Tim Josling <tej@melbpc.org.au>
79 Fix garbage collection, add more error checking, force GC always.
81 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
82 (treelang/treetree.o): Depend on treelang/parse.h
84 * lex.l: include "treetree.h"
86 * lex.l (update_yylval): Allocate string using get_string so GC
89 * parse.y (function_prototype): Set category correctly so GC works.
90 (function): Set category in search so checking works.
91 (function_invocation): Ditto.
92 (variable_ref): Ditto.
94 * tree1.c (lookup_tree_name): Call sanity_check for passed
95 production and associated token and for symbol table entries.
97 * tree1.c (sanity_check): New, basic check that struct is valid.
99 * treelang.h: Prototype for sanity_check.
101 2003-01-27 Tim Josling <tej@melbpc.org.au>
103 * treetree.c (treelang_init_decl_processing): Change memory
104 allocation to use GC.
106 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
108 * treelang.texi: Update to GFDL 1.2.
110 2003-01-26 Michael Matz <matz@suse.de>
112 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
114 2003-01-14 Andreas Jaeger <aj@suse.de>
116 * Make-lang.in (treelang.install-info): Depend only on info files
117 if BUILD_INFO is set. Fix install rules.
120 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
122 * Make-lang.in (treelang.install.common.done,
123 treelang.install-info, treelang.uninstall): Prepend
124 $(DESTDIR) to destination paths in all (un)installation
127 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
129 * treelang.texi: Use @copying.
131 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
133 * treelang.texi: Include gcc-common.texi.
134 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
135 Depend on gcc-common.texi. Add other missing dependencies.
136 (treelang.dvi): Use texi2dvi.
138 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
140 * treelang.texi: Use @ifnottex instead of @ifinfo.
142 2002-11-30 Zack Weinberg <zack@codesourcery.com>
144 * lex.l: Move "%{" below copyright notice; get rid of "/*"
145 embedded in comment. Do not #undef IN_GCC; do not include
146 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
147 Do include coretypes.h and tm.h.
148 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
149 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
150 ansidecl.h. Do include coretypes.h and tm.h.
151 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
152 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
153 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
154 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
155 or ansidecl.h. Do include coretypes.h and tm.h.
156 * Make-lang.in: Update dependencies.
158 2002-09-09 Tim Josling <tej@melbpc.org.au>
160 * treetree.c (objc_is_id): New.
162 2002-08-16 Tim Josling <tej@melbpc.org.au>
164 Remove variables and functions now defined elsewhere.
166 * treetree.c (maybe_objc_comptypes): Remove.
167 (warn_format, warn_format_y2k, warn_format_extra_args,
168 warn_format_nonliteral, warn_format_security,
169 warn_format_zero_length): Remove.
170 (maybe_building_objc_message_expr): Remove.
171 (cpp_post_options): Remove.
172 (maybe_objc_check_decl): Remove.
173 (integer_types): Remove.
176 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
178 * treelang.c: Remove cpp_post_options.
180 2002-08-13 Tim Josling <tej@melbpc.org.au>
182 * parse.y: Provide dummy definition of rtx for use by config.h.
183 * Make-lang.in (treetree.o): Remove dependency on non-existent
184 gt-treelang-treelang.h.
185 (gt-treelang-treelang.h): Remove.
187 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
189 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
191 2002-07-11 Tim Josling <tej@melbpc.org.au>
193 Remove front end hard coding from gengtype.c.
195 * config-lang.in (gtfiles): Add files needed for this front
198 2002-07-09 Tim Josling <tej@melbpc.org.au>
200 Support new attributes regime (Fix for PR c++/7099).
202 * treetree.c (handle_format_attribute): Return NULL_TREE instead
204 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
205 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
206 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
208 2002-06-21 Andreas Jaeger <aj@suse.de>
210 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
211 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
213 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
215 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
218 2002-06-10 Tim Josling <tej@melbpc.org.au>
222 * Make-lang.in (check-treelang). Add. Remove direct dependency of
223 'check' on 'treelang.check' as redundant.
225 PCH Garbage collection regime (gengtypes.c) phase 1.
227 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
228 gt-treelang-treelang.h gtype-treelang.h.
229 (gt-treelang-tree1.h) Depend on s-gtype.
230 (gt-treelang-treelang.h) Depend on s-gtype.
231 (gtype-treelang.h) Depend on s-gtype.
233 * config-lang.in (gtfiles): Define.
235 * lex.l (main): Remove '#if 0' dead code.
236 (main): Move undef of IN_GCC so define of tree typedef works.
237 (all): Replace token and production by prod_token_parm_item.
240 (all): Replace token and production by prod_token_parm_item.
242 * tree1.c (main): Remove include of "output.h".
243 (symbol_table): Add GTY details.
244 (symbol_table_ggc): Remove.
245 (treelang_init): Remove root definitions for garbage collection.
246 (mark_production_used): Remove.
247 (mark_token_used): Remove.
248 (main, at end): include generated garage collection routines.
250 * treelang.h (category_enum ): Add parameter_category.
251 (all): Replace token and production and parameters by union
252 prod_token_parm_item containing production_part, token_part,
254 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
255 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
256 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
257 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
261 (tm_p.h): Do not include.
262 (ansidecl.h): Move include after config.h.
263 (treelang.h): Include it.
265 (all): Replace token, production and parameter by prod_token_parm_item.
266 (tree_parameter_list): Move to treelang.h as part of
267 prod_token_parm_item.
268 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
269 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
270 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
271 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
274 2002-05-19 Tim Josling <tej@melbpc.org.au>
276 * treetree.c (warn_format_zero_length): Add.
278 2002-05-14 Tim Josling <tej@melbpc.org.au>
280 * Make-lang.in: Fix build for .info files, add target for manpages.
281 A bug report and a suggested patch came from Magnus Fromreide
282 <magfr@lysator.liu.se>.
284 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
286 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
288 2002-05-11 Tim Josling <tej@melbpc.org.au>
290 * treetree.c: (cpp_define) Add.
291 (cpp_get_callbacks) Add.
293 2002-05-07 Tim Josling <tej@melbpc.org.au>
295 * treetree.c: (cpp_get_options) Add.
297 2002-05-06 Tim Josling <tej@melbpc.org.au>
301 2002-05-05 Tim Josling <tej@melbpc.org.au>
303 * Updated for gcc3.2 experimental. Major changes throughout.
305 2002-03-31 Tim Josling <tej@melbpc.org.au>
307 * Make-lang.in: Changes so build and check work more reliably
309 2001-07-30 Tim Josling <tej@melbpc.org.au>
312 * treelang.texi: updates based on feedback
314 2001-06-11 Tim Josling <tej@melbpc.org.au>
316 * all (all) Revamp code to conform to GCC coding standards, fix
319 2001-05-11 Tim Josling <tej@melbpc.org.au>
321 Create the new language.