Commit f019b607 by Jan Hubicka Committed by Jan Hubicka

ipa-inline.c (ipa_inline): Fix condition on when TODO_remove_unreachable_functions is needed.

	* ipa-inline.c (ipa_inline): Fix condition on when
	TODO_remove_unreachable_functions is needed.

From-SVN: r218660
parent b41e0d29
2014-12-12 Jan Hubicka <hubicka@ucw.cz> 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 * ipa-devirt.c (possible_polymorphic_call_targets): Return early
if otr_type has no BINFO. if otr_type has no BINFO.
...@@ -2254,8 +2254,7 @@ ipa_inline (void) ...@@ -2254,8 +2254,7 @@ ipa_inline (void)
while (node->call_for_symbol_thunks_and_aliases while (node->call_for_symbol_thunks_and_aliases
(inline_to_all_callers, &num_calls, true)) (inline_to_all_callers, &num_calls, true))
; ;
if (num_calls) remove_functions = true;
remove_functions = true;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment