[Bug c/53937] Pack'ing struct causes gcc to not recognize that an field's address is aligned
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 12 11:21:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53937
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-12 11:21:23 UTC ---
Works as designed. The packed attribute tells GCC that the start of the
struct and all members might not be naturally aligned.
More information about the Gcc-bugs
mailing list