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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

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

commit r9-8762-gb2fe9b1bf79037a90bc5146efe77417b888a86a0
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Jul 21 21:37:30 2020 +0200

    PR fortran/89574 - ICE in conv_function_val, at fortran/trans-expr.c:3792

    When checking for an external procedure from the same file, do not
    consider symbols from different modules.

    gcc/fortran/
            PR fortran/89574
            * trans-decl.c (gfc_get_extern_function_decl): Check whether a
            symbol belongs to a different module.

    (cherry picked from commit 28f2a080cc27531a8c78aec9f44aeff4961c2a4c)

Reply via email to