]> gcc.gnu.org Git - gcc.git/commit
c-tree.h (struct c_declspecs): Remove typedef_decl.
authorJoseph Myers <jsm@polyomino.org.uk>
Fri, 10 Sep 2004 23:10:05 +0000 (00:10 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 10 Sep 2004 23:10:05 +0000 (00:10 +0100)
commit616aeba2bb37e55c24cc65a861e12c08e18e3943
treeec0adb6f879751a79c5c8f898f00474f72486beb
parenta8508d5144a604c6ebb11b56442d8b8738567b3e
c-tree.h (struct c_declspecs): Remove typedef_decl.

* c-tree.h (struct c_declspecs): Remove typedef_decl.  Add
typedef_p and typedef_signed_p.
* c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl.
(grokdeclarator): Don't use typedef_decl for warn_deprecated_use.
Check typedef_p and typedef_signed_p, not typedef_decl.
(grokfield): Check typedef_p, not typedef_decl.
(build_null_declspecs): Initialize typedef_p and typedef_signed_p,
not typedef_decl.
(declspecs_add_type): Set typedef_p and typedef_signed_p, not
typedef_decl.

testsuite:
* gcc.dg/bitfld-9.c: New test.

From-SVN: r87326
gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/bitfld-9.c [new file with mode: 0644]
This page took 0.054482 seconds and 5 git commands to generate.