https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-25
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Szikra from comment #5)
> (In reply to Jonathan Wakely from comment #4)
> > Because the warning isn't controlled by the -Wpacked option. If it was, it
> > would say [-Wpacked] after the warning. I think that's a bug, every warning
> > should be controlled by some -Wxxx option.
>
> Thanks, good to know. So does this require a separate bug report, or can
> someone change the status and confirm this one?
Confirmed that the warning should be controlled by -Wpacked. I also noticed
this in bug 60972.