aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-01-25 12:01:11 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-01-25 12:01:11 -0800
commit4c1dfa8ff35940ed6f6619e5378b40de8df1dc88 (patch)
treec2c2ee7a0291844fe4aeeea33b2ab1b9c36bf74a /gcc
parent31aaaec1e3f2bc67fe81d2708aa0c56e74036ee9 (diff)
downloadgcc-4c1dfa8ff35940ed6f6619e5378b40de8df1dc88.zip
gcc-4c1dfa8ff35940ed6f6619e5378b40de8df1dc88.tar.gz
gcc-4c1dfa8ff35940ed6f6619e5378b40de8df1dc88.tar.bz2
(secondary_reload_class): Correct test against
FIRST_PSEUDO_REGISTER. From-SVN: r3333
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i960/i960.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c
index 4163ca4..a6723b7 100644
--- a/gcc/config/i960/i960.c
+++ b/gcc/config/i960/i960.c
@@ -2181,7 +2181,7 @@ secondary_reload_class (class, mode, in)
/* We can place any hard register, 0.0, and 1.0 into FP_REGS. */
if (class == FP_REGS
- && ((regno >= 0 && regno <= FIRST_PSEUDO_REGISTER)
+ && ((regno >= 0 && regno < FIRST_PSEUDO_REGISTER)
|| in == CONST0_RTX (mode) || in == CONST1_RTX (mode)))
return NO_REGS;