aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2005-02-09 21:29:22 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2005-02-09 21:29:22 +0000
commitdab80c81c6b7fc84a08f1d1d5745c6861c7082c9 (patch)
treec9123d6bb3a37ed6c3357848c7edcc9965fa34fb /gcc
parent17684d462957afd5011d71db40e9a96c63225d2c (diff)
downloadgcc-dab80c81c6b7fc84a08f1d1d5745c6861c7082c9.zip
gcc-dab80c81c6b7fc84a08f1d1d5745c6861c7082c9.tar.gz
gcc-dab80c81c6b7fc84a08f1d1d5745c6861c7082c9.tar.bz2
haifa-sched.c (schedule_block): Make queued sched group insns return to ready list in the next turn.
2005-02-09 Andreas Krebbel <krebbel1@de.ibm.com> * gcc/haifa-sched.c (schedule_block): Make queued sched group insns return to ready list in the next turn. From-SVN: r94775
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/haifa-sched.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 60107b0..8243c2f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-09 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * gcc/haifa-sched.c (schedule_block): Make queued sched group
+ insns return to ready list in the next turn.
+
+
2005-02-09 Richard Guenther <rguenth@gcc.gnu.org>
PR middle-end/19402
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 9b3ed5e..f7d2a85 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -2052,6 +2052,12 @@ schedule_block (int b, int rgn_n_insns)
if (cost >= 1)
{
queue_insn (insn, cost);
+ if (SCHED_GROUP_P (insn))
+ {
+ advance = cost;
+ break;
+ }
+
continue;
}