Commit 4323a0e1 by Jeff Law

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
parent cc471082
...@@ -522,8 +522,9 @@ mark_set_resources (x, res, in_dest, include_called_routine) ...@@ -522,8 +522,9 @@ mark_set_resources (x, res, in_dest, include_called_routine)
return; return;
case REG: case REG:
for (i = 0; i < HARD_REGNO_NREGS (REGNO (x), GET_MODE (x)); i++) if (in_dest)
SET_HARD_REG_BIT (res->regs, REGNO (x) + i); for (i = 0; i < HARD_REGNO_NREGS (REGNO (x), GET_MODE (x)); i++)
SET_HARD_REG_BIT (res->regs, REGNO (x) + i);
return; return;
} }
......
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