projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2daed09
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Fri, 21 Feb 1992 06:30:52 +0000
(06:30 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 21 Feb 1992 06:30:52 +0000
(06:30 +0000)
From-SVN: r352
gcc/caller-save.c
patch
|
blob
|
history
diff --git
a/gcc/caller-save.c
b/gcc/caller-save.c
index 3d1c58486f7e6720d73ff1bbe9af6fbf3f5d4039..d534b311806cdb2cdcac122328eb34e3612468d7 100644
(file)
--- a/
gcc/caller-save.c
+++ b/
gcc/caller-save.c
@@
-406,6
+406,7
@@
set_reg_live (reg, setter)
rtx reg, setter;
{
register int regno, endregno, i;
+ enum machine_mode mode = GET_MODE (reg);
int word = 0;
if (GET_CODE (reg) == SUBREG)
@@
-418,7
+419,7
@@
set_reg_live (reg, setter)
return;
regno = REGNO (reg) + word;
- endregno = regno + HARD_REGNO_NREGS (regno,
GET_MODE (reg)
);
+ endregno = regno + HARD_REGNO_NREGS (regno,
mode
);
for (i = regno; i < endregno; i++)
SET_HARD_REG_BIT (hard_regs_live, i);