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]

r226814 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: rguenth
Date: Wed Aug 12 14:27:40 2015
New Revision: 226814

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

	* tree-ssa-sccvn.c (vn_nary_op_compute_hash): Also canonicalize
	comparison operand order and commutative ternary op operand order.
	(sccvn_dom_walker::cond_stack): New state to track temporary
	expressions.
	(sccvn_dom_walker::after_dom_children): Remove tempoary expressions
	no longer valid.
	(sccvn_dom_walker::record_cond): Add a single temporary conditional
	expression.
	(sccvn_dom_walker::record_conds): Add a temporary conditional
	expressions and all related expressions also true/false.
	(sccvn_dom_walker::before_dom_children): Record temporary
	expressions based on the controlling condition of a single
	predecessor.  When trying to simplify a conditional statement
	lookup expressions we might have inserted earlier.

	* gcc.dg/tree-ssa/ssa-fre-47.c: New testcase.
	* gcc.dg/tree-ssa/ssa-fre-48.c: Likewise.
	* gcc.dg/tree-ssa/ssa-fre-49.c: Likewise.
	* g++.dg/tree-ssa/pr61034.C: Adjust.
	* gcc.dg/fold-compare-2.c: Likewise.
	* gcc.dg/pr50763.c: Likewise.
	* gcc.dg/predict-3.c: Likewise.
	* gcc.dg/tree-ssa/20030709-2.c: Likewise.
	* gcc.dg/tree-ssa/pr19831-3.c: Likewise.
	* gcc.dg/tree-ssa/pr20657.c: Likewise.
	* gcc.dg/tree-ssa/pr21001.c: Likewise.
	* gcc.dg/tree-ssa/pr37508.c: Likewise.
	* gcc.dg/tree-ssa/vrp04.c: Likewise.
	* gcc.dg/tree-ssa/vrp07.c: Likewise.
	* gcc.dg/tree-ssa/vrp09.c: Likewise.
	* gcc.dg/tree-ssa/vrp16.c: Likewise.
	* gcc.dg/tree-ssa/vrp20.c: Likewise.
	* gcc.dg/tree-ssa/vrp25.c: Likewise.
	* gcc.dg/tree-ssa/vrp87.c: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr61034.C
    trunk/gcc/testsuite/gcc.dg/fold-compare-2.c
    trunk/gcc/testsuite/gcc.dg/pr50763.c
    trunk/gcc/testsuite/gcc.dg/predict-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/20030709-2.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr19831-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr20657.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr37508.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp04.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp07.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp09.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp16.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp20.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp25.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp87.c
    trunk/gcc/tree-ssa-sccvn.c


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