* sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.

From-SVN: r38763
This commit is contained in:
Richard Henderson 2001-01-07 01:53:21 -08:00 committed by Richard Henderson
parent 9db0819efc
commit cabf38914c
2 changed files with 6 additions and 3 deletions

View 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> 2001-01-07 Richard Henderson <rth@redhat.com>
* Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and

View File

@ -351,12 +351,11 @@ is_cfg_nonregular ()
code = GET_CODE (insn); code = GET_CODE (insn);
if (GET_RTX_CLASS (code) == 'i' && code != JUMP_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 if (note
&& ! (GET_CODE (NEXT_INSN (insn)) == JUMP_INSN && ! (GET_CODE (NEXT_INSN (insn)) == JUMP_INSN
&& find_reg_note (REG_NOTES (NEXT_INSN (insn)), && find_reg_note (NEXT_INSN (insn), REG_LABEL,
REG_LABEL,
XEXP (note, 0)))) XEXP (note, 0))))
return 1; return 1;
} }