IA-64 bootstrap failure with --param max-pending-list-length=2.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 25 Oct 2005 00:54:29 +0000 (17:54 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 25 Oct 2005 00:54:29 +0000 (17:54 -0700)
* sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
add_dependence_list_and_free calls.

From-SVN: r105877

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;