Commit ea8693a4 by Jeffrey A Law Committed by Jeff Law

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
parent c57b6780
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);
}
}
......
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