aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/function.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/function.cc b/gcc/function.cc
index 27ba880..cfc4d2f 100644
--- a/gcc/function.cc
+++ b/gcc/function.cc
@@ -6266,7 +6266,10 @@ thread_prologue_and_epilogue_insns (void)
/* Threading the prologue and epilogue changes the artificial refs in the
entry and exit blocks, and may invalidate DF info for tail calls. */
- if (optimize)
+ if (optimize
+ || flag_optimize_sibling_calls
+ || flag_ipa_icf_functions
+ || in_lto_p)
df_update_entry_exit_and_calls ();
else
{