[Bug c/51628] __attribute__((packed)) is unsafe in some cases
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 2 01:03:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org,
| |hjl at gcc dot gnu.org
--- Comment #27 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #26)
> (In reply to Keith Thompson from comment #3)
> > I see no "-Walign" option, either in the versions of gcc I'm using or in the
> > online documentation. Were you thinking of a different option?
> >
>
> Maybe -Wpacked?
gcc 8 adds -Wpacked-not-aligned; does that fix this bug?
More information about the Gcc-bugs
mailing list