]> git.ipfire.org Git - thirdparty/gcc.git/commit
class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose...
authorMark Mitchell <mark@codesourcery.com>
Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)
commit29edb15c5637738f3ac9c9d63003303127848204
tree55191847f19102bcfd738acb455adb684fe3adce
parentbd12da498dc86d4cb18b1f6548d1efb9f530172e
class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for an bit-field whose width exceeds that of its...

* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
an bit-field whose width exceeds that of its type.

* g++.dg/abi/bitfield11.C: New test.
* g++.dg/abi/bitfield12.C: Likewise.

From-SVN: r71392
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/bitfield11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/abi/bitfield12.C [new file with mode: 0644]