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/58058] [4.7/4.8/4.9 Regression] Memory leak with transfer function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58058

--- Comment #6 from janus at gcc dot gnu.org ---
Fixed on 4.7 with:


Author: janus
Date: Sun Aug 11 14:08:12 2013
New Revision: 201653

URL: http://gcc.gnu.org/viewcvs?rev=201653&root=gcc&view=rev
Log:
2013-08-11  Janus Weil  <janus@gcc.gnu.org>

    Backport from trunk:
    2013-08-09  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/58058
    * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Free the temporary
    string, if necessary.

2013-08-11  Janus Weil  <janus@gcc.gnu.org>

    Backport from trunk:
    2013-08-09  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/58058
    * gfortran.dg/transfer_intrinsic_6.f90: New.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/transfer_intrinsic_6.f90
Modified:
    branches/gcc-4_7-branch/gcc/fortran/ChangeLog
    branches/gcc-4_7-branch/gcc/fortran/trans-intrinsic.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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