[Bug fortran/83650] [6/7/8 Regression] Wrong simplification in cshift with negative shifts
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 2 23:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83650
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Jan 2 23:03:11 2018
New Revision: 256113
URL: https://gcc.gnu.org/viewcvs?rev=256113&root=gcc&view=rev
Log:
2018-01-02 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from 7-branch
PR fortran/83650
* simplify.c (gfc_simplify_cshift): Correct contition for
negative shifts.
2018-01-02 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from 7-branch
PR fortran/83650
* gfortran.dg/simplify_cshift_1.f90: Correct condition.
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/simplify.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90
More information about the Gcc-bugs
mailing list