2011-05-11 Richard Guenther <rguenther@suse.de>
commit300da094e9e74dbe8dceabbc1e30b6d7d41760a9
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 10:52:57 +0000 (11 10:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 10:52:57 +0000 (11 10:52 +0000)
treefd9a3746cb25bbcc5e49f7019b461cb872498273
parente27d9de9dfecd1c5815be4549a6513efad2b4522
2011-05-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/18041
* tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ...
(simplify_bitwise_binary): ... this.  Handle operand conversions
by applying them to the result instead.
(tree_ssa_forward_propagate_single_use_vars): Adjust.  CSE tree code.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173650 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/forwprop-13.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c