https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103610
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:5f7cdea34e118776d0ccd2ff3dda0f5acab18a94 commit r12-5842-g5f7cdea34e118776d0ccd2ff3dda0f5acab18a94 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.