1 2003-03-13 Andreas Jaeger <aj@suse.de>
3 * Make-lang.in (tree1$(exeext)): Fix previous patch.
5 2003-03-12 Andreas Jaeger <aj@suse.de>
7 * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
9 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
11 * tree1.c (in_fname): Fix type.
12 (treelang_init): Update prototype and use of in_fname.
13 * treelang.h (in_fname): Fix type.
14 * treetree.c (tree_code_if_start, tree_code_if_else,
15 tree_code_if_end, tree_code_create_function_prototype,
16 tree_code_create_function_initial, tree_code_create_funciton_wrapup,
17 tree_code_create_variable, tree_code_output_expression_statement)
18 : Fix prototypes and use of filenames.
19 * treetree.h: Similarly.
21 2003-03-05 Andreas Jaeger <aj@suse.de>
23 * treetree.c (init_c_lex): Follow change to c-common.h.
25 2003-03-04 Tom Tromey <tromey@redhat.com>
27 * Make-lang.in (treelang.tags): New target.
29 2003-03-01 Tim Josling <tej@melbpc.org.au>
31 Name clashes with rtl.h fixed.
33 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
38 2003-02-24 Tim Josling <tej@melbpc.org.au>
40 * parse.y (my_yylex): New - ensure lexer time is charged to
42 (yylex): redefine as invocation of my_yylex which then calls
46 2003-02-23 Tim Josling <tej@melbpc.org.au>
48 Fix garbage collection, add more error checking, force GC always.
50 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
51 (treelang/treetree.o): Depend on treelang/parse.h
53 * lex.l: include "treetree.h"
55 * lex.l (update_yylval): Allocate string using get_string so GC
58 * parse.y (function_prototype): Set category correctly so GC works.
59 (function): Set category in search so checking works.
60 (function_invocation): Ditto.
61 (variable_ref): Ditto.
63 * tree1.c (lookup_tree_name): Call sanity_check for passed
64 production and associated token and for symbol table entries.
66 * tree1.c (sanity_check): New, basic check that struct is valid.
68 * treelang.h: Prototype for sanity_check.
70 2003-01-27 Tim Josling <tej@melbpc.org.au>
72 * treetree.c (treelang_init_decl_processing): Change memory
75 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
77 * treelang.texi: Update to GFDL 1.2.
79 2003-01-26 Michael Matz <matz@suse.de>
81 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
83 2003-01-14 Andreas Jaeger <aj@suse.de>
85 * Make-lang.in (treelang.install-info): Depend only on info files
86 if BUILD_INFO is set. Fix install rules.
89 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
91 * Make-lang.in (treelang.install.common.done,
92 treelang.install-info, treelang.uninstall): Prepend
93 $(DESTDIR) to destination paths in all (un)installation
96 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
98 * treelang.texi: Use @copying.
100 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
102 * treelang.texi: Include gcc-common.texi.
103 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
104 Depend on gcc-common.texi. Add other missing dependencies.
105 (treelang.dvi): Use texi2dvi.
107 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
109 * treelang.texi: Use @ifnottex instead of @ifinfo.
111 2002-11-30 Zack Weinberg <zack@codesourcery.com>
113 * lex.l: Move "%{" below copyright notice; get rid of "/*"
114 embedded in comment. Do not #undef IN_GCC; do not include
115 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
116 Do include coretypes.h and tm.h.
117 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
118 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
119 ansidecl.h. Do include coretypes.h and tm.h.
120 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
121 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
122 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
123 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
124 or ansidecl.h. Do include coretypes.h and tm.h.
125 * Make-lang.in: Update dependencies.
127 2002-09-09 Tim Josling <tej@melbpc.org.au>
129 * treetree.c (objc_is_id): New.
131 2002-08-16 Tim Josling <tej@melbpc.org.au>
133 Remove variables and functions now defined elsewhere.
135 * treetree.c (maybe_objc_comptypes): Remove.
136 (warn_format, warn_format_y2k, warn_format_extra_args,
137 warn_format_nonliteral, warn_format_security,
138 warn_format_zero_length): Remove.
139 (maybe_building_objc_message_expr): Remove.
140 (cpp_post_options): Remove.
141 (maybe_objc_check_decl): Remove.
142 (integer_types): Remove.
145 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
147 * treelang.c: Remove cpp_post_options.
149 2002-08-13 Tim Josling <tej@melbpc.org.au>
151 * parse.y: Provide dummy definition of rtx for use by config.h.
152 * Make-lang.in (treetree.o): Remove dependency on non-existent
153 gt-treelang-treelang.h.
154 (gt-treelang-treelang.h): Remove.
156 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
158 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
160 2002-07-11 Tim Josling <tej@melbpc.org.au>
162 Remove front end hard coding from gengtype.c.
164 * config-lang.in (gtfiles): Add files needed for this front
167 2002-07-09 Tim Josling <tej@melbpc.org.au>
169 Support new attributes regime (Fix for PR c++/7099).
171 * treetree.c (handle_format_attribute): Return NULL_TREE instead
173 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
174 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
175 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
177 2002-06-21 Andreas Jaeger <aj@suse.de>
179 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
180 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
182 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
184 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
187 2002-06-10 Tim Josling <tej@melbpc.org.au>
191 * Make-lang.in (check-treelang). Add. Remove direct dependency of
192 'check' on 'treelang.check' as redundant.
194 PCH Garbage collection regime (gengtypes.c) phase 1.
196 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
197 gt-treelang-treelang.h gtype-treelang.h.
198 (gt-treelang-tree1.h) Depend on s-gtype.
199 (gt-treelang-treelang.h) Depend on s-gtype.
200 (gtype-treelang.h) Depend on s-gtype.
202 * config-lang.in (gtfiles): Define.
204 * lex.l (main): Remove '#if 0' dead code.
205 (main): Move undef of IN_GCC so define of tree typedef works.
206 (all): Replace token and production by prod_token_parm_item.
209 (all): Replace token and production by prod_token_parm_item.
211 * tree1.c (main): Remove include of "output.h".
212 (symbol_table): Add GTY details.
213 (symbol_table_ggc): Remove.
214 (treelang_init): Remove root definitions for garbage collection.
215 (mark_production_used): Remove.
216 (mark_token_used): Remove.
217 (main, at end): include generated garage collection routines.
219 * treelang.h (category_enum ): Add parameter_category.
220 (all): Replace token and production and parameters by union
221 prod_token_parm_item containing production_part, token_part,
223 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
224 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
225 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
226 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
230 (tm_p.h): Do not include.
231 (ansidecl.h): Move include after config.h.
232 (treelang.h): Include it.
234 (all): Replace token, production and parameter by prod_token_parm_item.
235 (tree_parameter_list): Move to treelang.h as part of
236 prod_token_parm_item.
237 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
238 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
239 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
240 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
243 2002-05-19 Tim Josling <tej@melbpc.org.au>
245 * treetree.c (warn_format_zero_length): Add.
247 2002-05-14 Tim Josling <tej@melbpc.org.au>
249 * Make-lang.in: Fix build for .info files, add target for manpages.
250 A bug report and a suggested patch came from Magnus Fromreide
251 <magfr@lysator.liu.se>.
253 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
255 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
257 2002-05-11 Tim Josling <tej@melbpc.org.au>
259 * treetree.c: (cpp_define) Add.
260 (cpp_get_callbacks) Add.
262 2002-05-07 Tim Josling <tej@melbpc.org.au>
264 * treetree.c: (cpp_get_options) Add.
266 2002-05-06 Tim Josling <tej@melbpc.org.au>
270 2002-05-05 Tim Josling <tej@melbpc.org.au>
272 * Updated for gcc3.2 experimental. Major changes throughout.
274 2002-03-31 Tim Josling <tej@melbpc.org.au>
276 * Make-lang.in: Changes so build and check work more reliably
278 2001-07-30 Tim Josling <tej@melbpc.org.au>
281 * treelang.texi: updates based on feedback
283 2001-06-11 Tim Josling <tej@melbpc.org.au>
285 * all (all) Revamp code to conform to GCC coding standards, fix
288 2001-05-11 Tim Josling <tej@melbpc.org.au>
290 Create the new language.