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