]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-forwprop.c
2011-07-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2011 15:13:58 +0000 (15:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2011 15:13:58 +0000 (15:13 +0000)
commit6f9714b3fe62c08b5d1bcf64483d5da074e0e22f
treedf2efba10f223dffa23f77c1e089f1043a930599
parent9685fb69b2615db052080a08496f3aa137ec1892
2011-07-20  Richard Guenther  <rguenther@suse.de>

* tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify
against already removed statements.
(forward_propagate_into_comparison): Remove dead defining stmts.
(forward_propagate_into_gimple_cond): Likewise.
(forward_propagate_into_cond): Simplify.
(ssa_forward_propagate_and_combine): Handle changed cfg from
forward_propagate_into_comparison.
* tree-ssa-phiopt.c (conditional_replacement): Use proper
locations for newly built statements.

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