aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-02-24 13:17:51 -0800
committerJim Wilson <wilson@gcc.gnu.org>1995-02-24 13:17:51 -0800
commitb1e9510ec9f0859c9a0a4241f4355cb3270c9ff3 (patch)
tree5892ce6326a3fb84e6c51a8ee5a793f995ee7c61
parent0e1cdc75b14062759f6c041961c636b458982789 (diff)
downloadgcc-b1e9510ec9f0859c9a0a4241f4355cb3270c9ff3.zip
gcc-b1e9510ec9f0859c9a0a4241f4355cb3270c9ff3.tar.gz
gcc-b1e9510ec9f0859c9a0a4241f4355cb3270c9ff3.tar.bz2
(mips_secondary_reload_class): Also handle SUBREGs.
From-SVN: r9059
-rw-r--r--gcc/config/mips/mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 82d283c..bd58e91 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -5542,7 +5542,7 @@ mips_secondary_reload_class (class, mode, x)
if (class != HI_REG && class != LO_REG && class != MD_REGS)
return NO_REGS;
- if (GET_CODE (x) == REG)
+ if (GET_CODE (x) == REG || GET_CODE (x) == SUBREG)
{
int regno = true_regnum (x);