[Bug middle-end/17112] Copying of packed bitfields is wrong
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Thu Sep 23 13:16:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-09-23 13:16 -------
The problem seems to be that the bitfield is given SImode, and thus, being the
only field of its containg struct, the struct is given SImode too. This is
wrong: the struct should be BLKmode for the code to work as expected.
Even if I don't know how the code should actually behave. Should the minimum
alignment proprty of the bitfield also make the structure packed?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17112
More information about the Gcc-bugs
mailing list