[Bug fortran/96041] [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 18 20:19:34 GMT 2020


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

--- 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:13421890f81844acb134a460eda7132db3e504ed

commit r10-8775-g13421890f81844acb134a460eda7132db3e504ed
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Sep 17 14:01:09 2020 +0200

    Fortran: Avoid double-free with parse error (PR96041, PR93423)

    gcc/fortran/

            PR fortran/96041
            PR fortran/93423
            * decl.c (gfc_match_submod_proc): Avoid later double-free
            in the error case.

    (cherry picked from commit c12facd22881517127ebbe213d7ecc7fc1fcea4e)


More information about the Gcc-bugs mailing list