]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-forwprop.c (forward_propagate_into_comparison): New function split out from ...
authorRichard Guenther <rguenther@suse.de>
Mon, 30 May 2011 09:19:58 +0000 (09:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 30 May 2011 09:19:58 +0000 (09:19 +0000)
commitd12d8efea8fcb3122b78b3eafb7e35fe7ec2f4bd
treea787d0d8161ab475fc5a672ebe57020ae15b9262
parentdf33b41f117cd769424e9f0d5a393c9d714f189d
tree-ssa-forwprop.c (forward_propagate_into_comparison): New function split out from ...

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.

From-SVN: r174428
gcc/ChangeLog
gcc/tree-ssa-forwprop.c