https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 57816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57816&action=edit manually reduced preprocessed source This is the TU reduced to idihs where I put flatten on, with just -Ofast -march=znver2 one can reproduce the vectorization difference when reverting the offending revision ontop of trunk. I'll have a closer look tomorrow.