1 2003-03-17 Andreas Jaeger <aj@suse.de>
3 * Make-lang.in (treelang.tags): Remove duplicate entry.
5 2003-03-15 Andreas Jaeger <aj@suse.de>
7 * treetree.c (cpp_handle_option): Remove.
9 2003-03-13 Andreas Jaeger <aj@suse.de>
11 * Make-lang.in (tree1$(exeext)): Fix previous patch.
13 2003-03-12 Andreas Jaeger <aj@suse.de>
15 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
17 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
19 * tree1.c (in_fname): Fix type.
20 (treelang_init): Update prototype and use of in_fname.
21 * treelang.h (in_fname): Fix type.
22 * treetree.c (tree_code_if_start, tree_code_if_else,
23 tree_code_if_end, tree_code_create_function_prototype,
24 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
25 tree_code_create_variable, tree_code_output_expression_statement)
26 : Fix prototypes and use of filenames.
27 * treetree.h: Similarly.
29 2003-03-05 Andreas Jaeger <aj@suse.de>
31 * treetree.c (init_c_lex): Follow change to c-common.h.
33 2003-03-04 Tom Tromey <tromey@redhat.com>
35 * Make-lang.in (treelang.tags): New target.
37 2003-03-01 Tim Josling <tej@melbpc.org.au>
39 Name clashes with rtl.h fixed.
41 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
46 2003-02-24 Tim Josling <tej@melbpc.org.au>
48 * parse.y (my_yylex): New - ensure lexer time is charged to
50 (yylex): redefine as invocation of my_yylex which then calls
54 2003-02-23 Tim Josling <tej@melbpc.org.au>
56 Fix garbage collection, add more error checking, force GC always.
58 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
59 (treelang/treetree.o): Depend on treelang/parse.h
61 * lex.l: include "treetree.h"
63 * lex.l (update_yylval): Allocate string using get_string so GC
66 * parse.y (function_prototype): Set category correctly so GC works.
67 (function): Set category in search so checking works.
68 (function_invocation): Ditto.
69 (variable_ref): Ditto.
71 * tree1.c (lookup_tree_name): Call sanity_check for passed
72 production and associated token and for symbol table entries.
74 * tree1.c (sanity_check): New, basic check that struct is valid.
76 * treelang.h: Prototype for sanity_check.
78 2003-01-27 Tim Josling <tej@melbpc.org.au>
80 * treetree.c (treelang_init_decl_processing): Change memory
83 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
85 * treelang.texi: Update to GFDL 1.2.
87 2003-01-26 Michael Matz <matz@suse.de>
89 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
91 2003-01-14 Andreas Jaeger <aj@suse.de>
93 * Make-lang.in (treelang.install-info): Depend only on info files
94 if BUILD_INFO is set. Fix install rules.
97 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
99 * Make-lang.in (treelang.install.common.done,
100 treelang.install-info, treelang.uninstall): Prepend
101 $(DESTDIR) to destination paths in all (un)installation
104 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
106 * treelang.texi: Use @copying.
108 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
110 * treelang.texi: Include gcc-common.texi.
111 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
112 Depend on gcc-common.texi. Add other missing dependencies.
113 (treelang.dvi): Use texi2dvi.
115 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
117 * treelang.texi: Use @ifnottex instead of @ifinfo.
119 2002-11-30 Zack Weinberg <zack@codesourcery.com>
121 * lex.l: Move "%{" below copyright notice; get rid of "/*"
122 embedded in comment. Do not #undef IN_GCC; do not include
123 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
124 Do include coretypes.h and tm.h.
125 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
126 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
127 ansidecl.h. Do include coretypes.h and tm.h.
128 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
129 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
130 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
131 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
132 or ansidecl.h. Do include coretypes.h and tm.h.
133 * Make-lang.in: Update dependencies.
135 2002-09-09 Tim Josling <tej@melbpc.org.au>
137 * treetree.c (objc_is_id): New.
139 2002-08-16 Tim Josling <tej@melbpc.org.au>
141 Remove variables and functions now defined elsewhere.
143 * treetree.c (maybe_objc_comptypes): Remove.
144 (warn_format, warn_format_y2k, warn_format_extra_args,
145 warn_format_nonliteral, warn_format_security,
146 warn_format_zero_length): Remove.
147 (maybe_building_objc_message_expr): Remove.
148 (cpp_post_options): Remove.
149 (maybe_objc_check_decl): Remove.
150 (integer_types): Remove.
153 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
155 * treelang.c: Remove cpp_post_options.
157 2002-08-13 Tim Josling <tej@melbpc.org.au>
159 * parse.y: Provide dummy definition of rtx for use by config.h.
160 * Make-lang.in (treetree.o): Remove dependency on non-existent
161 gt-treelang-treelang.h.
162 (gt-treelang-treelang.h): Remove.
164 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
166 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
168 2002-07-11 Tim Josling <tej@melbpc.org.au>
170 Remove front end hard coding from gengtype.c.
172 * config-lang.in (gtfiles): Add files needed for this front
175 2002-07-09 Tim Josling <tej@melbpc.org.au>
177 Support new attributes regime (Fix for PR c++/7099).
179 * treetree.c (handle_format_attribute): Return NULL_TREE instead
181 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
182 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
183 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
185 2002-06-21 Andreas Jaeger <aj@suse.de>
187 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
188 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
190 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
192 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
195 2002-06-10 Tim Josling <tej@melbpc.org.au>
199 * Make-lang.in (check-treelang). Add. Remove direct dependency of
200 'check' on 'treelang.check' as redundant.
202 PCH Garbage collection regime (gengtypes.c) phase 1.
204 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
205 gt-treelang-treelang.h gtype-treelang.h.
206 (gt-treelang-tree1.h) Depend on s-gtype.
207 (gt-treelang-treelang.h) Depend on s-gtype.
208 (gtype-treelang.h) Depend on s-gtype.
210 * config-lang.in (gtfiles): Define.
212 * lex.l (main): Remove '#if 0' dead code.
213 (main): Move undef of IN_GCC so define of tree typedef works.
214 (all): Replace token and production by prod_token_parm_item.
217 (all): Replace token and production by prod_token_parm_item.
219 * tree1.c (main): Remove include of "output.h".
220 (symbol_table): Add GTY details.
221 (symbol_table_ggc): Remove.
222 (treelang_init): Remove root definitions for garbage collection.
223 (mark_production_used): Remove.
224 (mark_token_used): Remove.
225 (main, at end): include generated garage collection routines.
227 * treelang.h (category_enum ): Add parameter_category.
228 (all): Replace token and production and parameters by union
229 prod_token_parm_item containing production_part, token_part,
231 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
232 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
233 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
234 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
238 (tm_p.h): Do not include.
239 (ansidecl.h): Move include after config.h.
240 (treelang.h): Include it.
242 (all): Replace token, production and parameter by prod_token_parm_item.
243 (tree_parameter_list): Move to treelang.h as part of
244 prod_token_parm_item.
245 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
246 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
247 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
248 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
251 2002-05-19 Tim Josling <tej@melbpc.org.au>
253 * treetree.c (warn_format_zero_length): Add.
255 2002-05-14 Tim Josling <tej@melbpc.org.au>
257 * Make-lang.in: Fix build for .info files, add target for manpages.
258 A bug report and a suggested patch came from Magnus Fromreide
259 <magfr@lysator.liu.se>.
261 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
263 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
265 2002-05-11 Tim Josling <tej@melbpc.org.au>
267 * treetree.c: (cpp_define) Add.
268 (cpp_get_callbacks) Add.
270 2002-05-07 Tim Josling <tej@melbpc.org.au>
272 * treetree.c: (cpp_get_options) Add.
274 2002-05-06 Tim Josling <tej@melbpc.org.au>
278 2002-05-05 Tim Josling <tej@melbpc.org.au>
280 * Updated for gcc3.2 experimental. Major changes throughout.
282 2002-03-31 Tim Josling <tej@melbpc.org.au>
284 * Make-lang.in: Changes so build and check work more reliably
286 2001-07-30 Tim Josling <tej@melbpc.org.au>
289 * treelang.texi: updates based on feedback
291 2001-06-11 Tim Josling <tej@melbpc.org.au>
293 * all (all) Revamp code to conform to GCC coding standards, fix
296 2001-05-11 Tim Josling <tej@melbpc.org.au>
298 Create the new language.