OSDN Git Service

* Make-lang.in (tree1$(exeext)): Fix previous patch.
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
1 2003-03-13  Andreas Jaeger  <aj@suse.de>
2
3         * Make-lang.in (tree1$(exeext)): Fix previous patch.
4
5 2003-03-12  Andreas Jaeger  <aj@suse.de>
6
7         * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
8
9 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
10
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.
20
21 2003-03-05  Andreas Jaeger  <aj@suse.de>
22
23         * treetree.c (init_c_lex): Follow change to c-common.h.
24
25 2003-03-04  Tom Tromey  <tromey@redhat.com>
26
27         * Make-lang.in (treelang.tags): New target.
28
29 2003-03-01  Tim Josling  <tej@melbpc.org.au>
30
31         Name clashes with rtl.h fixed.
32
33         * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
34         tl_RETURN.
35
36         * parse.y: Ditto.
37
38 2003-02-24  Tim Josling  <tej@melbpc.org.au>
39
40         * parse.y (my_yylex): New - ensure lexer time is charged to
41         TV_LEX.
42         (yylex): redefine as invocation of my_yylex which then calls
43         flex-generated yylex.
44         (timevar.h): include.
45
46 2003-02-23  Tim Josling  <tej@melbpc.org.au>
47
48         Fix garbage collection, add more error checking, force GC always.
49
50         * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
51         (treelang/treetree.o): Depend on  treelang/parse.h
52
53         * lex.l: include "treetree.h"
54
55         * lex.l (update_yylval): Allocate string using get_string so GC
56         works.
57
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.
62
63         * tree1.c (lookup_tree_name): Call sanity_check for passed
64         production and associated token and for symbol table entries.
65
66         * tree1.c (sanity_check): New, basic check that struct is valid.
67
68         * treelang.h: Prototype for sanity_check.
69
70 2003-01-27  Tim Josling  <tej@melbpc.org.au>
71
72         * treetree.c (treelang_init_decl_processing): Change memory
73         allocation to use GC.
74
75 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
76
77         * treelang.texi: Update to GFDL 1.2.
78
79 2003-01-26  Michael Matz  <matz@suse.de>
80
81         * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
82
83 2003-01-14  Andreas Jaeger  <aj@suse.de>
84
85         * Make-lang.in (treelang.install-info): Depend only on info files
86         if BUILD_INFO is set.  Fix install rules.
87         (treelang.): New.
88
89 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
90
91         * Make-lang.in (treelang.install.common.done,
92         treelang.install-info, treelang.uninstall): Prepend
93         $(DESTDIR) to destination paths in all (un)installation
94         commands.
95
96 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
97
98         * treelang.texi: Use @copying.
99
100 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
101
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.
106
107 2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
108
109         * treelang.texi: Use @ifnottex instead of @ifinfo.
110
111 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
112
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.
126
127 2002-09-09  Tim Josling  <tej@melbpc.org.au>
128
129         * treetree.c (objc_is_id): New.
130
131 2002-08-16  Tim Josling  <tej@melbpc.org.au>
132
133         Remove variables and functions now defined elsewhere.
134
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.
143
144
145 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
146
147         * treelang.c: Remove cpp_post_options.
148
149 2002-08-13  Tim Josling  <tej@melbpc.org.au>
150
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.
155
156 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
157
158         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
159
160 2002-07-11  Tim Josling  <tej@melbpc.org.au>
161
162         Remove front end hard coding from gengtype.c.
163
164         * config-lang.in (gtfiles): Add files needed for this front
165         end.
166
167 2002-07-09  Tim Josling  <tej@melbpc.org.au>
168
169         Support new attributes regime (Fix for PR c++/7099).
170
171         * treetree.c (handle_format_attribute): Return NULL_TREE instead
172         of aborting.
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.
176
177 2002-06-21  Andreas Jaeger  <aj@suse.de>
178
179         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
180         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
181
182 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
183
184         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
185         than STATIC.
186
187 2002-06-10  Tim Josling  <tej@melbpc.org.au>
188
189         Cleanup
190
191         * Make-lang.in (check-treelang). Add. Remove direct dependency of
192         'check' on 'treelang.check' as redundant.
193
194         PCH Garbage collection regime (gengtypes.c) phase 1.
195
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.
201
202         * config-lang.in (gtfiles): Define.
203
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.
207
208         * parse.y
209         (all): Replace token and production by prod_token_parm_item.
210
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.
218
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,
222         parameter_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
227         treetree.h.
228
229         * treetree.c
230         (tm_p.h): Do not include.
231         (ansidecl.h): Move include after config.h.
232         (treelang.h): Include it.
233         (ADDROOT): Remove.
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
241         treelang.h.
242
243 2002-05-19  Tim Josling  <tej@melbpc.org.au>
244
245         * treetree.c (warn_format_zero_length): Add.
246
247 2002-05-14  Tim Josling  <tej@melbpc.org.au>
248
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>.
252
253 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
254
255         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
256
257 2002-05-11  Tim Josling  <tej@melbpc.org.au>
258
259         * treetree.c: (cpp_define) Add.
260         (cpp_get_callbacks) Add.
261
262 2002-05-07  Tim Josling  <tej@melbpc.org.au>
263
264         * treetree.c: (cpp_get_options) Add.
265
266 2002-05-06  Tim Josling  <tej@melbpc.org.au>
267
268         * .cvsignore: Add.
269
270 2002-05-05  Tim Josling  <tej@melbpc.org.au>
271
272         * Updated for gcc3.2 experimental. Major changes throughout.
273
274 2002-03-31  Tim Josling  <tej@melbpc.org.au>
275
276         * Make-lang.in: Changes so build and check work more reliably
277
278 2001-07-30  Tim Josling  <tej@melbpc.org.au>
279
280         * root.texi: remove
281         * treelang.texi: updates based on feedback
282
283 2001-06-11  Tim Josling  <tej@melbpc.org.au>
284
285         * all (all) Revamp code to conform to GCC coding standards, fix
286         typos in texi files.
287
288 2001-05-11  Tim Josling  <tej@melbpc.org.au>
289
290         Create the new language.