2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-25 22:50:28 +08:00

* 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>
* Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and

View 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;
}