mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
e9b75848c3
commit
8c02e05435
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
PR target/88483
|
||||
|
|
|
|||
|
|
@ -2861,6 +2861,9 @@ remap_edge_change_prob (struct cgraph_edge *inlined_edge,
|
|||
struct ipa_call_summary *inlined_es
|
||||
= ipa_call_summaries->get (inlined_edge);
|
||||
|
||||
if (es->param.length () == 0)
|
||||
return;
|
||||
|
||||
for (i = 0; i < ipa_get_cs_argument_count (args); i++)
|
||||
{
|
||||
struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i);
|
||||
|
|
|
|||
Loading…
Reference in New Issue