* sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
authorRichard Henderson <rth@redhat.com>
Sun, 7 Jan 2001 09:53:21 +0000 (01:53 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 7 Jan 2001 09:53:21 +0000 (01:53 -0800)
From-SVN: r38763

gcc/ChangeLog
gcc/sched-rgn.c

index c2fdbf949c18b82dd60a03cdf296fa485633728c..7a1df4cc9e0dee33bd0ca246f16b104600cb6011 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-07  Richard Henderson  <rth@redhat.com>
+
+       * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
+
 2001-01-07  Richard Henderson  <rth@redhat.com>
 
        * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
index c1c215a1ea92a6afc11e7d5b29bc0e4b07e891af..6ad4d9ea599545e86d390ec9f7de1049451af2ff 100644 (file)
@@ -351,12 +351,11 @@ is_cfg_nonregular ()
        code = GET_CODE (insn);
        if (GET_RTX_CLASS (code) == 'i' && code != JUMP_INSN)
          {
-           rtx note = find_reg_note (REG_NOTES (insn), REG_LABEL, NULL_RTX);
+           rtx note = find_reg_note (insn, REG_LABEL, NULL_RTX);
 
            if (note
                && ! (GET_CODE (NEXT_INSN (insn)) == JUMP_INSN
-                     && find_reg_note (REG_NOTES (NEXT_INSN (insn)),
-                                       REG_LABEL,
+                     && find_reg_note (NEXT_INSN (insn), REG_LABEL,
                                        XEXP (note, 0))))
              return 1;
          }