Commit 516c377e authored by Matthias Braun's avatar Matthias Braun
Browse files

don't issue warnings for nodes that can still be reached through block out...

don't issue warnings for nodes that can still be reached through block out edges (as it's nearly impossible to avoid this situation)
parent fc80130e
......@@ -755,7 +755,7 @@ static void check_out_edges(ir_node *node, verify_out_dead_nodes_env *env) {
foreach_out_edge(node, edge) {
ir_node* src = get_edge_src_irn(edge);
if(!bitset_is_set(env->reachable, get_irn_idx(src))) {
if(!bitset_is_set(env->reachable, get_irn_idx(src)) && !is_Block(node)) {
ir_fprintf(stderr, "Verify warning: Node %+F in block %+F(%s) only reachable through out edges from %+F\n",
src, get_nodes_block(src), get_irg_dump_name(irg), node);
env->problem_found = 1;
......
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