https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840
--- Comment #15 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Fri Jun 1 02:14:53 2018 New Revision: 261054 URL: https://gcc.gnu.org/viewcvs?rev=261054&root=gcc&view=rev Log: 2018-05-31 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk. PR libgfortran/85840 * io/write.c (write_real, write_real_g0, write_complex): Use separate local variables for the float string length. Modified: branches/gcc-8-branch/libgfortran/ChangeLog branches/gcc-8-branch/libgfortran/io/write.c