This problem reported by Steve Kargl on the list. The conversion routines in write.c do not support conversion of kind=10 reals to an integer format. There is no kind=10 integer. I think the way to handle this is either improve the error message or convert to kind=16 and pad zeros or convert to kind = 8 and truncate.
I am not sure the best way to go, but clearly the error message could be improved in the least. Test case: program z implicit none real(10) e ! ! The next write fails due to an internal error, so ! Z formatting doesn't allow inspection of the last ! 4 bytes. ! e = 0.0 write(*,'(E24.17,1X,Z20))') e, e end program z -- Summary: Z format does not support writing KIND=10 reals Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: jvdelisle at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41711