2015-02-12 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Feb 2015 19:30:53 +0000 (19:30 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Feb 2015 19:30:53 +0000 (19:30 +0000)
commit38ef99c98a3c2fdc870e6265a4d21895fb5fc7dc
tree65515247139d8d4088e1b6ba93b4bbe760bc68eb
parent5308e3271fda858ebf8bc1c9e8bdb4cbdaa4ae6a
2015-02-12  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/64932
* gfortran.dg/finalize_28.f90: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220654 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/finalize_28.f90 [new file with mode: 0644]