diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/sched-rgn.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2fdbf9..7a1df4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 NO_SHARED_LIBGCC_MULTILIB as required for the target. * gcc.c (init_spec): Massage the existing libgcc_spec into a diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index c1c215a..6ad4d9e 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; } |
