config/sparc/sol2-bi.h: Revert previous delta.
[official-gcc.git] / gcc / treelang / ChangeLog
blob64bb4bc719b2f6f17a4c3cd3b4ace916039c0ea3
1 2003-03-21  Andreas Jaeger  <aj@suse.de>
3         * treetree.c (cpp_create_reader): Follow prototype change in
4         cpplib.h.
6 2003-03-17  Andreas Jaeger  <aj@suse.de>
8         * Make-lang.in (treelang.tags): Remove duplicate entry.
10 2003-03-15  Andreas Jaeger  <aj@suse.de>
12         * treetree.c (cpp_handle_option): Remove.
14 2003-03-13  Andreas Jaeger  <aj@suse.de>
16         * Make-lang.in (tree1$(exeext)): Fix previous patch.
18 2003-03-12  Andreas Jaeger  <aj@suse.de>
20         * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
22 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
24         * tree1.c (in_fname): Fix type.
25         (treelang_init): Update prototype and use of in_fname.
26         * treelang.h (in_fname): Fix type.
27         * treetree.c (tree_code_if_start, tree_code_if_else,
28         tree_code_if_end, tree_code_create_function_prototype,
29         tree_code_create_function_initial, tree_code_create_funciton_wrapup,
30         tree_code_create_variable, tree_code_output_expression_statement)
31         : Fix prototypes and use of filenames.
32         * treetree.h: Similarly.
34 2003-03-05  Andreas Jaeger  <aj@suse.de>
36         * treetree.c (init_c_lex): Follow change to c-common.h.
38 2003-03-04  Tom Tromey  <tromey@redhat.com>
40         * Make-lang.in (treelang.tags): New target.
42 2003-03-01  Tim Josling  <tej@melbpc.org.au>
44         Name clashes with rtl.h fixed.
46         * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
47         tl_RETURN.
49         * parse.y: Ditto.
51 2003-02-24  Tim Josling  <tej@melbpc.org.au>
53         * parse.y (my_yylex): New - ensure lexer time is charged to
54         TV_LEX.
55         (yylex): redefine as invocation of my_yylex which then calls
56         flex-generated yylex.
57         (timevar.h): include.
59 2003-02-23  Tim Josling  <tej@melbpc.org.au>
61         Fix garbage collection, add more error checking, force GC always.
63         * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
64         (treelang/treetree.o): Depend on  treelang/parse.h
66         * lex.l: include "treetree.h"
68         * lex.l (update_yylval): Allocate string using get_string so GC
69         works.
71         * parse.y (function_prototype): Set category correctly so GC works.
72         (function): Set category in search so checking works.
73         (function_invocation): Ditto.
74         (variable_ref): Ditto.
76         * tree1.c (lookup_tree_name): Call sanity_check for passed
77         production and associated token and for symbol table entries.
79         * tree1.c (sanity_check): New, basic check that struct is valid.
81         * treelang.h: Prototype for sanity_check.
83 2003-01-27  Tim Josling  <tej@melbpc.org.au>
85         * treetree.c (treelang_init_decl_processing): Change memory
86         allocation to use GC.
88 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
90         * treelang.texi: Update to GFDL 1.2.
92 2003-01-26  Michael Matz  <matz@suse.de>
94         * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
96 2003-01-14  Andreas Jaeger  <aj@suse.de>
98         * Make-lang.in (treelang.install-info): Depend only on info files
99         if BUILD_INFO is set.  Fix install rules.
100         (treelang.): New.
102 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
104         * Make-lang.in (treelang.install.common.done,
105         treelang.install-info, treelang.uninstall): Prepend
106         $(DESTDIR) to destination paths in all (un)installation
107         commands.
109 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
111         * treelang.texi: Use @copying.
113 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
115         * treelang.texi: Include gcc-common.texi.
116         * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
117         Depend on gcc-common.texi.  Add other missing dependencies.
118         (treelang.dvi): Use texi2dvi.
120 2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
122         * treelang.texi: Use @ifnottex instead of @ifinfo.
124 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
126         * lex.l: Move "%{" below copyright notice; get rid of "/*"
127         embedded in comment.  Do not #undef IN_GCC; do not include
128         stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
129         Do include coretypes.h and tm.h.
130         * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
131         and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
132         ansidecl.h. Do include coretypes.h and tm.h.
133         * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
134         stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
135         * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
136         errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
137         or ansidecl.h.  Do include coretypes.h and tm.h.
138         * Make-lang.in: Update dependencies.
140 2002-09-09  Tim Josling  <tej@melbpc.org.au>
142         * treetree.c (objc_is_id): New.
144 2002-08-16  Tim Josling  <tej@melbpc.org.au>
146         Remove variables and functions now defined elsewhere.
148         * treetree.c (maybe_objc_comptypes): Remove.
149         (warn_format, warn_format_y2k, warn_format_extra_args,
150         warn_format_nonliteral, warn_format_security,
151         warn_format_zero_length): Remove.
152         (maybe_building_objc_message_expr): Remove.
153         (cpp_post_options): Remove.
154         (maybe_objc_check_decl): Remove.
155         (integer_types): Remove.
158 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
160         * treelang.c: Remove cpp_post_options.
162 2002-08-13  Tim Josling  <tej@melbpc.org.au>
164         * parse.y: Provide dummy definition of rtx for use by config.h.
165         * Make-lang.in (treetree.o): Remove dependency on non-existent
166         gt-treelang-treelang.h.
167         (gt-treelang-treelang.h): Remove.
169 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
171         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
173 2002-07-11  Tim Josling  <tej@melbpc.org.au>
175         Remove front end hard coding from gengtype.c.
177         * config-lang.in (gtfiles): Add files needed for this front
178         end.
180 2002-07-09  Tim Josling  <tej@melbpc.org.au>
182         Support new attributes regime (Fix for PR c++/7099).
184         * treetree.c (handle_format_attribute): Return NULL_TREE instead
185         of aborting.
186         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
187         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
188         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
190 2002-06-21  Andreas Jaeger  <aj@suse.de>
192         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
193         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
195 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
197         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
198         than STATIC.
200 2002-06-10  Tim Josling  <tej@melbpc.org.au>
202         Cleanup
204         * Make-lang.in (check-treelang). Add. Remove direct dependency of
205         'check' on 'treelang.check' as redundant.
207         PCH Garbage collection regime (gengtypes.c) phase 1.
209         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
210         gt-treelang-treelang.h gtype-treelang.h.
211         (gt-treelang-tree1.h) Depend on s-gtype.
212         (gt-treelang-treelang.h) Depend on s-gtype.
213         (gtype-treelang.h) Depend on s-gtype.
215         * config-lang.in (gtfiles): Define.
217         * lex.l (main): Remove '#if 0' dead code.
218         (main): Move undef of IN_GCC so define of tree typedef works.
219         (all): Replace token and production by prod_token_parm_item.
221         * parse.y
222         (all): Replace token and production by prod_token_parm_item.
224         * tree1.c (main): Remove include of "output.h".
225         (symbol_table): Add GTY details.
226         (symbol_table_ggc): Remove.
227         (treelang_init): Remove root definitions for garbage collection.
228         (mark_production_used): Remove.
229         (mark_token_used): Remove.
230         (main, at end): include generated garage collection routines.
232         * treelang.h (category_enum ): Add parameter_category.
233         (all): Replace token and production and parameters by union
234         prod_token_parm_item containing production_part, token_part,
235         parameter_part.
236         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
237         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
238         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
239         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
240         treetree.h.
242         * treetree.c
243         (tm_p.h): Do not include.
244         (ansidecl.h): Move include after config.h.
245         (treelang.h): Include it.
246         (ADDROOT): Remove.
247         (all): Replace token, production and parameter by prod_token_parm_item.
248         (tree_parameter_list): Move to treelang.h as part of
249         prod_token_parm_item.
250         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
251         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
252         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
253         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
254         treelang.h.
256 2002-05-19  Tim Josling  <tej@melbpc.org.au>
258         * treetree.c (warn_format_zero_length): Add.
260 2002-05-14  Tim Josling  <tej@melbpc.org.au>
262         * Make-lang.in: Fix build for .info files, add target for manpages.
263         A bug report and a suggested patch came from Magnus Fromreide
264         <magfr@lysator.liu.se>.
266 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
268         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
270 2002-05-11  Tim Josling  <tej@melbpc.org.au>
272         * treetree.c: (cpp_define) Add.
273         (cpp_get_callbacks) Add.
275 2002-05-07  Tim Josling  <tej@melbpc.org.au>
277         * treetree.c: (cpp_get_options) Add.
279 2002-05-06  Tim Josling  <tej@melbpc.org.au>
281         * .cvsignore: Add.
283 2002-05-05  Tim Josling  <tej@melbpc.org.au>
285         * Updated for gcc3.2 experimental. Major changes throughout.
287 2002-03-31  Tim Josling  <tej@melbpc.org.au>
289         * Make-lang.in: Changes so build and check work more reliably
291 2001-07-30  Tim Josling  <tej@melbpc.org.au>
293         * root.texi: remove
294         * treelang.texi: updates based on feedback
296 2001-06-11  Tim Josling  <tej@melbpc.org.au>
298         * all (all) Revamp code to conform to GCC coding standards, fix
299         typos in texi files.
301 2001-05-11  Tim Josling  <tej@melbpc.org.au>
303         Create the new language.