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
This commit is contained in:
Jan Hubicka
2014-12-12 10:05:56 +01:00
committed by Jan Hubicka
parent b41e0d29d2
commit f019b6072d
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
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
+1 -2
View File
@@ -2254,8 +2254,7 @@ ipa_inline (void)
while (node->call_for_symbol_thunks_and_aliases
(inline_to_all_callers, &num_calls, true))
;
if (num_calls)
remove_functions = true;
remove_functions = true;
}
}
}