On 7/30/19 3:37 PM, Martin Liška wrote: > Hi. > > 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? > Thanks, > Martin >
Honza approved me the patch offline. Martin