This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226576 - in /trunk/gcc: ChangeLog gimple-fold....
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 04 Aug 2015 13:51:50 -0000
- Subject: r226576 - in /trunk/gcc: ChangeLog gimple-fold....
Author: rguenth
Date: Tue Aug 4 13:51:50 2015
New Revision: 226576
URL: https://gcc.gnu.org/viewcvs?rev=226576&root=gcc&view=rev
Log:
2015-08-04 Richard Biener <rguenther@suse.de>
* gimple-fold.c (gimple_fold_stmt_to_constant_1): Canonicalize
bool compares on RHS.
* match.pd: Add X ==/!= !X is false/true pattern.
* gcc.dg/tree-ssa/ssa-ccp-38.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-38.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-fold.c
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog