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

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

https://gcc.gnu.org/g:811145b10ff30608bb5ea459ea277219ada4f13d

commit r12-10286-g811145b10ff30608bb5ea459ea277219ada4f13d
Author: Harald Anlauf <anl...@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.cc (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)

Reply via email to