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

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

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

commit r11-10503-gd7ec0bdfeae883d852d7c0dfc67766a3793f5892
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