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

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

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

commit r10-11195-gc67d76171e87d3ce364400684a654712047058b1
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Jan 23 22:13:44 2023 +0100

    Fortran: fix NULL pointer dereference in gfc_check_dependency [PR108502]

    gcc/fortran/ChangeLog:

            PR fortran/108502
            * dependency.c (gfc_check_dependency): Prevent NULL pointer
            dereference while recursively checking expressions.

    gcc/testsuite/ChangeLog:

            PR fortran/108502
            * gfortran.dg/pr108502.f90: New test.

    (cherry picked from commit 51767f31878a95161142254dca7119b409699670)

Reply via email to