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

--- Comment #6 from Vittorio Zecca <zeccav at gmail dot com> ---
I just found the same issue at line 2479:
dst_ctx->combine_with (ctx);
dst_ctx is again NULL
Maybe the same patch should be applied here? Namely:
if (!dst_ctx)
                        {
                          vec_safe_grow_cleared
(args->polymorphic_call_contexts,
                                                 count);
                          dst_ctx =
ipa_get_ith_polymorhic_call_context (args, i);
                        }
immediately before?
Do you need a reproducer?
This is compiling pythia software.

Reply via email to