[Bug fortran/49466] [4.6/4.7 Regression] Memory leak with assignment of extended derived types
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 27 20:59:00 GMT 2011
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
More information about the Gcc-bugs
mailing list