https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69454
--- Comment #15 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #14) > 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. I don't like it aligns stack if we vectorize in GIMPLE (even if preferred alignment is lower) but don't align stack if we "vectorize" in rtl. But I don't see how to align stack properly at STV so I'm trying H.J.'s patch now.