OSDN Git Service

PR c++/10549
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)
commitbea25212a8390a451727ca1074636ecb49cf0dd1
treebd8ac54fa0e75ebd131c2a5b7f7640db81897cd8
parent7e11db47a62e7249f021031c6c9ca3495cca4ef7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66257 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/bitfield1.C [new file with mode: 0644]