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
This commit is contained in:
parent
c6145f2ac6
commit
d380e329a7
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2019-11-07 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR ipa/92406
|
||||
* ipa-fnsummary.c (analyze_function_body): Use get_create to copy
|
||||
summary.
|
||||
|
||||
2019-11-07 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* optc-save-gen.awk: Generate cl_target_option_free
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue