http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60993
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #1 from Harald Anlauf <anlauf at gmx dot de> --- The ICE is not nice. However, in the meantime you can try something like the following as a workaround: real(8), parameter :: dinf = real (z'7ff8000000000000',8) real(8), parameter :: dnan = real (z'7ff0000000000000',8) write(*,*) dnan, dinf write(*,'(z16.16,4x,z16.16)') dnan, dinf end which works for me.