OSDN Git Service

Treelang updates for new attrib regime.
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
1 2002-07-09  Tim Josling  <tej@melbpc.org.au>
2
3         Support new attributes regime (Fix for PR c++/7099).
4         
5         * treetree.c (handle_format_attribute): Return NULL_TREE instead
6         of aborting.
7         (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
8         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
9         LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
10
11 2002-06-21  Andreas Jaeger  <aj@suse.de>
12
13         * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
14         treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
15
16 2002-06-19  Paolo Bonzini <bonzini@gnu.org>
17
18         * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
19         than STATIC.
20
21 2002-06-10  Tim Josling  <tej@melbpc.org.au>
22
23         Cleanup
24
25         * Make-lang.in (check-treelang). Add. Remove direct dependency of
26         'check' on 'treelang.check' as redundant.
27
28         PCH Garbage collection regime (gengtypes.c) phase 1.
29
30         * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
31         gt-treelang-treelang.h gtype-treelang.h.
32         (gt-treelang-tree1.h) Depend on s-gtype.
33         (gt-treelang-treelang.h) Depend on s-gtype.
34         (gtype-treelang.h) Depend on s-gtype.
35
36         * config-lang.in (gtfiles): Define.
37
38         * lex.l (main): Remove '#if 0' dead code.
39         (main): Move undef of IN_GCC so define of tree typedef works.
40         (all): Replace token and production by prod_token_parm_item.
41
42         * parse.y
43         (all): Replace token and production by prod_token_parm_item.
44
45         * tree1.c (main): Remove include of "output.h".
46         (symbol_table): Add GTY details.
47         (symbol_table_ggc): Remove.
48         (treelang_init): Remove root definitions for garbage collection.
49         (mark_production_used): Remove.
50         (mark_token_used): Remove.
51         (main, at end): include generated garage collection routines.
52
53         * treelang.h (category_enum ): Add parameter_category.
54         (all): Replace token and production and parameters by union
55         prod_token_parm_item containing production_part, token_part,
56         parameter_part.
57         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
58         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
59         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
60         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
61         treetree.h.
62
63         * treetree.c
64         (tm_p.h): Do not include.
65         (ansidecl.h): Move include after config.h.
66         (treelang.h): Include it.
67         (ADDROOT): Remove.
68         (all): Replace token, production and parameter by prod_token_parm_item.
69         (tree_parameter_list): Move to treelang.h as part of
70         prod_token_parm_item.
71         (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
72         EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
73         UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
74         EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
75         treelang.h.
76
77 2002-05-19  Tim Josling  <tej@melbpc.org.au>
78
79         * treetree.c (warn_format_zero_length): Add.
80
81 2002-05-14  Tim Josling  <tej@melbpc.org.au>
82
83         * Make-lang.in: Fix build for .info files, add target for manpages.
84         A bug report and a suggested patch came from Magnus Fromreide
85         <magfr@lysator.liu.se>.
86
87 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
88
89         * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
90
91 2002-05-11  Tim Josling  <tej@melbpc.org.au>
92
93         * treetree.c: (cpp_define) Add.
94         (cpp_get_callbacks) Add.
95
96 2002-05-07  Tim Josling  <tej@melbpc.org.au>
97
98         * treetree.c: (cpp_get_options) Add.
99
100 2002-05-06  Tim Josling  <tej@melbpc.org.au>
101
102         * .cvsignore: Add.
103
104 2002-05-05  Tim Josling  <tej@melbpc.org.au>
105
106         * Updated for gcc3.2 experimental. Major changes throughout.
107
108 2002-03-31  Tim Josling  <tej@melbpc.org.au>
109
110         * Make-lang.in: Changes so build and check work more reliably
111
112 2001-07-30  Tim Josling  <tej@melbpc.org.au>
113
114         * root.texi: remove
115         * treelang.texi: updates based on feedback
116
117 2001-06-11  Tim Josling  <tej@melbpc.org.au>
118
119         * all (all) Revamp code to conform to GCC coding standards, fix
120         typos in texi files.
121
122 2001-05-11  Tim Josling  <tej@melbpc.org.au>
123
124         Create the new language.