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