global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg, just pass zero.

* global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
        just pass zero.  That will work regardless of the size of HARD_REG_SET.

From-SVN: r19276
This commit is contained in:
Jeffrey A Law 1998-04-18 01:02:04 +00:00 committed by Jeff Law
parent c57b6780fe
commit ea8693a436
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
* global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
just pass zero. That will work regardless of the size of HARD_REG_SET.
* libgcc2.c (__floatdisf): Fix a couple typos.
Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>

View File

@ -566,12 +566,12 @@ global_alloc (file)
for this pseudo-reg. If that fails, try any reg. */
if (N_REG_CLASSES > 1)
{
find_reg (allocno_order[i], HARD_CONST (0), 0, 0, 0);
find_reg (allocno_order[i], 0, 0, 0, 0);
if (reg_renumber[allocno_reg[allocno_order[i]]] >= 0)
continue;
}
if (reg_alternate_class (allocno_reg[allocno_order[i]]) != NO_REGS)
find_reg (allocno_order[i], HARD_CONST (0), 1, 0, 0);
find_reg (allocno_order[i], 0, 1, 0, 0);
}
}