projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc47108
)
reorg.c (mark_set_resources, case REG): A register is set iff "in_dest" is nonzero.
author
Jeff Law
<law@gcc.gnu.org>
Mon, 21 Sep 1992 16:21:38 +0000
(10:21 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Mon, 21 Sep 1992 16:21:38 +0000
(10:21 -0600)
* reorg.c (mark_set_resources, case REG): A register is set iff
"in_dest" is nonzero.
From-SVN: r2203
gcc/reorg.c
patch
|
blob
|
history
diff --git
a/gcc/reorg.c
b/gcc/reorg.c
index e9802a919694fdf78b8d8ad3715ee36b651d48af..c89ce73e65a1c97ea5eb7e09d7a57b1e10521b4a 100644
(file)
--- a/
gcc/reorg.c
+++ b/
gcc/reorg.c
@@
-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;
}