https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
--- Comment #29 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Sven from comment #28) > (In reply to Eric Gallager from comment #27) > > gcc 8 adds -Wpacked-not-aligned; does that fix this bug? > > I couldn't find documentation on what this switch is supposed to do. Can you > point me in the right direction? Is there some commit explaining > -Wpacked-not-aligned? > I don't remember the exact commit number but HJ Lu added it; I added him on cc with my previous comment, so maybe he can explain.