https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80361
--- Comment #26 from janus at gcc dot gnu.org --- Author: janus Date: Fri Apr 21 21:37:16 2017 New Revision: 247071 URL: https://gcc.gnu.org/viewcvs?rev=247071&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-5-branch/gcc/testsuite/gfortran.dg/class_62.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/class.c branches/gcc-5-branch/gcc/testsuite/ChangeLog