summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r--gcc/tree-ssa-loop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c
index 8565f255223..b776d0fb3a6 100644
--- a/gcc/tree-ssa-loop.c
+++ b/gcc/tree-ssa-loop.c
@@ -48,7 +48,10 @@ struct loops *current_loops = NULL;
static struct loops *
tree_loop_optimizer_init (FILE *dump)
{
- struct loops *loops = loop_optimizer_init (dump);
+ struct loops *loops;
+
+ loops = loop_optimizer_init (dump, (LOOPS_NORMAL
+ | LOOPS_HAVE_MARKED_SINGLE_EXITS));
if (!loops)
return NULL;
@@ -92,9 +95,6 @@ tree_ssa_loop_init (void)
if (!current_loops)
return;
- /* Find the loops that are exited just through a single edge. */
- mark_single_exit_loops (current_loops);
-
scev_initialize (current_loops);
}