https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11 Regression] Wrong |[11/12/13 Regression] Wrong |vectorizer code (GCC 11 |vectorizer code (GCC 11 |only, Fortran) |only, Fortran) Priority|P3 |P2 Known to work|12.1.0 | --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, the testcase still fails with -O2 -ftree-vectorize -mavx2 -mno-fma -fno-vect-cost-model on the GCC 12 branch and trunk but works with these flags on the GCC 10 branch. Interestingly it doesn't fail with -mprefer-vector-width=128 (which doesn't require versioning for aliasing).