https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #14 from kargl at gcc dot gnu.org --- The code uses undefined variables. With g77, these seem to be initialized to some value. If -freal-init=nan is used, the compiled program dies quickly. In other words, the bug is in the program not gfortran.