Commit 2436bdde authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Skip self-dependencies in ifconv

Fixes C/unkept_loop.c and opt/fehler159.c
parent 8e6b3e73
......@@ -294,6 +294,8 @@ restart:
ir_node* cond;
int j;
if (dependency == block) continue;
if (projx0 == NULL) continue;
cond = get_Proj_pred(projx0);
......
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