]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/18498 (gcc allows non-integral bitfield types)
authorJoseph Myers <joseph@codesourcery.com>
Tue, 16 Nov 2004 19:55:47 +0000 (19:55 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 16 Nov 2004 19:55:47 +0000 (19:55 +0000)
commit9f3fd4c97554e6cb74e06deef9b863d808995601
tree0e74fd309af9c604f35af0e5686db5fe0b1a93dc
parenta5a4beb08f2c0f8f03b42a2380274fdb10f4bd70
re PR c/18498 (gcc allows non-integral bitfield types)

PR c/18498
* c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
after processing the declarator.

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

From-SVN: r90755
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/bitfld-13.c