haifa-sched.c (schedule_block): Don't call reorder when sorting is prohibited.

2003-03-06  Vladimir Makarov  <vmakarov@redhat.com>

	* haifa-sched.c (schedule_block): Don't call reorder when sorting
	is prohibited.

From-SVN: r63915
This commit is contained in:
Vladimir Makarov 2003-03-07 00:14:36 +00:00 committed by Vladimir Makarov
parent 9d10c9a9eb
commit 14484a7847
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-03-06 Vladimir Makarov <vmakarov@redhat.com>
* haifa-sched.c (schedule_block): Don't call reorder when sorting
is prohibited.
2003-03-06 Neil Booth <neil@daikokuya.co.uk>
* Makefile.in (c-ppoutput.o): Update.

View file

@ -2251,7 +2251,7 @@ schedule_block (b, rgn_n_insns)
/* Allow the target to reorder the list, typically for
better instruction bundling. */
if (targetm.sched.reorder
if (sort_p && targetm.sched.reorder
&& (ready.n_ready == 0
|| !SCHED_GROUP_P (ready_element (&ready, 0))))
can_issue_more =