haifa-sched.c (schedule_block): Make queued sched group insns return to ready list...
authorAndreas Krebbel <krebbel1@de.ibm.com>
Wed, 9 Feb 2005 21:29:22 +0000 (21:29 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 9 Feb 2005 21:29:22 +0000 (21:29 +0000)
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

gcc/ChangeLog
gcc/haifa-sched.c

index 60107b013c33c94f61728b3e62a623d4db618a04..8243c2f32dd6434d077e9b673e6848e1ebeaaa14 100644 (file)
@@ -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
index 9b3ed5e8eff8614fcf607714be63ced5cd6d92d4..f7d2a858eb9db682420b87fe538f93830b0c1973 100644 (file)
@@ -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;
            }