https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65028

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #31 from H.J. Lu <hjl.tools at gmail dot com> ---
If I disable ipa_read_jump_function in:

  for (e = node->callees; e; e = e->next_callee)
    {
      struct ipa_edge_args *args = IPA_EDGE_REF (e);
      int count = streamer_read_uhwi (ib);
      bool contexts_computed = count & 1;
      count /= 2;

      if (!count)
        continue;
      vec_safe_grow_cleared (args->jump_functions, count);
      if (contexts_computed)
        vec_safe_grow_cleared (args->polymorphic_call_contexts, count);

      for (k = 0; k < ipa_get_cs_argument_count (args); k++)
        {
          ipa_read_jump_function (ib, ipa_get_ith_jump_func (args, k), e,
                                  data_in);
          if (contexts_computed)
            ipa_get_ith_polymorhic_call_context (args, k)->stream_in (ib,
data_in);
        }
    }

it works.

Reply via email to