This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH v2] Use edge->indirect_unknown_callee in cgraph_edge::make_direct (PR ipa/89330).
On 7/30/19 3:37 PM, Martin Liška wrote:
> Thanks to Martin I was able to prepare a proper fix. The issue is that
> cgraph_edge::resolve_speculation can delete this pointer (yes, it's
> super nasty) and so that the caller can't use this->something
> right after the function returns.
> For the long term, I'll rework the ::resolve_speculation function.
> The patch survives --enable-checking bootstrap on x86_64-linux-gnu.
> Ready to be installed after proper testing?
Honza approved me the patch offline.