https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89204
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #4) > > Works for me > > What is working for you? > > With the original fortran test I get > > % gfc pr89204.f90 -O2 -floop-interchange > % time ./a.out > 35.970u 0.081s 0:36.76 98.0% 0+0k 0+0io 0pf+0w > > If I move the 'i' do loop inside the nested loops I get > > % gfc pr89204_db.f90 -O2 > % time ./a.out > 8.124u 0.025s 0:08.76 92.9% 0+0k 0+0io 0pf+0w You're wasting your time. Chinoune closed this and other PRs that s/he submitted because of a temper tantrum. S/He's upset that https://gcc.gnu.org/pipermail/gcc-bugs/2021-January/724765.html was closed as INVALID because the behavior documented in the manual does not meet his/her expectations. S/He refuses to accept that gfortran has selected processor-dependent behavior that does is different than Intel Fortran. Note Intel Fortran documents it choice, but does not conform to its own documentation. Just open a new PR with a Depends On reference to this PR.