reload1.c (verify_initial_elim_offsets): Add braces to avoid having a declaration...
authorIan Lance Taylor <ian@airs.com>
Thu, 26 May 2005 05:44:38 +0000 (05:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 26 May 2005 05:44:38 +0000 (05:44 +0000)
* reload1.c (verify_initial_elim_offsets): Add braces to avoid
having a declaration after a statement.

From-SVN: r100187

gcc/ChangeLog
gcc/reload1.c

index 7c27ea18b6c1f5fd8d355ef08c9f2297bea25e5e..e179c5f429f348c12da96a15dfb3f0cc044f16c4 100644 (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.
index a1974dfa3b60ca084d511cf5cbfa8a8b1d0a3cc1..6158af557260469291cee35402b5a8c7fca24077 100644 (file)
@@ -3315,14 +3315,16 @@ verify_initial_elim_offsets (void)
     return true;
 
 #ifdef ELIMINABLE_REGS
-  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;
-    }
+  {
+   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;
+     }
+  }
 #else
   INITIAL_FRAME_POINTER_OFFSET (t);
   if (t != reg_eliminate[0].initial_offset)