aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-07-16 14:31:36 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-07-16 14:31:36 -0400
commit1313ec9d8c2e05a27a32e217b52d9961fd6eb1e8 (patch)
treed624634e4015c34e58b9f316132e1a12c47b8e1c
parentb5835272a085adf5a5c5491f5614dbfdc394d13e (diff)
downloadgcc-1313ec9d8c2e05a27a32e217b52d9961fd6eb1e8.zip
gcc-1313ec9d8c2e05a27a32e217b52d9961fd6eb1e8.tar.gz
gcc-1313ec9d8c2e05a27a32e217b52d9961fd6eb1e8.tar.bz2
(global_conflicts): Pass FIRST_PSEUDO_REGISTER to call to
EXECUTE_IF_SET_IN_REG_SET. From-SVN: r14462
-rw-r--r--gcc/global.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 9ebd5a7..83b09fe 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -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