mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 18:40:57 +08:00
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:
parent
55bea00ab0
commit
67730e2375
@ -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.
|
||||
|
@ -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 < ®_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 < ®_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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user