PR middle end/18718
PR middle end/18718 * sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are in pairs. * sched-ebb.c (schedule_ebb): Likewise. From-SVN: r91702
This commit is contained in:
parent
e69d6ca7a4
commit
668707f70d
@ -1,3 +1,10 @@
|
||||
2004-12-04 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR middle end/18718
|
||||
* sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are
|
||||
in pairs.
|
||||
* sched-ebb.c (schedule_ebb): Likewise.
|
||||
|
||||
2004-12-03 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* Makefile.in (HOSTHOOKS_DEF_H): Define.
|
||||
|
@ -525,11 +525,7 @@ schedule_ebb (rtx head, rtx tail)
|
||||
|
||||
for (note = REG_NOTES (head); note; note = XEXP (note, 1))
|
||||
if (REG_NOTE_KIND (note) == REG_SAVE_NOTE)
|
||||
{
|
||||
remove_note (head, note);
|
||||
note = XEXP (note, 1);
|
||||
remove_note (head, note);
|
||||
}
|
||||
remove_note (head, note);
|
||||
}
|
||||
|
||||
/* Remove remaining note insns from the block, save them in
|
||||
|
@ -2324,11 +2324,7 @@ schedule_region (int rgn)
|
||||
|
||||
for (note = REG_NOTES (head); note; note = XEXP (note, 1))
|
||||
if (REG_NOTE_KIND (note) == REG_SAVE_NOTE)
|
||||
{
|
||||
remove_note (head, note);
|
||||
note = XEXP (note, 1);
|
||||
remove_note (head, note);
|
||||
}
|
||||
remove_note (head, note);
|
||||
}
|
||||
|
||||
/* Remove remaining note insns from the block, save them in
|
||||
|
Loading…
Reference in New Issue
Block a user