global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg, just pass zero.
authorJeffrey A Law <law@cygnus.com>
Sat, 18 Apr 1998 01:02:04 +0000 (01:02 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 18 Apr 1998 01:02:04 +0000 (19:02 -0600)
        * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
        just pass zero.  That will work regardless of the size of HARD_REG_SET.

From-SVN: r19276

gcc/ChangeLog
gcc/global.c

index bc65363b91dae1bcc46d1270d0b53d80acd5fa30..9b52ad19917d629d7fa2ebdb4d90f57c3fe219d0 100644 (file)
@@ -1,5 +1,8 @@
 Fri Apr 17 22:38:17 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
+       just pass zero.  That will work regardless of the size of HARD_REG_SET.
+
        * libgcc2.c (__floatdisf): Fix a couple typos.
 
 Fri Apr 17 17:28:26 1998  Jim Wilson  <wilson@cygnus.com>
index a92fdb1b332ed6dfda71f9a605c58035755275b5..367beada57dd4c1d16801130397b05cee86b4156 100644 (file)
@@ -566,12 +566,12 @@ global_alloc (file)
               for this pseudo-reg.  If that fails, try any reg.  */
            if (N_REG_CLASSES > 1)
              {
-               find_reg (allocno_order[i], HARD_CONST (0), 0, 0, 0);
+               find_reg (allocno_order[i], 0, 0, 0, 0);
                if (reg_renumber[allocno_reg[allocno_order[i]]] >= 0)
                  continue;
              }
            if (reg_alternate_class (allocno_reg[allocno_order[i]]) != NO_REGS)
-             find_reg (allocno_order[i], HARD_CONST (0), 1, 0, 0);
+             find_reg (allocno_order[i], 0, 1, 0, 0);
          }
     }