re PR fortran/49466 (Memory leak with assignment of extended derived types)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 27 Jun 2011 20:59:12 +0000 (22:59 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 27 Jun 2011 20:59:12 +0000 (22:59 +0200)
commitdbb7247b9a209ac3afef3c5174ba552c1f941bec
treeb0d8e98279bfeac6c3b975fee2ba9fbbd2b62c6c
parent5d8d1543f583eb26342b90bae27fe099062d6be4
re PR fortran/49466 (Memory leak with assignment of extended derived types)

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.

From-SVN: r175563
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocatable_scalar_9.f90
gcc/testsuite/gfortran.dg/extends_14.f03 [new file with mode: 0644]