OSDN Git Service

2011-05-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2011 09:19:58 +0000 (09:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2011 09:19:58 +0000 (09:19 +0000)
commitc8126d259bbe1b1b085d12bdf818c3f16d0d5433
treea787d0d8161ab475fc5a672ebe57020ae15b9262
parent1dc619a191a92d85c598859c9dd62844080d9874
2011-05-30  Richard Guenther  <rguenther@suse.de>

* tree-ssa-forwprop.c (forward_propagate_into_comparison):
New function split out from ...
(forward_propagate_into_gimple_cond): ... here.  Adjust.
(forward_propagate_into_cond): Likewise.
(forward_propagate_comparison): Also propagate into
comparisons on assignment RHS.  Change return value to
behave similar to forward_propagate_into_cond.
(tree_ssa_forward_propagate_single_use_vars): Handle
strict-overflow warnings properly for forward_propagate_comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174428 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-forwprop.c