https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #25 from janus at gcc dot gnu.org --- Author: janus Date: Fri Apr 21 21:11:22 2017 New Revision: 247070 URL: https://gcc.gnu.org/viewcvs?rev=247070&root=gcc&view=rev Log: 2017-04-21 Janus Weil <ja...@gcc.gnu.org> Backport from trunk PR fortran/80361 * class.c (generate_finalization_wrapper): Give the finalization wrapper the recursive attribute. 2017-04-21 Janus Weil <ja...@gcc.gnu.org> Backport from trunk PR fortran/80361 * gfortran.dg/class_62.f90: New test case. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/class_62.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/class.c branches/gcc-6-branch/gcc/testsuite/ChangeLog