]> gcc.gnu.org Git - gcc.git/commitdiff
sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 28 May 2002 22:03:06 +0000 (22:03 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 28 May 2002 22:03:06 +0000 (16:03 -0600)
        * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
        * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r53973

gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c

index 68260ebc60366056ca859003df75b8a250ba89b2..5197780406015b4fdd4072bad57171eeb3e079c9 100644 (file)
@@ -1,4 +1,11 @@
+2002-05-22  David Edelsohn  <edelsohn@gnu.org>
+           Jeff Law <law@redhat.com>
+
+       * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
+       * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
+
 2002-05-28     Marc Espie <espie@openbsd.org>
+
        * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove, 
        inherited from gas.h.
        (ASM_QUAD):  Undef.  OpenBSD does not support it.
index 3e0a44588d074f96ff18cbb097a4f50a67108ea3..63a31352a5b7e8f319368df8f3277a3e2b1aca88 100644 (file)
@@ -1775,6 +1775,8 @@ move_insn (insn, last)
        retval = reemit_notes (insn, insn);
       else
        reemit_notes (insn, insn);
+      /* Consume SCHED_GROUP_P flag.  */
+      SCHED_GROUP_P (insn) = 0;
       insn = prev;
     }
 
index 88bf2b7f2e2b9ad1310b153b5f3cb3c30018abc9..0afb21bcf6b618eaff5bebf413687af91f654eb3 100644 (file)
@@ -1231,9 +1231,6 @@ sched_analyze (deps, head, tail)
          /* Clear out the stale LOG_LINKS from flow.  */
          free_INSN_LIST_list (&LOG_LINKS (insn));
 
-         /* Clear out stale SCHED_GROUP_P.  */
-         SCHED_GROUP_P (insn) = 0;
-
          /* Make each JUMP_INSN a scheduling barrier for memory
              references.  */
          if (GET_CODE (insn) == JUMP_INSN)
This page took 0.084048 seconds and 5 git commands to generate.