https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64932
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Thu Feb 12 19:30:53 2015 New Revision: 220654 URL: https://gcc.gnu.org/viewcvs?rev=220654&root=gcc&view=rev Log: 2015-02-12 Paul Thomas <pa...@gcc.gnu.org> PR fortran/64932 * trans-stmt.c (gfc_trans_deallocate): If a component array expression is not a descriptor type and it is a derived type that has allocatable components and is not finalizable, then deallocate the allocatable components. 2015-02-12 Paul Thomas <pa...@gcc.gnu.org> PR fortran/64932 * gfortran.dg/finalize_28.f90: New test Added: trunk/gcc/testsuite/gfortran.dg/finalize_28.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog