[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 18 17:55:00 GMT 2005


------- Additional Comments From amylaar at gcc dot gnu dot org  2005-08-18 17:51 -------
Created an attachment (id=9533)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9533&action=view)
testcase

Although the size of s1 gets padded to 64 bits for sh-elf, its alignemnt
is set back to 32 bits, and hence m is not sufficiently aligned.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23467



More information about the Gcc-bugs mailing list