https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540
--- Comment #27 from John David Anglin <danglin at gcc dot gnu.org> --- Author: danglin Date: Tue Apr 16 23:21:13 2019 New Revision: 270398 URL: https://gcc.gnu.org/viewcvs?rev=270398&root=gcc&view=rev Log: PR libgfortran/79540 * io/write_float.def (build_float_string): Don't copy digits when ndigits is negative. Modified: branches/gcc-8-branch/libgfortran/ChangeLog branches/gcc-8-branch/libgfortran/io/write_float.def