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/49466] [4.6/4.7 Regression] Memory leak with assignment of extended derived types


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

--- Comment #9 from janus at gcc dot gnu.org 2011-06-27 20:59:16 UTC ---
Author: janus
Date: Mon Jun 27 20:59:12 2011
New Revision: 175563

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175563
Log:
2011-06-27  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/49466
    * trans-array.c (structure_alloc_comps): Make sure sub-components
    and extended types are correctly deallocated.


2011-06-27  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/49466
    * gfortran.dg/allocatable_scalar_9.f90: Modified.
    * gfortran.dg/extends_14.f03: Modified.

Added:
    trunk/gcc/testsuite/gfortran.dg/extends_14.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/allocatable_scalar_9.f90


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