summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorsirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-08 21:53:46 +0000
committersirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-08 21:53:46 +0000
commite1a0b2117da0d412b6921b2f18acc3dbb933aa18 (patch)
tree9bc8f33f48d355db2ee36b4a5065b7a3f4aa90bd /gcc/global.c
parenta745c6ae5a4a11817f829e98250f4e82fd9e9c20 (diff)
downloadgcc-e1a0b2117da0d412b6921b2f18acc3dbb933aa18.tar.gz
2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* global.c (retry_global_alloc): Avoid shadowing allocno. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44728 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 6558fac8b89..1fe4d82c3f2 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -1290,17 +1290,17 @@ retry_global_alloc (regno, forbidden_regs)
int regno;
HARD_REG_SET forbidden_regs;
{
- int allocno = reg_allocno[regno];
- if (allocno >= 0)
+ int alloc_no = reg_allocno[regno];
+ if (alloc_no >= 0)
{
/* If we have more than one register class,
first try allocating in the class that is cheapest
for this pseudo-reg. If that fails, try any reg. */
if (N_REG_CLASSES > 1)
- find_reg (allocno, forbidden_regs, 0, 0, 1);
+ find_reg (alloc_no, forbidden_regs, 0, 0, 1);
if (reg_renumber[regno] < 0
&& reg_alternate_class (regno) != NO_REGS)
- find_reg (allocno, forbidden_regs, 1, 0, 1);
+ find_reg (alloc_no, forbidden_regs, 1, 0, 1);
/* If we found a register, modify the RTL for the register to
show the hard register, and mark that register live. */