* class.c (layout_class_type): Make DECL_MODE match TYPE_MODE for
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 00:27:16 +0000 (00:27 +0000)
commit8cc085df6f7931a68a5bbb6220a4043bf8c8ee1a
tree55191847f19102bcfd738acb455adb684fe3adce
parent53c4d53d132302c132f436cd181dd65772635e33
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71392 138bc75d-0d04-0410-961f-82ee72b054a4
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]