re PR ipa/64218 (ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite)
PR ipa/64218 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check whether function is an alias. From-SVN: r219859
This commit is contained in:
parent
68c9467f3e
commit
9789b553b4
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -866,7 +866,8 @@ want_inline_function_to_all_callers_p (struct cgraph_node *node, bool cold)
|
|||
{
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue