[Bug fortran/89574] [8/9/10/11 Regression] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 23 19:03:50 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:bab0c51af90f475dab8f1b306737cd04b06d4b04
commit r10-8523-gbab0c51af90f475dab8f1b306737cd04b06d4b04
Author: Harald Anlauf <anlauf@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)
More information about the Gcc-bugs
mailing list