https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540
--- Comment #24 from John David Anglin <danglin at gcc dot gnu.org> --- Author: danglin Date: Mon Mar 25 11:48:36 2019 New Revision: 269911 URL: https://gcc.gnu.org/viewcvs?rev=269911&root=gcc&view=rev Log: PR libgfortran/79540 * io/write_float.def (build_float_string): Don't copy digits when ndigits is negative. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/write_float.def