diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2004-09-14 19:59:38 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-09-14 19:59:38 +0100 |
commit | 3b53cddc38abb716ac6b300d68cfe841a3a4f265 (patch) | |
tree | fb8bf0df6ee54a733add01818e6fc44482343ef3 /gcc/ChangeLog | |
parent | 67dd4a937789286c3903508be8662fb93051b1c3 (diff) | |
download | gcc-3b53cddc38abb716ac6b300d68cfe841a3a4f265.tar.gz |
c-tree.h (struct c_declspecs): Add const_p, volatile_p and restrict_p.
* c-tree.h (struct c_declspecs): Add const_p, volatile_p and
restrict_p.
(struct c_declarator): Change u.array.quals and pointer_quals to
int. Add u.array.attrs.
(quals_from_declspecs): New.
* c-decl.c (quals_from_declspecs): New.
(shadow_tag_warned): Give more specific message for useless type
qualifiers.
(build_array_declarator, set_array_declarator_inner,
grokdeclarator, make_pointer_declarator, build_null_declspecs,
declspecs_add_qual): Update for changed structures.
testsuite:
* gcc.dg/declspec-12.c: New test.
From-SVN: r87500
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04439d01d17..d581ec834a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2004-09-14 Joseph S. Myers <jsm@polyomino.org.uk> + + * c-tree.h (struct c_declspecs): Add const_p, volatile_p and + restrict_p. + (struct c_declarator): Change u.array.quals and pointer_quals to + int. Add u.array.attrs. + (quals_from_declspecs): New. + * c-decl.c (quals_from_declspecs): New. + (shadow_tag_warned): Give more specific message for useless type + qualifiers. + (build_array_declarator, set_array_declarator_inner, + grokdeclarator, make_pointer_declarator, build_null_declspecs, + declspecs_add_qual): Update for changed structures. + 2004-09-14 Jeff Law <law@redhat.com> * tree-ssa-dom.c (stmts_to_rescan): Move from a block-local |