mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-06 23:51:26 +08:00
* ipa-utils.c (ipa_merge_profiles): Recompute summaries.
From-SVN: r267361
This commit is contained in:
parent
4611c03d2b
commit
61e8dc4b93
@ -1,3 +1,7 @@
|
||||
2018-12-21 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* ipa-utils.c (ipa_merge_profiles): Recompute summaries.
|
||||
|
||||
2018-12-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/85594
|
||||
|
@ -643,7 +643,9 @@ ipa_merge_profiles (struct cgraph_node *dst,
|
||||
}
|
||||
if (!preserve_body)
|
||||
src->release_body ();
|
||||
ipa_update_overall_fn_summary (dst);
|
||||
/* Update summary. */
|
||||
symtab->call_cgraph_removal_hooks (dst);
|
||||
symtab->call_cgraph_insertion_hooks (dst);
|
||||
}
|
||||
/* TODO: if there is no match, we can scale up. */
|
||||
src->decl = oldsrcdecl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user