https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89920
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the test with -Wundefined-do-loop (included in -Wall) gives 8 | do i = 1,maximum | 1 Warning: DO loop at (1) is undefined as it overflows [-Wundefined-do-loop] Although the present behavior is too pedantic for my taste, it has been discussed at length in the past and has settled to the present behavior.