diff options
author | James Van Artsdalen <jrv@gnu.org> | 1994-01-09 10:35:48 +0000 |
---|---|---|
committer | James Van Artsdalen <jrv@gnu.org> | 1994-01-09 10:35:48 +0000 |
commit | b209b3c59fadb393642fb1950935988d6ed8c75b (patch) | |
tree | 9fa5add9e587b4853b4ca3ce41ad96d73e9637a1 | |
parent | 9e9b48a4a2f611d7714ccb494b3072ae6a2a2b00 (diff) | |
download | gcc-b209b3c59fadb393642fb1950935988d6ed8c75b.zip gcc-b209b3c59fadb393642fb1950935988d6ed8c75b.tar.gz gcc-b209b3c59fadb393642fb1950935988d6ed8c75b.tar.bz2 |
(follow_jumps): Don't follow tablejumps.
From-SVN: r6361
-rw-r--r-- | gcc/jump.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2925,6 +2925,12 @@ follow_jumps (label) /* If we have found a cycle, make the insn jump to itself. */ if (JUMP_LABEL (insn) == 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); } if (depth == 10) |