http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58113
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- Quoting round_4.f90, which somehow no one seems to read ... ! Test whether I/O rounding works. Uses internally (libgfortran) strtod ! for the conversion - and sets the CPU rounding mode accordingly. ! ! If it doesn't work on your system, please check whether strtod handles ! rounding and whether your system is supported in libgfortran/config/fpu*.c ! ! Please only add ... run { target { ! { triplets } } } if it is unfixable ! on your target - and a note why (strtod doesn't handle it, no rounding ! support, etc.) Thus, one way forward would be to exclude the target (Solaris, FreeBSD) - or to simply add XFAIL as it also only works with very recent GLIBCs. Alternatively, one could also think about a different technique for handling the rounding (on input) in libgfortran.