Commit 69f8a2d6 by John David Anglin Committed by John David Anglin

pa.c (pa_secondary_reload): Revise initialization of variable regno.

	* pa.c (pa_secondary_reload): Revise initialization of variable regno.

From-SVN: r107890
parent 631ba327
2005-12-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (pa_secondary_reload): Revise initialization of variable regno.
2005-12-02 Gabriel Dos Reis <gdr@integrable-solutions.net> 2005-12-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
* ggc.h (GGC_RESIZEVEC): New. * ggc.h (GGC_RESIZEVEC): New.
......
...@@ -5577,8 +5577,7 @@ static enum reg_class ...@@ -5577,8 +5577,7 @@ static enum reg_class
pa_secondary_reload (bool in_p, rtx x, enum reg_class class, pa_secondary_reload (bool in_p, rtx x, enum reg_class class,
enum machine_mode mode, secondary_reload_info *sri) enum machine_mode mode, secondary_reload_info *sri)
{ {
int is_symbolic; int is_symbolic, regno;
int regno = -1;
/* Handle the easy stuff first. */ /* Handle the easy stuff first. */
if (class == R1_REGS) if (class == R1_REGS)
...@@ -5590,6 +5589,8 @@ pa_secondary_reload (bool in_p, rtx x, enum reg_class class, ...@@ -5590,6 +5589,8 @@ pa_secondary_reload (bool in_p, rtx x, enum reg_class class,
if (class == BASE_REG_CLASS && regno < FIRST_PSEUDO_REGISTER) if (class == BASE_REG_CLASS && regno < FIRST_PSEUDO_REGISTER)
return NO_REGS; return NO_REGS;
} }
else
regno = -1;
/* If we have something like (mem (mem (...)), we can safely assume the /* If we have something like (mem (mem (...)), we can safely assume the
inner MEM will end up in a general register after reloading, so there's inner MEM will end up in a general register after reloading, so there's
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment