Commit 950ea498 authored by Michael Beck's avatar Michael Beck
Browse files

- fix fehler109.c:

do not exchange the Proj from Cmp, if it has more than one user this will fail ...

[r17776]
parent 240301b9
......@@ -1259,7 +1259,7 @@ static void lower_Cond(ir_node *node, ir_mode *mode, lower_env_t *env) {
ir_node *cmp = new_rd_Cmp(dbg, irg, block, or, new_Const_long(mode, 0));
ir_node *proj = new_r_Proj(irg, block, cmp, mode_b, pnc);
exchange(sel, proj);
set_Cond_selector(node, proj);
return;
}
}
......
Supports Markdown
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