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]

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


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