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:
parent
c57b6780fe
commit
ea8693a436
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue