diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-12-22 22:13:41 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-12-22 21:13:41 +0000 |
commit | 61e8dc4b93e6c177eb971e826e29bc195c283fda (patch) | |
tree | bff8bb16b7a674988b000e2e32f2590c153a6379 /gcc/ipa-utils.c | |
parent | 4611c03d2b0edefc8d8e17872ef143428f56380b (diff) | |
download | gcc-61e8dc4b93e6c177eb971e826e29bc195c283fda.zip gcc-61e8dc4b93e6c177eb971e826e29bc195c283fda.tar.gz gcc-61e8dc4b93e6c177eb971e826e29bc195c283fda.tar.bz2 |
* ipa-utils.c (ipa_merge_profiles): Recompute summaries.
From-SVN: r267361
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 3345f9d..422d8d0 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -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; |