From: David Edelsohn Date: Tue, 28 May 2002 22:03:06 +0000 (+0000) Subject: sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P. X-Git-Tag: releases/gcc-3.3.0~4752 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=33a3dfc4f0102fecfc42ef983d3fb3a61f05ec07;p=gcc.git sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P. * 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 From-SVN: r53973 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68260ebc6036..519778040601 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,11 @@ +2002-05-22 David Edelsohn + Jeff Law + + * 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 + * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h. (ASM_QUAD): Undef. OpenBSD does not support it. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 3e0a44588d07..63a31352a5b7 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -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; } diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 88bf2b7f2e2b..0afb21bcf6b6 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -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)