re PR tree-optimization/68465 (pass_lim doesn't detect identical loop entry conditions)
authorRichard Biener <rguenther@suse.de>
Mon, 23 Nov 2015 15:21:32 +0000 (15:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Nov 2015 15:21:32 +0000 (15:21 +0000)
commit3789bf8412fb7ecde28694552d6c1f35a4e8ce52
treeed35bdd54ea7057eb9acff643f542abc99f99c4d
parent78cc43a2ab49c6ce1c730503cff73ea2e3a597bc
re PR tree-optimization/68465 (pass_lim doesn't detect identical loop entry conditions)

2015-11-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/68465
* tree-ssa-sccvn.c (sccvn_dom_walker::before_dom_children):
Also record equalities from multiple predecessor blocks if
only one non-backedge exists.

* gcc.dg/tree-ssa/ssa-fre-52.c: New testcase.

From-SVN: r230764
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-52.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c