https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207
--- Comment #1 from Bill Sacks <sacks at ucar dot edu> --- Created attachment 42166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42166&action=edit Simple test program Added attachment to demonstrate the problem in a simpler test program. Compile and run with gfortran gfortran_snan.f90 ./a.out