https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77393
--- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #13 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > Author: jvdelisle > Date: Tue Sep 6 23:22:26 2016 > New Revision: 240018 > > URL: https://gcc.gnu.org/viewcvs?rev=240018&root=gcc&view=rev > Log: > 2016-09-06 Jerry DeLisle <jvdeli...@gcc.gnu.org> > > PR libgfortran/77393 > * io/write_float.def (build_float_string): Recognize when the > result will not fit in the user provided, star fill, and exit > early. > > * gfortran.dg/fmt_f0_2.f90: Update test. > * gfortran.dg/fmt_f0_3.f90: New test. I've only now managed to test the patch: it passes on both i386-pc-solaris2.12 and sparc-sun-solaris2.12. Thanks. Rainer