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:
parent
9db0819efc
commit
cabf38914c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user