OSDN Git Service

IA-64 bootstrap failure with --param max-pending-list-length=2.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2005 00:54:29 +0000 (00:54 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2005 00:54:29 +0000 (00:54 +0000)
* sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
add_dependence_list_and_free calls.

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

gcc/ChangeLog
gcc/sched-deps.c

index 2248289..d636240 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-24  James E. Wilson  <wilson@specifix.com>
+
+       * sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
+       add_dependence_list_and_free calls.
+
 2005-10-24  Steven Bosscher  <stevenb@suse.de>
 
        * contrib.texi: Add the names of the LLNL folks who donated
index 25dccb7..9fa4fab 100644 (file)
@@ -469,12 +469,12 @@ flush_pending_lists (struct deps *deps, rtx insn, int for_read,
 {
   if (for_write)
     {
-      add_dependence_list_and_free (insn, &deps->pending_read_insns, 0,
+      add_dependence_list_and_free (insn, &deps->pending_read_insns, 1,
                                    REG_DEP_ANTI);
       free_EXPR_LIST_list (&deps->pending_read_mems);
     }
 
-  add_dependence_list_and_free (insn, &deps->pending_write_insns, 0,
+  add_dependence_list_and_free (insn, &deps->pending_write_insns, 1,
                                for_read ? REG_DEP_ANTI : REG_DEP_OUTPUT);
   free_EXPR_LIST_list (&deps->pending_write_mems);
   deps->pending_lists_length = 0;