This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r213118 - in /trunk/gcc: ChangeLog fold-const.c...


Author: ebotcazou
Date: Mon Jul 28 08:55:17 2014
New Revision: 213118

URL: https://gcc.gnu.org/viewcvs?rev=213118&root=gcc&view=rev
Log:
	PR middle-end/61734
	* fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
	operators other than the equality operators.

Added:
    trunk/gcc/testsuite/gcc.dg/fold-abs-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/Wstrict-overflow-25.c
    trunk/gcc/testsuite/gcc.dg/fold-compare-8.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]