* regclass.c (N_REG_INTS): Use only 32 bits per element.
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 20 Jul 2001 16:55:03 +0000 (09:55 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 20 Jul 2001 16:55:03 +0000 (09:55 -0700)
From-SVN: r44201

gcc/ChangeLog
gcc/regclass.c

index 3943705..bfa00fa 100644 (file)
@@ -1,4 +1,8 @@
-2001-06-20  Kelley Cook  <kelley.cook@home.com>
+2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
+
+       * regclass.c (N_REG_INTS): Use only 32 bits per element.
+
+2001-07-20  Kelley Cook  <kelley.cook@home.com>
 
        * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
        information.   Move rest into ...
index c022b0a..bfde1e9 100644 (file)
@@ -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;