OSDN Git Service

* c-tree.h (struct c_declspecs): Remove typedef_decl. Add
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 23:10:05 +0000 (23:10 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 23:10:05 +0000 (23:10 +0000)
commit490eec42c79a8ba479de077423c01637480bc80a
treeec0adb6f879751a79c5c8f898f00474f72486beb
parent1a664318e9152ebd1ca4e99f53b715c4d3e28c04
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87326 138bc75d-0d04-0410-961f-82ee72b054a4
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]