OSDN Git Service

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