1 2003-03-05 Andreas Jaeger <aj@suse.de>
3 * treetree.c (init_c_lex): Follow change to c-common.h.
5 2003-03-04 Tom Tromey <tromey@redhat.com>
7 * Make-lang.in (treelang.tags): New target.
9 2003-03-01 Tim Josling <tej@melbpc.org.au>
11 Name clashes with rtl.h fixed.
13 * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
18 2003-02-24 Tim Josling <tej@melbpc.org.au>
20 * parse.y (my_yylex): New - ensure lexer time is charged to
22 (yylex): redefine as invocation of my_yylex which then calls
26 2003-02-23 Tim Josling <tej@melbpc.org.au>
28 Fix garbage collection, add more error checking, force GC always.
30 * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
31 (treelang/treetree.o): Depend on treelang/parse.h
33 * lex.l: include "treetree.h"
35 * lex.l (update_yylval): Allocate string using get_string so GC
38 * parse.y (function_prototype): Set category correctly so GC works.
39 (function): Set category in search so checking works.
40 (function_invocation): Ditto.
41 (variable_ref): Ditto.
43 * tree1.c (lookup_tree_name): Call sanity_check for passed
44 production and associated token and for symbol table entries.
46 * tree1.c (sanity_check): New, basic check that struct is valid.
48 * treelang.h: Prototype for sanity_check.
50 2003-01-27 Tim Josling <tej@melbpc.org.au>
52 * treetree.c (treelang_init_decl_processing): Change memory
55 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
57 * treelang.texi: Update to GFDL 1.2.
59 2003-01-26 Michael Matz <matz@suse.de>
61 * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
63 2003-01-14 Andreas Jaeger <aj@suse.de>
65 * Make-lang.in (treelang.install-info): Depend only on info files
66 if BUILD_INFO is set. Fix install rules.
69 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
71 * Make-lang.in (treelang.install.common.done,
72 treelang.install-info, treelang.uninstall): Prepend
73 $(DESTDIR) to destination paths in all (un)installation
76 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
78 * treelang.texi: Use @copying.
80 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
82 * treelang.texi: Include gcc-common.texi.
83 * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
84 Depend on gcc-common.texi. Add other missing dependencies.
85 (treelang.dvi): Use texi2dvi.
87 2002-12-22 Joseph S. Myers <jsm@polyomino.org.uk>
89 * treelang.texi: Use @ifnottex instead of @ifinfo.
91 2002-11-30 Zack Weinberg <zack@codesourcery.com>
93 * lex.l: Move "%{" below copyright notice; get rid of "/*"
94 embedded in comment. Do not #undef IN_GCC; do not include
95 stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
96 Do include coretypes.h and tm.h.
97 * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
98 and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
99 ansidecl.h. Do include coretypes.h and tm.h.
100 * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
101 stdarg.h, string.h, or stdio.h. Do include coretypes.h and tm.h.
102 * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
103 errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
104 or ansidecl.h. Do include coretypes.h and tm.h.
105 * Make-lang.in: Update dependencies.
107 2002-09-09 Tim Josling <tej@melbpc.org.au>
109 * treetree.c (objc_is_id): New.
111 2002-08-16 Tim Josling <tej@melbpc.org.au>
113 Remove variables and functions now defined elsewhere.
115 * treetree.c (maybe_objc_comptypes): Remove.
116 (warn_format, warn_format_y2k, warn_format_extra_args,
117 warn_format_nonliteral, warn_format_security,
118 warn_format_zero_length): Remove.
119 (maybe_building_objc_message_expr): Remove.
120 (cpp_post_options): Remove.
121 (maybe_objc_check_decl): Remove.
122 (integer_types): Remove.
125 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
127 * treelang.c: Remove cpp_post_options.
129 2002-08-13 Tim Josling <tej@melbpc.org.au>
131 * parse.y: Provide dummy definition of rtx for use by config.h.
132 * Make-lang.in (treetree.o): Remove dependency on non-existent
133 gt-treelang-treelang.h.
134 (gt-treelang-treelang.h): Remove.
136 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
138 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
140 2002-07-11 Tim Josling <tej@melbpc.org.au>
142 Remove front end hard coding from gengtype.c.
144 * config-lang.in (gtfiles): Add files needed for this front
147 2002-07-09 Tim Josling <tej@melbpc.org.au>
149 Support new attributes regime (Fix for PR c++/7099).
151 * treetree.c (handle_format_attribute): Return NULL_TREE instead
153 (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
154 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
155 LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
157 2002-06-21 Andreas Jaeger <aj@suse.de>
159 * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
160 treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
162 2002-06-19 Paolo Bonzini <bonzini@gnu.org>
164 * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
167 2002-06-10 Tim Josling <tej@melbpc.org.au>
171 * Make-lang.in (check-treelang). Add. Remove direct dependency of
172 'check' on 'treelang.check' as redundant.
174 PCH Garbage collection regime (gengtypes.c) phase 1.
176 * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
177 gt-treelang-treelang.h gtype-treelang.h.
178 (gt-treelang-tree1.h) Depend on s-gtype.
179 (gt-treelang-treelang.h) Depend on s-gtype.
180 (gtype-treelang.h) Depend on s-gtype.
182 * config-lang.in (gtfiles): Define.
184 * lex.l (main): Remove '#if 0' dead code.
185 (main): Move undef of IN_GCC so define of tree typedef works.
186 (all): Replace token and production by prod_token_parm_item.
189 (all): Replace token and production by prod_token_parm_item.
191 * tree1.c (main): Remove include of "output.h".
192 (symbol_table): Add GTY details.
193 (symbol_table_ggc): Remove.
194 (treelang_init): Remove root definitions for garbage collection.
195 (mark_production_used): Remove.
196 (mark_token_used): Remove.
197 (main, at end): include generated garage collection routines.
199 * treelang.h (category_enum ): Add parameter_category.
200 (all): Replace token and production and parameters by union
201 prod_token_parm_item containing production_part, token_part,
203 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
204 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
205 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
206 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
210 (tm_p.h): Do not include.
211 (ansidecl.h): Move include after config.h.
212 (treelang.h): Include it.
214 (all): Replace token, production and parameter by prod_token_parm_item.
215 (tree_parameter_list): Move to treelang.h as part of
216 prod_token_parm_item.
217 (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
218 EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
219 UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
220 EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
223 2002-05-19 Tim Josling <tej@melbpc.org.au>
225 * treetree.c (warn_format_zero_length): Add.
227 2002-05-14 Tim Josling <tej@melbpc.org.au>
229 * Make-lang.in: Fix build for .info files, add target for manpages.
230 A bug report and a suggested patch came from Magnus Fromreide
231 <magfr@lysator.liu.se>.
233 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
235 * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
237 2002-05-11 Tim Josling <tej@melbpc.org.au>
239 * treetree.c: (cpp_define) Add.
240 (cpp_get_callbacks) Add.
242 2002-05-07 Tim Josling <tej@melbpc.org.au>
244 * treetree.c: (cpp_get_options) Add.
246 2002-05-06 Tim Josling <tej@melbpc.org.au>
250 2002-05-05 Tim Josling <tej@melbpc.org.au>
252 * Updated for gcc3.2 experimental. Major changes throughout.
254 2002-03-31 Tim Josling <tej@melbpc.org.au>
256 * Make-lang.in: Changes so build and check work more reliably
258 2001-07-30 Tim Josling <tej@melbpc.org.au>
261 * treelang.texi: updates based on feedback
263 2001-06-11 Tim Josling <tej@melbpc.org.au>
265 * all (all) Revamp code to conform to GCC coding standards, fix
268 2001-05-11 Tim Josling <tej@melbpc.org.au>
270 Create the new language.