projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c671684
)
(emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Dec 1995 22:40:00 +0000
(17:40 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 22 Dec 1995 22:40:00 +0000
(17:40 -0500)
From-SVN: r10834
gcc/config/pa/pa.c
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.c
b/gcc/config/pa/pa.c
index baee1c57045a358fea3ed34a23a715edb1434f03..3b201cdf66652d421c8b01e6436023885720cef3 100644
(file)
--- a/
gcc/config/pa/pa.c
+++ b/
gcc/config/pa/pa.c
@@
-1033,7
+1033,8
@@
emit_move_sequence (operands, mode, scratch_reg)
safe to be used as the base in an indexed address.
Don't mark hard registers though. That loses. */
- if (REGNO (operand0) >= FIRST_PSEUDO_REGISTER)
+ if (GET_CODE (operand0) == REG
+ && REGNO (operand0) >= FIRST_PSEUDO_REGISTER)
REGNO_POINTER_FLAG (REGNO (operand0)) = 1;
if (REGNO (temp) >= FIRST_PSEUDO_REGISTER)
REGNO_POINTER_FLAG (REGNO (temp)) = 1;