https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88583
Bug ID: 88583 Summary: -Wpacked-not-aligned shouldn't be in -Wall Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: andi-gcc at firstfloor dot org Target Milestone: --- gcc 9 added -Wpacked-not-aligned to Wall. In Linux kernel builds this warning is very noisy. There's a Linux kernel patch now to disable it. But I suspect other software using packed will be affected too. It's especially pointless on x86 where unaligned only matters in some special cases (with vectors) When the programmer specified packed they should know what they are doing.