Commit 9e1835de by Richard Kenner

(schedule_block): Correct type of BIT.

From-SVN: r5275
parent ac27d589
/* Instruction scheduling pass. /* Instruction scheduling pass.
Copyright (C) 1992 Free Software Foundation, Inc. Copyright (C) 1992, 1993 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) Contributed by Michael Tiemann (tiemann@cygnus.com)
Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com) Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com)
...@@ -3377,7 +3377,7 @@ schedule_block (b, file) ...@@ -3377,7 +3377,7 @@ schedule_block (b, file)
old_live_regs[j] = live; old_live_regs[j] = live;
if (live) if (live)
{ {
register REGSET_ELT_TYPE bit; register int bit;
for (bit = 0; bit < REGSET_ELT_BITS; bit++) for (bit = 0; bit < REGSET_ELT_BITS; bit++)
if (live & ((REGSET_ELT_TYPE) 1 << bit)) if (live & ((REGSET_ELT_TYPE) 1 << bit))
sometimes_max = new_sometimes_live (regs_sometimes_live, j, sometimes_max = new_sometimes_live (regs_sometimes_live, j,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment