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:
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user