projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b05ead
)
*** empty log message ***
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jul 1992 20:38:07 +0000
(20:38 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jul 1992 20:38:07 +0000
(20:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1688
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/reload1.c
patch
|
blob
|
history
diff --git
a/gcc/reload1.c
b/gcc/reload1.c
index
afd2a17
..
fcf4236
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;