summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-12-16 16:48:23 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-12-16 16:48:23 +0000
commitf85d8f699663290de6a00907542994763f610046 (patch)
tree71be37ec90f9adc0ec2b7ee322ad04e9f329d03a /gcc/local-alloc.c
parenta02def09c35e62059382feb00bc1ade2047a989d (diff)
downloadgcc-f85d8f699663290de6a00907542994763f610046.tar.gz
local-alloc.c (block_alloc): Replace IN_RANGE with simple comparison.
* local-alloc.c (block_alloc): Replace IN_RANGE with simple comparison. From-SVN: r92268
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 5d33f566b4f..10117da8adb 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -1314,9 +1314,8 @@ block_alloc (int b)
if (hard_reg != NULL_RTX)
{
if (REG_P (hard_reg)
- && IN_RANGE (REGNO (hard_reg),
- 0, FIRST_PSEUDO_REGISTER - 1)
- && ! call_used_regs[REGNO (hard_reg)])
+ && REGNO (hard_reg) < FIRST_PSEUDO_REGISTER
+ && !call_used_regs[REGNO (hard_reg)])
continue;
}