https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
--- Comment #35 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 41264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41264&action=edit gcc7-pr77728-aarch64.patch Similarly adjusted AArch64 patch. In the earlier AArch64 patch, warning_alignment didn't match the comment (it was set to alignment if there were no other decls but FIELD_DECLs or when not a structure, so effectively warning_alignment was guaranteed to be >= alignment), and then there was: if (a.warning_alignment < a.alignment which would therefore never be true. But, we want to actually note if warning_alignment is 16 bytes but alignment is smaller than that (because that is the case when we previously returned 16 and now have alignment that is not 16).