https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69454
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Have you tried H.J's patch? If I understand it right, IMHO at least the *mov<mode>_internal changes look desirable to me after the recent changes where misaligned_operand matters even for pre-AVX, and the result could be that if the stack can't be realigned and -mpreferred-stack-boundary is low, worst case there will be unaligned loads/stores to the stack slots instead of aligned ones.