diff options
author | Richard Guenther <rguenther@suse.de> | 2010-01-17 16:22:17 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-01-17 16:22:17 +0000 |
commit | 8eacd0162e5d13cd77de8c85aa2759519a1cd5ec (patch) | |
tree | 041367621a0936e98186fa8424bcd6441b96e7ad /gcc/tree-ssa-dce.c | |
parent | 9adf0570ff15ff5e3df45426bf159e6f4e5a8b3e (diff) | |
download | gcc-8eacd0162e5d13cd77de8c85aa2759519a1cd5ec.zip gcc-8eacd0162e5d13cd77de8c85aa2759519a1cd5ec.tar.gz gcc-8eacd0162e5d13cd77de8c85aa2759519a1cd5ec.tar.bz2 |
tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI node existence check.
2010-01-17 Richard Guenther <rguenther@suse.de>
* tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI
node existence check.
* tree-vect-loop.c (vect_analyze_loop_form): Likewise.
* tree-cfgcleanup.c (merge_phi_nodes): Likewise.
* tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
* tree-cfg.c (gimple_execute_on_growing_pred): Likewise.
(gimple_execute_on_growing_pred): Likewise.
From-SVN: r155983
Diffstat (limited to 'gcc/tree-ssa-dce.c')
-rw-r--r-- | gcc/tree-ssa-dce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c index cdb6432..bb24b62 100644 --- a/gcc/tree-ssa-dce.c +++ b/gcc/tree-ssa-dce.c @@ -958,7 +958,7 @@ forward_edge_to_pdom (edge e, basic_block post_dom_bb) if (e2 != e) return e2; - if (phi_nodes (post_dom_bb)) + if (!gimple_seq_empty_p (phi_nodes (post_dom_bb))) { /* We are sure that for every live PHI we are seeing control dependent BB. This means that we can look up the end of control dependent path leading |