https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93476
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is the ABI that specifies the size/alignment of the structs. GCC is just following that. The alignment of the struct with an int field is 4 bytes on most if not all targets where the sizeof(int) == 4.