https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85906
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Sun May 27 03:22:11 2018 New Revision: 260802 URL: https://gcc.gnu.org/viewcvs?rev=260802&root=gcc&view=rev Log: 2018-05-26 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk. PR libgfortran/85906 * io/write.c (write_integer): Initialise the fnode format to FMT_NONE, used for list directed write. (BUF_STACK_SZ): Bump default buffer size up to avoid allocs on small stuff. 2018-05-26 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk. PR libgfortran/85840 * io/write.c (write_float_0): Use separate local variable for the float string length. Modified: branches/gcc-8-branch/libgfortran/ChangeLog branches/gcc-8-branch/libgfortran/io/write.c