The 8.64 compiler, when applied with /64 /opt to the test source (about 200 lines) at https://www.dropbox.com/s/u6fy00ypu3i8b65/ptbug.f90?dl=0 , prints out an incorrect result:
Last day, indices where pop is .true. and R values /= 0
( 1, 4) (120, 4) ( 7, 12) (104, 29) ( 8, 67) ( 21,142)
R( 1, 4) = 1, R(120, 4) = 1,
count(pop) = 4, sum(R) = 0 , (should be 6 and 2)
**** STOP: Please check for consistency
The line preceding the one with 'STOP' should display:
count(pop) = 6, sum(R) = 2 , (should be 6 and 2)
The program runs fine with /checkmate, /check and /debug. It runs fine even with /opt when a 32-bit program is built.
Since the program performs a random-walk, the output will probably not match the output when another compiler is used, since the sequence of random numbers from that compiler's runtime will be different.