aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfgcleanup.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-01-17 16:22:17 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-01-17 16:22:17 +0000
commit8eacd0162e5d13cd77de8c85aa2759519a1cd5ec (patch)
tree041367621a0936e98186fa8424bcd6441b96e7ad /gcc/tree-cfgcleanup.c
parent9adf0570ff15ff5e3df45426bf159e6f4e5a8b3e (diff)
downloadgcc-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-cfgcleanup.c')
-rw-r--r--gcc/tree-cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c
index 5904407..201298d 100644
--- a/gcc/tree-cfgcleanup.c
+++ b/gcc/tree-cfgcleanup.c
@@ -875,7 +875,7 @@ merge_phi_nodes (void)
/* We have to feed into another basic block with PHI
nodes. */
- if (!phi_nodes (dest)
+ if (gimple_seq_empty_p (phi_nodes (dest))
/* We don't want to deal with a basic block with
abnormal edges. */
|| has_abnormal_incoming_edge_p (bb))