OSDN Git Service

* haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 1999 12:06:24 +0000 (12:06 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 1999 12:06:24 +0000 (12:06 +0000)
        zapping the LOG_LINKS of sched_before_next_call.

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

gcc/ChangeLog
gcc/haifa-sched.c

index c04276f..dd4c4aa 100644 (file)
@@ -1,5 +1,8 @@
 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
+       zapping the LOG_LINKS of sched_before_next_call.
+
        * pa.h (INSN_SETS_ARE_DELAYED): Delete.
        * pa.c (insn_refs_are_delayed): Renamed from
        insn_sets_and_refs_are_delayed.
index e0387c6..87c97fb 100644 (file)
@@ -3899,7 +3899,7 @@ sched_analyze (head, tail)
              add_dependence (insn, XEXP (x, 0), REG_DEP_ANTI);
              x = XEXP (x, 1);
            }
-         LOG_LINKS (sched_before_next_call) = 0;
+         free_INSN_LIST_list (&LOG_LINKS (sched_before_next_call));
 
          sched_analyze_insn (PATTERN (insn), insn, loop_notes);
          loop_notes = 0;