https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77393
--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Rainer Orth from comment #10) > The test FAILs on Solaris (both sparc and x86, both 32 and 64-bit): > > FAIL: gfortran.dg/fmt_f0_2.f90 -O0 execution test > FAIL: gfortran.dg/fmt_f0_2.f90 -O1 execution test > FAIL: gfortran.dg/fmt_f0_2.f90 -O2 execution test > FAIL: gfortran.dg/fmt_f0_2.f90 -O3 -fomit-frame-pointer -funroll-loops > -fpeel-loops -ftracer -finline-functions execution test > FAIL: gfortran.dg/fmt_f0_2.f90 -O3 -g execution test > FAIL: gfortran.dg/fmt_f0_2.f90 -Os execution test > > Note: The following floating-point exceptions are signalling: > IEEE_OVERFLOW_FLAG > ERROR STOP FAILED AT LINE 23 > > Error termination. Backtrace: > > Rainer The test case also fails on PowerPC and other architectures because it makes assumptions about the number of digits being generated by the snprintf functions. I will be changing that shortly which will resolve the ERROR STOP. Can you confirm whether or not you get a segfault with the following from comment 2. print "(f8.0)", huge(1.0) print "(f18.0)", huge(1.0_8) print "(f20.0)", huge(1.0_10) print "(f40.0)", huge(1.0_16) end