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

--- Comment #6 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:50592ed4703d2e1ade2b197c58b72da0b91933cc

commit r11-10274-g50592ed4703d2e1ade2b197c58b72da0b91933cc
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Sep 20 22:41:48 2022 +0200

    Fortran: error recovery on invalid ARRAY argument to FINDLOC [PR106986]

    gcc/fortran/ChangeLog:

            PR fortran/106986
            * simplify.c (gfc_simplify_findloc): Do not try to simplify
            intrinsic FINDLOC when the ARRAY argument has a NULL shape.

    gcc/testsuite/ChangeLog:

            PR fortran/106986
            * gfortran.dg/pr106986.f90: New test.

    (cherry picked from commit 5976fbf9d5dd9542fcb82eebb2185886fd52d000)

Reply via email to