aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-init.c b/gcc/loop-init.c
index de041fd..2eddb6d 100644
--- a/gcc/loop-init.c
+++ b/gcc/loop-init.c
@@ -49,7 +49,7 @@ loop_optimizer_init (FILE *dumpfile)
block. */
for (ei = ei_start (EXIT_BLOCK_PTR->preds); (e = ei_safe_edge (ei)); )
- if ((e->flags & EDGE_FALLTHRU) && EDGE_COUNT (e->src->succs) > 1)
+ if ((e->flags & EDGE_FALLTHRU) && !single_succ_p (e->src))
split_edge (e);
else
ei_next (&ei);