https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65709
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 35271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35271&action=edit gcc5-pr65709.patch For the bad wording in the -fsanitize=alignment diagnostics, here is a fix. The type of MEM_REF's argument isn't relevant, it can be anything, what really matters is the type of the MEM_REF, which is the access type.