tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify against already removed...
authorRichard Guenther <rguenther@suse.de>
Wed, 20 Jul 2011 15:13:58 +0000 (15:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Jul 2011 15:13:58 +0000 (15:13 +0000)
commitf8ecf734ddb7fb486855929b16f84af55b346711
treedf2efba10f223dffa23f77c1e089f1043a930599
parent73451ae7855681759cde520c001171d9d1bede96
tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify against already removed statements.

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.

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