This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/17112] Copying of packed bitfields is wrong


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]