diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-10-21 13:01:35 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-10-21 13:01:35 +0000 |
commit | 31ff2426f662ec821ef48bee12eb3f08e4e16d9b (patch) | |
tree | 25c12529017cf06539baa62937edd24614e91926 /gcc/cfgloop.c | |
parent | 2f7ba24e1f6367bf8c1a094ec85eb4064f7cf6ff (diff) | |
download | gcc-31ff2426f662ec821ef48bee12eb3f08e4e16d9b.zip gcc-31ff2426f662ec821ef48bee12eb3f08e4e16d9b.tar.gz gcc-31ff2426f662ec821ef48bee12eb3f08e4e16d9b.tar.bz2 |
cfgloop.c (flow_loops_find): Call bb_has_abnormal_pred.
* 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.
From-SVN: r165772
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 c242756..22bce4f 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) |