summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index a219ff9e363..8b7256cf08f 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -754,7 +754,7 @@ regclass (f, nregs)
for (i = FIRST_PSEUDO_REGISTER; i < nregs; i++)
{
- register int best_cost = (1 << (HOST_BITS_PER_INT - 1)) - 1;
+ register int best_cost = (1 << (HOST_BITS_PER_INT - 2)) - 1;
enum reg_class best = ALL_REGS, alt = NO_REGS;
/* This is an enum reg_class, but we call it an int
to save lots of casts. */