re PR fortran/60922 (Memory leak with allocatable CLASS components)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 23 Jan 2015 08:32:09 +0000 (09:32 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 23 Jan 2015 08:32:09 +0000 (09:32 +0100)
commit652960d1809b326ad20adcaac1b5a72796413a2e
treea58fb8c9c7bd215016e24d0af8cfbd2a3c342ff0
parentc146acedf5139830c2a4b10e1bedbb2addd53dff
re PR fortran/60922 (Memory leak with allocatable CLASS components)

2015-01-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60922
* class.c (finalize_component): Apply the check for 'fini_coarray' only
to coarray components.

2015-01-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60922
* gfortran.dg/class_allocate_17.f90: New.

From-SVN: r220029
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_17.f90 [new file with mode: 0644]