2019-11-15 Richard Biener <rguenther@suse.de>
* ipa-inline.c (inline_small_functions): Move assignment
to next before call destroying edge.
From-SVN: r278282
2019-11-15 Richard Biener <rguenther@suse.de>
+ * ipa-inline.c (inline_small_functions): Move assignment
+ to next before call destroying edge.
+
+2019-11-15 Richard Biener <rguenther@suse.de>
+
PR tree-optimization/92039
PR tree-optimization/91975
* tree-ssa-loop-ivcanon.c (constant_after_peeling): Revert
if (has_speculative)
for (edge = node->callees; edge; edge = next)
{
+ next = edge->next_callee;
if (edge->speculative
&& !speculation_useful_p (edge, edge->aux != NULL))
{
edge->resolve_speculation ();
update = true;
}
- next = edge->next_callee;
}
if (update)
{