OSDN Git Service

Merge basic-improvements-branch to trunk
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
1 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
2
3         * lex.l: Move "%{" below copyright notice; get rid of "/*"
4         embedded in comment.  Do not #undef IN_GCC; do not include
5         stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
6         Do include coretypes.h and tm.h.
7         * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
8         and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
9         ansidecl.h. Do include coretypes.h and tm.h.
10         * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
11         stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
12         * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
13         errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
14         or ansidecl.h.  Do include coretypes.h and tm.h.
15         * Make-lang.in: Update dependencies.
16
17 2002-09-09  Tim Josling  <tej@melbpc.org.au>
18
19         * treetree.c (objc_is_id): New.
20
21 2002-08-16  Tim Josling  <tej@melbpc.org.au>
22
23         Remove variables and functions now defined elsewhere.
24
25         * treetree.c (maybe_objc_comptypes): Remove.
26         (warn_format, warn_format_y2k, warn_format_extra_args,
27         warn_format_nonliteral, warn_format_security,
28         warn_format_zero_length): Remove.
29         (maybe_building_objc_message_expr): Remove.
30         (cpp_post_options): Remove.
31         (maybe_objc_check_decl): Remove.
32         (integer_types): Remove.
33
34
35 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
36
37         * treelang.c: Remove cpp_post_options.
38
39 2002-08-13  Tim Josling  <tej@melbpc.org.au>
40
41         * parse.y: Provide dummy definition of rtx for use by config.h.
42         * Make-lang.in (treetree.o): Remove dependency on non-existent
43         gt-treelang-treelang.h.
44         (gt-treelang-treelang.h): Remove.
45
46 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
47
48         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
49
50 2002-07-11  Tim Josling  <tej@melbpc.org.au>
51
52         Remove front end hard coding from gengtype.c.
53
54         * config-lang.in (gtfiles): Add files needed for this front
55         end.
56
57 2002-07-09  Tim Josling  <tej@melbpc.org.au>
58
59         Support new attributes regime (Fix for PR c++/7099).
60
61         * treetree.c (handle_format_attribute): Return NULL_TREE instead
62         of aborting.
63         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
64         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
65         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
66
67 2002-06-21  Andreas Jaeger  <aj@suse.de>
68
69         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
70         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
71
72 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
73
74         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
75         than STATIC.
76
77 2002-06-10  Tim Josling  <tej@melbpc.org.au>
78
79         Cleanup
80
81         * Make-lang.in (check-treelang). Add. Remove direct dependency of
82         'check' on 'treelang.check' as redundant.
83
84         PCH Garbage collection regime (gengtypes.c) phase 1.
85
86         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
87         gt-treelang-treelang.h gtype-treelang.h.
88         (gt-treelang-tree1.h) Depend on s-gtype.
89         (gt-treelang-treelang.h) Depend on s-gtype.
90         (gtype-treelang.h) Depend on s-gtype.
91
92         * config-lang.in (gtfiles): Define.
93
94         * lex.l (main): Remove '#if 0' dead code.
95         (main): Move undef of IN_GCC so define of tree typedef works.
96         (all): Replace token and production by prod_token_parm_item.
97
98         * parse.y
99         (all): Replace token and production by prod_token_parm_item.
100
101         * tree1.c (main): Remove include of "output.h".
102         (symbol_table): Add GTY details.
103         (symbol_table_ggc): Remove.
104         (treelang_init): Remove root definitions for garbage collection.
105         (mark_production_used): Remove.
106         (mark_token_used): Remove.
107         (main, at end): include generated garage collection routines.
108
109         * treelang.h (category_enum ): Add parameter_category.
110         (all): Replace token and production and parameters by union
111         prod_token_parm_item containing production_part, token_part,
112         parameter_part.
113         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
114         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
115         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
116         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
117         treetree.h.
118
119         * treetree.c
120         (tm_p.h): Do not include.
121         (ansidecl.h): Move include after config.h.
122         (treelang.h): Include it.
123         (ADDROOT): Remove.
124         (all): Replace token, production and parameter by prod_token_parm_item.
125         (tree_parameter_list): Move to treelang.h as part of
126         prod_token_parm_item.
127         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
128         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
129         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
130         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
131         treelang.h.
132
133 2002-05-19  Tim Josling  <tej@melbpc.org.au>
134
135         * treetree.c (warn_format_zero_length): Add.
136
137 2002-05-14  Tim Josling  <tej@melbpc.org.au>
138
139         * Make-lang.in: Fix build for .info files, add target for manpages.
140         A bug report and a suggested patch came from Magnus Fromreide
141         <magfr@lysator.liu.se>.
142
143 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
144
145         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
146
147 2002-05-11  Tim Josling  <tej@melbpc.org.au>
148
149         * treetree.c: (cpp_define) Add.
150         (cpp_get_callbacks) Add.
151
152 2002-05-07  Tim Josling  <tej@melbpc.org.au>
153
154         * treetree.c: (cpp_get_options) Add.
155
156 2002-05-06  Tim Josling  <tej@melbpc.org.au>
157
158         * .cvsignore: Add.
159
160 2002-05-05  Tim Josling  <tej@melbpc.org.au>
161
162         * Updated for gcc3.2 experimental. Major changes throughout.
163
164 2002-03-31  Tim Josling  <tej@melbpc.org.au>
165
166         * Make-lang.in: Changes so build and check work more reliably
167
168 2001-07-30  Tim Josling  <tej@melbpc.org.au>
169
170         * root.texi: remove
171         * treelang.texi: updates based on feedback
172
173 2001-06-11  Tim Josling  <tej@melbpc.org.au>
174
175         * all (all) Revamp code to conform to GCC coding standards, fix
176         typos in texi files.
177
178 2001-05-11  Tim Josling  <tej@melbpc.org.au>
179
180         Create the new language.