===================================================================
@@ -1,5 +1,11 @@
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
cases.
===================================================================
@@ -866,7 +866,8 @@ want_inline_function_to_all_callers_p (s
{
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)