TODO_remove_unreachable_functions is needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218660
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-12-12 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-inline.c (ipa_inline): Fix condition on when
+ TODO_remove_unreachable_functions is needed.
+
2014-12-12 Jan Hubicka <hubicka@ucw.cz>
* ipa-devirt.c (possible_polymorphic_call_targets): Return early
while (node->call_for_symbol_thunks_and_aliases
(inline_to_all_callers, &num_calls, true))
;
- if (num_calls)
- remove_functions = true;
+ remove_functions = true;
}
}
}