From cabf38914c6f95b661531b8a5544c894fd2e1260 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 7 Jan 2001 01:53:21 -0800 Subject: [PATCH] * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change. From-SVN: r38763 --- gcc/ChangeLog | 4 ++++ gcc/sched-rgn.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2fdbf949c1..7a1df4cc9e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-07 Richard Henderson + + * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change. + 2001-01-07 Richard Henderson * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index c1c215a1ea9..6ad4d9ea599 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -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; }