FTN95 8.70 on Windows 10-64, compiling with /checkmate for 32-bit, for the following test program, detects the undefined variable -- hardly surprising.
With /64 /checkmate, however, the bug goes undetected, and the program prints 0.0.
program Uninit
implicit none
integer , dimension(2,201) :: iv
print *,iv(2,201)
stop
end program Uninit
Tinkering with the bounds of IV and modifying the indices in the PRINT statement to match, e.g., (2,101) in both places, may make the bug go away (the reference to the undefined array element gets detected).
This bug may be related to the one that I reported a few days ago: https://forums.silverfrost.com/Forum/Topic/3959 .