aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 0f158ac..427469e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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;