https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90018
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 46124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46124&action=edit Vectorizer and optimized dumps So I can confirm the problematic file is mapz_module.fppized.f90. The problematic vectorization happens with: -Ofast -march=native -funroll-loops -fdbg-cnt=vect_loop:10 this is OK: -Ofast -march=native -funroll-loops -fdbg-cnt=vect_loop:9 I'm attaching dump files, however the vectorized loop is quite huge. Hard to see something suspicious.