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

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

https://gcc.gnu.org/g:6bcab64467d7393d69bf5abd7b2a0aba22d2896e

commit r12-8531-g6bcab64467d7393d69bf5abd7b2a0aba22d2896e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Jun 20 20:59:55 2022 +0200

    Fortran: handle explicit-shape specs with constant bounds [PR105954]

    gcc/fortran/ChangeLog:

            PR fortran/105954
            * decl.cc (variable_decl): Adjust upper bounds for explicit-shape
            specs with constant bound expressions to ensure non-negative
            extents.

    gcc/testsuite/ChangeLog:

            PR fortran/105954
            * gfortran.dg/pr105954.f90: New test.

    (cherry picked from commit a312407bd715647f7c11b67e0a52effc94d0f15d)

Reply via email to