diff options
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index 07898c3..a978dd4 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2034,7 +2034,7 @@ expand_call (exp, target, ignore) the call. */ try_tail_call = 0; - if (optimize >= 2 + if (flag_optimize_sibling_calls && currently_expanding_call == 1 && stmt_loop_nest_empty () && ! any_pending_cleanups (1)) |