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 #10 from janus at gcc dot gnu.org 2011-07-02 13:46:23 UTC ---
Author: janus
Date: Sat Jul  2 13:46:21 2011
New Revision: 175780

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175780
Log:
2011-07-02  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-07-02  Janus Weil  <janus@gcc.gnu.org>

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/extends_14.f03
Modified:
    branches/gcc-4_6-branch/gcc/fortran/ChangeLog
    branches/gcc-4_6-branch/gcc/fortran/trans-array.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/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]