re PR c++/27803 (ICE with invalid bit-field)
authorMark Mitchell <mark@codesourcery.com>
Tue, 30 May 2006 21:25:02 +0000 (21:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 30 May 2006 21:25:02 +0000 (21:25 +0000)
commit606791f69894426ecd59d7baf18664fb77138324
tree4a0522dc4f55cb8eb61381e3632191ea2dbb06e2
parentc98662e02092adc0bd3fe4cf898f5bf2ba533f37
re PR c++/27803 (ICE with invalid bit-field)

PR c++/27803
* class.c (check_bitfield_decl): Ensure that all bitfields have
integral type.
PR c++/27803
* g++.dg/parse/bitfield1.C: New test.

From-SVN: r114245
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/bitfield1.C [new file with mode: 0644]