------- Comment #9 from burnus at gcc dot gnu dot org 2007-06-18 21:04 ------- > valid test case(?) > I have removed the dummy subroutines and type mismatch. Still not fully valid as NAG f95 complains Error: yyy.f: Argument IVG (no. 2) in reference to VR2 from MAIN is not an array [...] However, ignoring this issue ("-dusty"), NAG f95 shows another issue: Subscript 1 of A (value 2) is out of range (1:1) in PRMX, line 191 (gfortran -fbounds-check finds it also.)
Otherwise on x86_64-unknown-linux-gnu I get the same result with all my compilers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32393