re PR c++/10549 (ICE in store_bit_field on bitfields that exceed the precision of...
authorMark Mitchell <mark@codesourcery.com>
Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)
commit555456b175d649bfd04a906e4d32b9329f35db4c
treebd8ac54fa0e75ebd131c2a5b7f7640db81897cd8
parentf4ddb75bb3980dc9c331ddb0dbab5704920d3742
re PR c++/10549 (ICE in store_bit_field on bitfields that exceed the precision of the declared type.)

PR c++/10549
* class.c (layout_class_type): Mark overlong bitfields as having
the maximum size permitted by their type, after layout.

PR c++/10549
* g++.dg/other/bitfield1.C: New test.

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