OSDN Git Service

2005-02-09 Andreas Krebbel <krebbel1@de.ibm.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Feb 2005 21:29:22 +0000 (21:29 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Feb 2005 21:29:22 +0000 (21:29 +0000)
* gcc/haifa-sched.c (schedule_block): Make queued sched group
insns return to ready list in the next turn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94775 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/haifa-sched.c

index 60107b0..8243c2f 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 9b3ed5e..f7d2a85 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;
            }