PR ipa/64218
* ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
whether function is an alias.
From-SVN: r219859
+2015-01-19 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/64218
+ * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
+ whether function is an alias.
+
2015-01-19 Jan Hubicka <hubicka@ucw.cz>
* ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
{
bool has_hot_call = false;
- if (node->ultimate_alias_target () != node)
+ /* Aliases gets inlined along with the function they alias. */
+ if (node->alias)
return false;
/* Already inlined? */
if (node->global.inlined_to)