(global_conflicts): Pass FIRST_PSEUDO_REGISTER to call to
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 16 Jul 1997 18:31:36 +0000 (14:31 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 16 Jul 1997 18:31:36 +0000 (14:31 -0400)
EXECUTE_IF_SET_IN_REG_SET.

From-SVN: r14462

gcc/global.c

index 9ebd5a7d294b484e59d3e7dd7950e80235f1fc26..83b09fe431fd88e8bdc526b33ca51eea8585ca9e 100644 (file)
@@ -1,5 +1,5 @@
 /* Allocate registers for pseudo-registers that span basic blocks.
-   Copyright (C) 1987, 1988, 1991, 1994, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1987, 88, 91, 94, 96, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -646,7 +646,7 @@ global_conflicts ()
        int ax = 0;
 
        REG_SET_TO_HARD_REG_SET (hard_regs_live, old);
-       EXECUTE_IF_SET_IN_REG_SET (old, 0, i,
+       EXECUTE_IF_SET_IN_REG_SET (old, FIRST_PSEUDO_REGISTER, i,
                                   {
                                     register int a = reg_allocno[i];
                                     if (a >= 0)
@@ -655,7 +655,8 @@ global_conflicts ()
                                         block_start_allocnos[ax++] = a;
                                       }
                                     else if ((a = reg_renumber[i]) >= 0)
-                                      mark_reg_live_nc (a, PSEUDO_REGNO_MODE (i));
+                                      mark_reg_live_nc
+                                        (a, PSEUDO_REGNO_MODE (i));
                                   });
 
        /* Record that each allocno now live conflicts with each other