https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108431
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to federico from comment #1) > I've just found from previous discussions on Fortran forums that this may > not be a bug in the compiler but rather a gray area in the Fortran standard. > So I will close the bug as "invalid". Try adding -Wall to your command line. % gfcx -fdump-tree-original -c -Wall a.f90 a.f90:4:25: 4 | do i=-huge(i),huge(i) | 1 Warning: DO loop at (1) is undefined as it overflows [-Wundefined-do-loop]