[Bug fortran/30146] Redefining do-variable in excecution cycle
michael dot a dot richmond at nasa dot gov
gcc-bugzilla@gcc.gnu.org
Wed Mar 21 16:15:00 GMT 2007
------- Comment #3 from michael dot a dot richmond at nasa dot gov 2007-03-21 16:15 -------
The following program causes an infinite loop in gfortran, but not in other
fortrans.
PROGRAM do_index_in_call
DO i = 1, 1
CALL SUB(i)
ENDDO
END PROGRAM do_index_in_call
SUBROUTINE sub(i)
i = 2
END
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30146
More information about the Gcc-bugs
mailing list