summaryrefslogtreecommitdiff
path: root/gcc/cfgloop.c
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-21 13:01:35 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-21 13:01:35 +0000
commitf10471206b5c5393c7f74c5bd86f048c8926f971 (patch)
tree25c12529017cf06539baa62937edd24614e91926 /gcc/cfgloop.c
parent4fb07105810e648fe4e4c00eee3b7b6176d249cb (diff)
downloadgcc-f10471206b5c5393c7f74c5bd86f048c8926f971.tar.gz
* cfgloop.c (flow_loops_find): Call bb_has_abnormal_pred.
* reload1.c (has_nonexceptional_receiver): Likewise. * tree-into-ssa.c (rewrite_update_enter_block): Likewise. (create_new_def_for): Likewise. * tree-cfgcleanup.c (remove_forwarder_block): Likewise. (merge_phi_nodes): Likewise. (has_abnormal_incoming_edge_p): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r--gcc/cfgloop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index c242756e848..22bce4f3190 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -410,10 +410,7 @@ flow_loops_find (struct loops *loops)
/* If we have an abnormal predecessor, do not consider the
loop (not worth the problems). */
- FOR_EACH_EDGE (e, ei, header->preds)
- if (e->flags & EDGE_ABNORMAL)
- break;
- if (e)
+ if (bb_has_abnormal_pred (header))
continue;
FOR_EACH_EDGE (e, ei, header->preds)