aboutsummaryrefslogtreecommitdiff
path: root/gcc/stupid.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-11-29 11:18:43 -0800
committerJim Wilson <wilson@gcc.gnu.org>1995-11-29 11:18:43 -0800
commit50b46d9219babb8cb3e47c7c61ff2bd8eb21eac2 (patch)
tree99fbe7f74e2b6e7b209aafb39292d30890df69f4 /gcc/stupid.c
parent41bbd14edcb178887d56cac714ad3258f16f391a (diff)
downloadgcc-50b46d9219babb8cb3e47c7c61ff2bd8eb21eac2.zip
gcc-50b46d9219babb8cb3e47c7c61ff2bd8eb21eac2.tar.gz
gcc-50b46d9219babb8cb3e47c7c61ff2bd8eb21eac2.tar.bz2
(stupid_mark_regs): For hard registers...
(stupid_mark_regs): For hard registers, use regno+j instead of just regno in MARK_LIVE_AFTER and SET_HARD_REG_BIT calls. From-SVN: r10623
Diffstat (limited to 'gcc/stupid.c')
-rw-r--r--gcc/stupid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c
index ed1afcf..74ad7be 100644
--- a/gcc/stupid.c
+++ b/gcc/stupid.c
@@ -450,13 +450,13 @@ stupid_mark_refs (x, insn)
/* The following line is for unused outputs;
they do get stored even though never used again. */
- MARK_LIVE_AFTER (insn, regno);
+ MARK_LIVE_AFTER (insn, regno+j);
/* When a hard reg is clobbered, mark it in use
just before this insn, so it is live all through. */
if (code == CLOBBER && INSN_SUID (insn) > 0)
SET_HARD_REG_BIT (after_insn_hard_regs[INSN_SUID (insn) - 1],
- regno);
+ regno+j);
}
}
/* For pseudo regs, record where born, where dead, number of