https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131
--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Thu Apr 30 22:12:31 2015 New Revision: 222661 URL: https://gcc.gnu.org/viewcvs?rev=222661&root=gcc&view=rev Log: 2015-04-30 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * simplify.c (simplify_bound): Get constant lower bounds of one from array spec for assumed and explicit shape shape arrays if the lower bounds are indeed one. 2015-04-30 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * gfortran.dg/coarray_lib_this_image_2.f90: Adjust scan pattern. * gfortran.dg/bound_9.f90: New test case. Added: trunk/gcc/testsuite/gfortran.dg/bound_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/coarray_lib_this_image_2.f90