summaryrefslogtreecommitdiffstats
path: root/gcc/sibcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sibcall.c')
-rw-r--r--gcc/sibcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sibcall.c b/gcc/sibcall.c
index 1203e684234..1e3be76efe7 100644
--- a/gcc/sibcall.c
+++ b/gcc/sibcall.c
@@ -569,7 +569,7 @@ optimize_sibling_and_tail_recursive_calls ()
/* We need cfg information to determine which blocks are succeeded
only by the epilogue. */
find_basic_blocks (insns, max_reg_num (), 0);
- cleanup_cfg (CLEANUP_PRE_SIBCALL);
+ cleanup_cfg (CLEANUP_PRE_SIBCALL | CLEANUP_PRE_LOOP);
/* If there are no basic blocks, then there is nothing to do. */
if (n_basic_blocks == 0)
OpenPOWER on IntegriCloud