diff options
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 41989cc..93f7b44 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -2809,10 +2809,7 @@ schedule_region (rgn) or after the last real insn of the block. So if the first insn has a REG_SAVE_NOTE which would otherwise be emitted before the insn, it is redundant with the note before the start of the - block, and so we have to take it out. - - FIXME: Probably the same thing should be done with REG_SAVE_NOTEs - referencing NOTE_INSN_SETJMP at the end of the block. */ + block, and so we have to take it out. */ if (INSN_P (head)) { rtx note; @@ -2820,14 +2817,9 @@ schedule_region (rgn) for (note = REG_NOTES (head); note; note = XEXP (note, 1)) if (REG_NOTE_KIND (note) == REG_SAVE_NOTE) { - if (INTVAL (XEXP (note, 0)) != NOTE_INSN_SETJMP) - { - remove_note (head, note); - note = XEXP (note, 1); - remove_note (head, note); - } - else - note = XEXP (note, 1); + remove_note (head, note); + note = XEXP (note, 1); + remove_note (head, note); } } |