2017-05-09 Janus Weil <janus@gcc.gnu.org>
commit5c03ffae0ef631c0481b22f9da65266467858f55
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 May 2017 20:55:38 +0000 (9 20:55 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 May 2017 20:55:38 +0000 (9 20:55 +0000)
tree0b4c85fc8bc7d394a320073f2800035e739f026d
parent452d52143d0d076d3a60931860a723f10b6692d0
2017-05-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/79311
* resolve.c (gfc_resolve_finalizers): Ensure that derived-type
components have a their finalizers resolved, also if the superordinate
type itself has a finalizer.

2017-05-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/79311
* gfortran.dg/finalize_32.f90: New test.

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