Commit b209b3c5 by James Van Artsdalen

(follow_jumps): Don't follow tablejumps.

From-SVN: r6361
parent 9e9b48a4
...@@ -2925,6 +2925,12 @@ follow_jumps (label) ...@@ -2925,6 +2925,12 @@ follow_jumps (label)
/* If we have found a cycle, make the insn jump to itself. */ /* If we have found a cycle, make the insn jump to itself. */
if (JUMP_LABEL (insn) == label) if (JUMP_LABEL (insn) == label)
return label; return label;
tem = next_active_insn (JUMP_LABEL (insn));
if (tem && (GET_CODE (PATTERN (tem)) == ADDR_VEC
|| GET_CODE (PATTERN (tem)) == ADDR_DIFF_VEC))
break;
value = JUMP_LABEL (insn); value = JUMP_LABEL (insn);
} }
if (depth == 10) if (depth == 10)
......
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