http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60360
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is expected as sizeof a struct is always multiple of the alignment because of padding. The scalar is not due to another variable can be padded after it.