projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88277f
)
(mark_used_regs, case SUBREG): Only fall through to REG case
author
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:34:41 +0000
(14:34 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:34:41 +0000
(14:34 -0800)
if operand is a REG.
From-SVN: r9247
gcc/flow.c
patch
|
blob
|
history
diff --git
a/gcc/flow.c
b/gcc/flow.c
index
585d240
..
5ebaf25
100644
(file)
--- a/
gcc/flow.c
+++ b/
gcc/flow.c
@@
-2385,6
+2385,11
@@
mark_used_regs (needed, live, x, final, insn)
/* While we're here, optimize this case. */
x = SUBREG_REG (x);
+ /* Must verify that it is a register, since the RS/6000 port has
+ (subreg:QI (lshift:SI ...)). */
+ if (GET_CODE (x) != REG)
+ goto retry;
+
/* ... fall through ... */
case REG: