https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89204
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |--- Status|RESOLVED |WAITING --- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > 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