http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38199
--- Comment #38 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Dominiq, can you try FM908 with something like Valgrind and also try
> different
> optimization levels and see if anything odd pops up.
I don't have access to valgrind on this machine, but if I compile with
-fsanitize=address, I get
...
7 FAIL
COMPUTED= 0.3400000000D-03
CORRECT= 0.3438457000D+03
8 FAIL
COMPUTED= 0.0000000000D+00
CORRECT= 0.3438457000D+03
9 FAIL
COMPUTED= 0.0000000000D+00
CORRECT= 0.3438457000D+03
...
27 FAIL
COMPUTED= ( 34.84000, 0.00000)
CORRECT= ( 34.84000, 349.88699)
...
43 PASS
1
TEST PASS/FAIL DISPLAYED RESULTS REMARKS
-------------------------------------------------------------------------------
At line 727 of file /Users/dominiq/Documents/Fortran/NISTtest/NIST/FM908.f
Fortran runtime error: Bad value on logical read