OSDN Git Service

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