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

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Wed Jul 1 13:18:00 GMT 2015


Author: rguenth
Date: Wed Jul  1 13:18:49 2015
New Revision: 225249

URL: https://gcc.gnu.org/viewcvs?rev=225249&root=gcc&view=rev
Log:
2015-07-01  Richard Biener  <rguenther@suse.de>

	* fold-const.c (fold_comparison): Move X - Y CMP 0 -> X CMP Y,
	X * C1 CMP 0 -> X CMP 0, X CMP X, ~X CMP ~Y -> Y CMP X and
	~X CMP C -> X CMP' ~C to ...
	* match.pd: ... patterns here.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/match.pd



More information about the Gcc-cvs mailing list