diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-21 13:01:35 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-21 13:01:35 +0000 |
commit | f10471206b5c5393c7f74c5bd86f048c8926f971 (patch) | |
tree | 25c12529017cf06539baa62937edd24614e91926 /gcc/cfgloop.c | |
parent | 4fb07105810e648fe4e4c00eee3b7b6176d249cb (diff) | |
download | gcc-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.c | 5 |
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) |