re PR fortran/80361 ([OOP] bogus recursive call to nonrecursive procedure with ...
authorJanus Weil <janus@gcc.gnu.org>
Fri, 14 Apr 2017 21:17:52 +0000 (23:17 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 14 Apr 2017 21:17:52 +0000 (23:17 +0200)
commit4307649214f90df9a4452acaf4224399066194c6
tree803625882c25c0e197373ef31279b97b4ba1cd1a
parentdd3d6a42fcd881b1f4f8fbd6cc82c1f14124b317
re PR fortran/80361 ([OOP] bogus  recursive call to nonrecursive procedure with -fcheck=recursion)

2017-04-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/80361
* class.c (generate_finalization_wrapper): Give the finalization wrapper
the recursive attribute.

2017-04-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/80361
* gfortran.dg/class_62.f90: New test case.

From-SVN: r246934
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_62.f90 [new file with mode: 0644]