OSDN Git Service

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