This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/85840] Memory leak in write.c


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840

--- Comment #13 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  <jvdelisle@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  <jvdelisle@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]