re PR c++/9704 (miscompilation of classes with bit fields)
authorMark Mitchell <mark@codesourcery.com>
Tue, 18 Feb 2003 19:17:29 +0000 (19:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 18 Feb 2003 19:17:29 +0000 (19:17 +0000)
commit6b99d1c036cedd5d1e123ffca8201946fbcd2929
tree6194e752687100426e32b0c55b5f09fae875b2d3
parent2e120205b3fef4037f776cdeb3159365be01e300
re PR c++/9704 (miscompilation of classes with bit fields)

PR c++/9704
* class.c (layout_class_type): In the 3.2 ABI, take into account
trailing bit fields when computing CLASSTYPE_SIZE_UNIT.

PR c++/9704
* g++.dg/init/copy5.C: New test.

From-SVN: r63055
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog