projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d32ffd
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Sun, 26 Jul 1992 20:38:07 +0000
(20:38 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 26 Jul 1992 20:38:07 +0000
(20:38 +0000)
From-SVN: r1688
gcc/reload1.c
patch
|
blob
|
history
diff --git
a/gcc/reload1.c
b/gcc/reload1.c
index afd2a17c1ccb9282b210f40c839c605b1e40ade2..fcf423625f666d3dbd031021d3a8aa266be5d6da 100644
(file)
--- a/
gcc/reload1.c
+++ b/
gcc/reload1.c
@@
-3569,11
+3569,19
@@
forget_old_reloads_1 (x)
{
register int regno;
int nr;
+ int offset = 0;
+
+ /* note_stores does give us subregs of hard regs. */
+ while (GET_CODE (x) == SUBREG)
+ {
+ offset += SUBREG_WORD (x);
+ x = SUBREG_REG (x);
+ }
if (GET_CODE (x) != REG)
return;
- regno = REGNO (x);
+ regno = REGNO (x)
+ offset
;
if (regno >= FIRST_PSEUDO_REGISTER)
nr = 1;