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

--- 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:1cb4a0db82c51c742961a350c9c7a45ba1fe8475

commit r11-8479-g1cb4a0db82c51c742961a350c9c7a45ba1fe8475
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu May 27 13:55:11 2021 +0200

    PR fortran/100656 - prevent ICE in gfc_conv_expr_present

    gcc/fortran/ChangeLog:

            PR fortran/100656
            * trans-array.c (gfc_conv_ss_startstride): Do not call check for
            presence of a dummy argument when a symbol actually refers to a
            non-dummy.

    gcc/testsuite/ChangeLog:

            PR fortran/100656
            * gfortran.dg/bounds_check_22.f90: New test.

    (cherry picked from commit 9d3a953ec4d2695e9a6bfa5f22655e2aea47a973)

Reply via email to