Commit 8c02e054 by Jan Hubicka Committed by Jan Hubicka

ipa-fnsummary.c (remap_edge_change_prob): Do not ICE when changes are not streamed in.


	* ipa-fnsummary.c (remap_edge_change_prob): Do not ICE when changes
	are not streamed in.

From-SVN: r267191
parent e9b75848
2018-12-15 Jan Hubicka <hubicka@ucw.cz>
* ipa-fnsummary.c (remap_edge_change_prob): Do not ICE when changes
are not streamed in.
2018-12-15 H.J. Lu <hongjiu.lu@intel.com> 2018-12-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/88483 PR target/88483
...@@ -2861,6 +2861,9 @@ remap_edge_change_prob (struct cgraph_edge *inlined_edge, ...@@ -2861,6 +2861,9 @@ remap_edge_change_prob (struct cgraph_edge *inlined_edge,
struct ipa_call_summary *inlined_es struct ipa_call_summary *inlined_es
= ipa_call_summaries->get (inlined_edge); = ipa_call_summaries->get (inlined_edge);
if (es->param.length () == 0)
return;
for (i = 0; i < ipa_get_cs_argument_count (args); i++) for (i = 0; i < ipa_get_cs_argument_count (args); i++)
{ {
struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i); struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment