Commit b6ccc3fb by Richard Stallman

(mark_loop_jump): Handle weird cases like jumping to a symbol_ref.

From-SVN: r4981
parent e28cae4f
...@@ -2538,8 +2538,17 @@ mark_loop_jump (x, loop_num) ...@@ -2538,8 +2538,17 @@ mark_loop_jump (x, loop_num)
return; return;
default: default:
/* Nothing else should occur in a JUMP_INSN. */ /* Treat anything else (such as a symbol_ref)
abort (); as a branch out of this loop, but not into any loop. */
if (loop_num != -1)
{
LABEL_OUTSIDE_LOOP_P (x) = 1;
LABEL_NEXTREF (x) = loop_number_exit_labels[loop_num];
loop_number_exit_labels[loop_num] = x;
}
return;
} }
} }
......
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