* jump.c (simplejump_p): Revert last change.
authorRichard Henderson <rth@redhat.com>
Mon, 8 Jan 2001 18:52:50 +0000 (10:52 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 8 Jan 2001 18:52:50 +0000 (10:52 -0800)
From-SVN: r38806

gcc/ChangeLog
gcc/jump.c

index 98cd34e3848d8985626c269df388add34f6ae524..4e28f236eefe386a133d704163e1f8c15b8fa284 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-08  Richard Henderson  <rth@redhat.com>
+
+       * jump.c (simplejump_p): Revert last change.
+
 2001-01-08  Neil Booth  <neil@daikokuya.demon.co.uk>
 
         * cppinit.c (init): Rename init_library.
index 15e41f0266f261ae61ccbbdf1c7f5b847e8f7170..ff2ab146d9778ea059e7548e4870fe4494f9c7f2 100644 (file)
@@ -2163,21 +2163,10 @@ int
 simplejump_p (insn)
      rtx insn;
 {
-  rtx set;
-
-  if (GET_CODE (insn) != JUMP_INSN)
-    return 0;
-
-  set = PATTERN (insn);
-  if (GET_CODE (set) != SET)
-    {
-      set = single_set_1 (insn);
-      if (set == NULL_RTX)
-       return 0;
-    }
-
-  return (GET_CODE (SET_DEST (set)) == PC
-         && GET_CODE (SET_SRC (set)) == LABEL_REF);
+  return (GET_CODE (insn) == JUMP_INSN
+         && GET_CODE (PATTERN (insn)) == SET
+         && GET_CODE (SET_DEST (PATTERN (insn))) == PC
+         && GET_CODE (SET_SRC (PATTERN (insn))) == LABEL_REF);
 }
 
 /* Return nonzero if INSN is a (possibly) conditional jump