after expanidng thunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277483
138bc75d-0d04-0410-961f-
82ee72b054a4
+2019-10-27 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-inline-transform.c (inline_call): update function summaries
+ after expanidng thunk.
+
2019-10-27 Jan Hubicka <hubicka@ucw.cz>
* ipa-icf.c (sem_function::merge): Update function summaries.
if (to->thunk.thunk_p)
{
struct cgraph_node *target = to->callees->callee;
+ symtab->call_cgraph_removal_hooks (to);
if (in_lto_p)
to->get_untransformed_body ();
to->expand_thunk (false, true);
/* When thunk is instrumented we may have multiple callees. */
for (e = to->callees; e && e->callee != target; e = e->next_callee)
;
+ symtab->call_cgraph_insertion_hooks (to);
gcc_assert (e);
}