https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83650
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Tue Jan 2 18:01:31 2018 New Revision: 256085 URL: https://gcc.gnu.org/viewcvs?rev=256085&root=gcc&view=rev Log: 2018-01-02 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/83650 * simplify.c (gfc_simplify_cshift): Correct contition for negative shifts. 2018-01-02 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/83650 * gfortran.dg/simplify_cshift_1.f90: Correct condition. Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/simplify.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90