function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to above SPARC...
authorGeoffrey Keating <geoffk@apple.com>
Wed, 8 Oct 2003 21:09:18 +0000 (21:09 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 8 Oct 2003 21:09:18 +0000 (21:09 +0000)
* function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
definition to above SPARC_STACK_BOUNDARY_HACK.

From-SVN: r72241

gcc/ChangeLog
gcc/function.c

index 9b3ac45ab3e132e44333b73455228bf955176f01..544f37472cba45edf5b6f922fb023bd48204fdf5 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-08  Geoffrey Keating  <geoffk@apple.com>
+
+       * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
+       definition to above SPARC_STACK_BOUNDARY_HACK.
+
 2003-10-08  Jason Merrill  <jason@redhat.com>
 
        * c-pretty-print.c (pp_c_postfix_expression)
index 0f158ac8e1589ec436c868307418bc72de1cc2c4..427469eb8aec49929ec1e574f1105d61fe454867 100644 (file)
@@ -5511,6 +5511,7 @@ pad_to_arg_alignment (struct args_size *offset_ptr, int boundary,
 {
   tree save_var = NULL_TREE;
   HOST_WIDE_INT save_constant = 0;
+  int boundary_in_bytes = boundary / BITS_PER_UNIT;
   HOST_WIDE_INT sp_offset = STACK_POINTER_OFFSET;
 
 #ifdef SPARC_STACK_BOUNDARY_HACK
@@ -5522,8 +5523,6 @@ pad_to_arg_alignment (struct args_size *offset_ptr, int boundary,
     sp_offset = 0;
 #endif
 
-  int boundary_in_bytes = boundary / BITS_PER_UNIT;
-
   if (boundary > PARM_BOUNDARY && boundary > STACK_BOUNDARY)
     {
       save_var = offset_ptr->var;