reload1.c (verify_initial_elim_offsets): Add braces to avoid having a declaration after a statement.

* reload1.c (verify_initial_elim_offsets): Add braces to avoid
	having a declaration after a statement.

From-SVN: r100187
This commit is contained in:
Ian Lance Taylor 2005-05-26 05:44:38 +00:00 committed by Ian Lance Taylor
parent 55bea00ab0
commit 67730e2375
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2005-05-26 Ian Lance Taylor <ian@airs.com>
* reload1.c (verify_initial_elim_offsets): Add braces to avoid
having a declaration after a statement.
2005-05-26 Richard Sandiford <rsandifo@redhat.com>
* opt-functions.awk (var_type): New function.

View File

@ -3315,14 +3315,16 @@ verify_initial_elim_offsets (void)
return true;
#ifdef ELIMINABLE_REGS
struct elim_table *ep;
{
struct elim_table *ep;
for (ep = reg_eliminate; ep < &reg_eliminate[NUM_ELIMINABLE_REGS]; ep++)
{
INITIAL_ELIMINATION_OFFSET (ep->from, ep->to, t);
if (t != ep->initial_offset)
return false;
}
for (ep = reg_eliminate; ep < &reg_eliminate[NUM_ELIMINABLE_REGS]; ep++)
{
INITIAL_ELIMINATION_OFFSET (ep->from, ep->to, t);
if (t != ep->initial_offset)
return false;
}
}
#else
INITIAL_FRAME_POINTER_OFFSET (t);
if (t != reg_eliminate[0].initial_offset)