]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): Canonicalize negated predic...
authorRichard Guenther <rguenther@suse.de>
Wed, 7 Sep 2011 13:02:05 +0000 (13:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Sep 2011 13:02:05 +0000 (13:02 +0000)
commite8642944338d59542a7c0462a4745cda93affb6e
treed7fdcaa9931bc56d88606ecb7ce549b79b8228e5
parent601f64e2e91c232210796cce3bc12a2e19a36ff2
tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): Canonicalize negated predicates by swapping edges.

2011-09-07  Richard Guenther  <rguenther@suse.de>

* tree-ssa-forwprop.c (forward_propagate_into_gimple_cond):
Canonicalize negated predicates by swapping edges.
(forward_propagate_into_cond): Likewise.

* gcc.dg/tree-ssa/forwprop-16.c: New testcase.

From-SVN: r178634
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/forwprop-16.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c