https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540
--- Comment #28 from John David Anglin <danglin at gcc dot gnu.org> --- Author: danglin Date: Wed Apr 17 00:22:23 2019 New Revision: 270402 URL: https://gcc.gnu.org/viewcvs?rev=270402&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-7-branch/libgfortran/ChangeLog branches/gcc-7-branch/libgfortran/io/write_float.def