------- 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