https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95743

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Thomas Kथà¤nig
<tkoe...@gcc.gnu.org>:

https://gcc.gnu.org/g:dc0a56856417a91dc49fd1ea75e0802d0f5da276

commit r9-8707-gdc0a56856417a91dc49fd1ea75e0802d0f5da276
Author: Thomas Koenig <tkoe...@gcc.gnu.org>
Date:   Mon Jun 29 23:11:06 2020 +0200

    Do not generate recursion check for compiler-generated procedures.

    This one-line fix removes a check for recursion for procedures
    which are compiler-generated, such as finalizers or deallocation.
    These need to be recursive, even if the user code should not be.

    gcc/fortran/ChangeLog:

            PR fortran/95743
            * trans-decl.c (gfc_generate_function_code): Do not generate
            recursion check for compiler-generated procedures.

    (cherry picked from commit 95cdcf701dad826f225d6413b59650f181954399)

Reply via email to