diff options
author | Jan Hubicka <jh@suse.cz> | 2019-11-07 18:08:11 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-07 17:08:11 +0000 |
commit | d380e329a743b1fdadd6e82da6e9c14cd15cc914 (patch) | |
tree | 25a411986777f6a968dd9d73de9f5be042320196 /gcc/ipa-fnsummary.c | |
parent | c6145f2ac6f946ae2613ffbd85ba072cf05d4a3f (diff) | |
download | gcc-d380e329a743b1fdadd6e82da6e9c14cd15cc914.zip gcc-d380e329a743b1fdadd6e82da6e9c14cd15cc914.tar.gz gcc-d380e329a743b1fdadd6e82da6e9c14cd15cc914.tar.bz2 |
re PR lto/92406 (ICE in ipa_call_summary at ipa-fnsummary.h:253 with lto and pgo)
PR ipa/92406
* ipa-fnsummary.c (analyze_function_body): Use get_create to copy
summary.
From-SVN: r277927
Diffstat (limited to 'gcc/ipa-fnsummary.c')
-rw-r--r-- | gcc/ipa-fnsummary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c index 64c4d95..702f295 100644 --- a/gcc/ipa-fnsummary.c +++ b/gcc/ipa-fnsummary.c @@ -2483,7 +2483,7 @@ analyze_function_body (struct cgraph_node *node, bool early) edge->speculative_call_info (direct, indirect, ref); gcc_assert (direct == edge); ipa_call_summary *es2 - = ipa_call_summaries->get (indirect); + = ipa_call_summaries->get_create (indirect); ipa_call_summaries->duplicate (edge, indirect, es, es2); } |