(schedule_block): Reset n_ready if schedule_select
removes all insns from ready list. From-SVN: r3918
This commit is contained in:
parent
1e39f528f7
commit
563465600f
|
@ -3441,6 +3441,9 @@ schedule_block (b, file)
|
|||
{
|
||||
if (file)
|
||||
fprintf (file, "\n");
|
||||
/* We must set n_ready here, to ensure that sorting always
|
||||
occurs when we come back to the SCHED_SORT line above. */
|
||||
n_ready = 0;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue