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

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

https://gcc.gnu.org/g:8b1dae4d33285643c5f51d828aa6f31ffbfc33b7

commit r9-9863-g8b1dae4d33285643c5f51d828aa6f31ffbfc33b7
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Dec 7 21:34:31 2021 +0100

    Fortran: perform array subscript checks only for valid INTEGER bounds

    gcc/fortran/ChangeLog:

            PR fortran/103607
            * frontend-passes.c (do_subscript): Ensure that array bounds are
            of type INTEGER before performing checks on array subscripts.

    gcc/testsuite/ChangeLog:

            PR fortran/103607
            * gfortran.dg/pr103607.f90: New test.

    (cherry picked from commit 9eec77c0df9e5c67454a2e8f83246104458ba4f0)

Reply via email to