2019-07-30 Martin Liska <mliska@suse.cz>
PR ipa/89330
* cgraph.c (cgraph_edge::make_direct): Use
edge->indirect_unknown_callee as edge->resolve_speculation can
deallocate edge which is this pointer.
From-SVN: r273910
+2019-07-30 Martin Liska <mliska@suse.cz>
+
+ PR ipa/89330
+ * cgraph.c (cgraph_edge::make_direct): Use
+ edge->indirect_unknown_callee as edge->resolve_speculation can
+ deallocate edge which is this pointer.
+
2019-07-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/91257
edge = edge->resolve_speculation (callee->decl);
/* On successful speculation just return the pre existing direct edge. */
- if (!indirect_unknown_callee)
+ if (!edge->indirect_unknown_callee)
return edge;
}