]> gcc.gnu.org Git - gcc.git/commitdiff
(follow_jumps): Don't follow tablejumps.
authorJames Van Artsdalen <jrv@gnu.org>
Sun, 9 Jan 1994 10:35:48 +0000 (10:35 +0000)
committerJames Van Artsdalen <jrv@gnu.org>
Sun, 9 Jan 1994 10:35:48 +0000 (10:35 +0000)
From-SVN: r6361

gcc/jump.c

index 9e0230fb05e5fd11c3245b92093fa7a81117bf96..cca2c0a8677d4c2abdb47aa86070dcf9c331f3cf 100644 (file)
@@ -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)
This page took 0.064571 seconds and 5 git commands to generate.