diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/haifa-sched.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33e127d1fd0..4d8f1f2bf4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 8ea2481ce81..5295735fb77 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -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 = |
