Commit 755fac43 authored by yb9976's avatar yb9976
Browse files

Reassure out edges.

The computation of dominance might invalidate out edges.

This fixes opt/fehler319.c.
parent 97720773
......@@ -187,6 +187,7 @@ void optimize_graph_df(ir_graph *irg)
* We want this intertwined with localopts for better optimization
* (phase coupling) */
compute_doms(irg);
assure_irg_properties(irg, IR_GRAPH_PROPERTY_CONSISTENT_OUT_EDGES);
irg_block_walk_graph(irg, NULL, find_unreachable_blocks, waitq);
}
del_pdeq(waitq);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment