]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/80361 ([OOP] bogus recursive call to nonrecursive procedure...
authorJanus Weil <janus@gcc.gnu.org>
Fri, 21 Apr 2017 21:37:16 +0000 (23:37 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 21 Apr 2017 21:37:16 +0000 (23:37 +0200)
commitcd93319bcfa6ccf2715ec76065ac0640d09bee99
tree1d01ac63bd577fc10d95b7e18f40ac976e148058
parent0629aac5a22d029d6fc7b8149fae37a33f381a60
backport: re PR fortran/80361 ([OOP] bogus  recursive call to nonrecursive procedure with -fcheck=recursion)

2017-04-21  Janus Weil  <janus@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  <janus@gcc.gnu.org>

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

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