IA-64 bootstrap failure with --param max-pending-list-length=2.

* sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
add_dependence_list_and_free calls.

From-SVN: r105877
This commit is contained in:
James E Wilson 2005-10-24 17:54:29 -07:00 committed by Jim Wilson
parent 03095a7869
commit 8c4b4e67fb
2 changed files with 7 additions and 2 deletions

View 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

View 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;