reorg.c (mark_set_resources, case REG): A register is set iff "in_dest" is nonzero.
* reorg.c (mark_set_resources, case REG): A register is set iff "in_dest" is nonzero. From-SVN: r2203
This commit is contained in:
parent
cc4710825d
commit
4323a0e11e
@ -522,8 +522,9 @@ mark_set_resources (x, res, in_dest, include_called_routine)
|
||||
return;
|
||||
|
||||
case REG:
|
||||
for (i = 0; i < HARD_REGNO_NREGS (REGNO (x), GET_MODE (x)); i++)
|
||||
SET_HARD_REG_BIT (res->regs, REGNO (x) + i);
|
||||
if (in_dest)
|
||||
for (i = 0; i < HARD_REGNO_NREGS (REGNO (x), GET_MODE (x)); i++)
|
||||
SET_HARD_REG_BIT (res->regs, REGNO (x) + i);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user