[Bug fortran/103715] [11/12/13/14 Regression] ICE in gfc_find_gsymbol, at fortran/symbol.c:4301 since r9-3803-ga5fbc2f36a291cbe

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 20 21:29:44 GMT 2024


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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:7294f1a7aa457fe24d11270f06fd15c2b3ffd4ab

commit r11-11287-g7294f1a7aa457fe24d11270f06fd15c2b3ffd4ab
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon Mar 18 19:36:59 2024 +0100

    Fortran: error recovery in frontend optimization [PR103715]

    gcc/fortran/ChangeLog:

            PR fortran/103715
            * frontend-passes.c (check_externals_expr): Prevent invalid read
            in case of mismatch of external subroutine with function.

    gcc/testsuite/ChangeLog:

            PR fortran/103715
            * gfortran.dg/pr103715.f90: New test.

    (cherry picked from commit 3be2b8f475f22c531d6cef1b041c0573b3ea5133)


More information about the Gcc-bugs mailing list