diff options
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index a370e385d89..06fbf701e23 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -1221,14 +1221,11 @@ force_single_succ_latches (struct loops *loops) for (i = 1; i < loops->num; i++) { - edge_iterator ei; loop = loops->parray[i]; if (loop->latch != loop->header && EDGE_COUNT (loop->latch->succs) == 1) continue; - FOR_EACH_EDGE (e, ei, loop->header->preds) - if (e->src == loop->latch) - break; + e = find_edge (loop->latch, loop->header); loop_split_edge_with (e, NULL_RTX); } |