https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82265
sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org --- Comment #4 from sandra at gcc dot gnu.org --- I see this has already been fixed in the manual at some point since 2017: The @code{packed} attribute specifies that a structure member should have the smallest possible alignment---one bit for a bit-field and one byte otherwise, unless a larger value is specified with the @code{aligned} attribute. The attribute does not apply to non-member objects. So, closing the issue.