summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2001-07-20 09:55:03 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-07-20 09:55:03 -0700
commitd4845339d7ba0920337a1ebe7ac8df36af8cada9 (patch)
treeb7a9e3f93d3a1fc30ce40b0cfa9f54d1bc03e6a2 /gcc/regclass.c
parentdbd210efc6eabcdf70a9a46e0adf3577b04c91ca (diff)
downloadgcc-d4845339d7ba0920337a1ebe7ac8df36af8cada9.tar.gz
* regclass.c (N_REG_INTS): Use only 32 bits per element.
From-SVN: r44201
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index c022b0a6321..bfde1e96bc7 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -140,10 +140,11 @@ HARD_REG_SET reg_class_contents[N_REG_CLASSES];
/* The same information, but as an array of unsigned ints. We copy from
these unsigned ints to the table above. We do this so the tm.h files
- do not have to be aware of the wordsize for machines with <= 64 regs. */
+ do not have to be aware of the wordsize for machines with <= 64 regs.
+ Note that we hard-code 32 here, not HOST_BITS_PER_INT. */
#define N_REG_INTS \
- ((FIRST_PSEUDO_REGISTER + (HOST_BITS_PER_INT - 1)) / HOST_BITS_PER_INT)
+ ((FIRST_PSEUDO_REGISTER + (32 - 1)) / 32)
static unsigned int_reg_class_contents[N_REG_CLASSES][N_REG_INTS]
= REG_CLASS_CONTENTS;