re PR c++/9704 (miscompilation of classes with bit fields)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 18 Feb 2003 19:17:28 +0000 (19:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 18 Feb 2003 19:17:28 +0000 (19:17 +0000)
commit2e120205b3fef4037f776cdeb3159365be01e300
tree6d0eb0418fa51b34fa362035b64ec13253b4a40f
parent30db8e17e58e96a3bad150c42f1e6b11be4585cb
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.

[[Split portion of a mixed commit.]]

From-SVN: r63054.2
gcc/testsuite/g++.dg/init/copy5.C [new file with mode: 0644]