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

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

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

commit r10-10346-ga28d6903677629c23bac53ff061eb80f22d51006
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Dec 7 23:06:41 2021 +0100

    Fortran: dimensions of an array have to be non-negative

    gcc/fortran/ChangeLog:

            PR fortran/103610
            * array.c (spec_dimen_size): Fix simplification of SHAPE:
            dimensions must be non-negative.

    gcc/testsuite/ChangeLog:

            PR fortran/103610
            * gfortran.dg/shape_11.f90: New test.

    (cherry picked from commit 5f7cdea34e118776d0ccd2ff3dda0f5acab18a94)

Reply via email to