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-uncprop.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-uncprop.c')
-rw-r--r-- | gcc/tree-ssa-uncprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index 8e77154..96c08d3 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -456,7 +456,7 @@ uncprop_into_successor_phis (basic_block bb) /* If there are no PHI nodes in this destination, then there is no sense in recording any equivalences. */ - if (!phis) + if (gimple_seq_empty_p (phis)) continue; /* Record any equivalency associated with E. */ |