aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-fnsummary.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-fnsummary.c')
-rw-r--r--gcc/ipa-fnsummary.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c
index 9cb7d41..23b7821 100644
--- a/gcc/ipa-fnsummary.c
+++ b/gcc/ipa-fnsummary.c
@@ -3563,10 +3563,7 @@ public:
virtual unsigned int execute (function *)
{
ipa_free_fn_summary ();
- /* Early optimizations may make function unreachable. We can not
- remove unreachable functions as part of the early opts pass because
- TODOs are run before subpasses. Do it here. */
- return small_p ? TODO_remove_functions | TODO_dump_symtab : 0;
+ return 0;
}
private: