From: Geoffrey Keating Date: Wed, 8 Oct 2003 21:09:18 +0000 (+0000) Subject: function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to above SPARC... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a751cd5beb4802b29b27f5865874d8376d1c761d;p=gcc.git function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to above SPARC_STACK_BOUNDARY_HACK. * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' definition to above SPARC_STACK_BOUNDARY_HACK. From-SVN: r72241 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b3ac45ab3e..544f37472cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-08 Geoffrey Keating + + * function.c (pad_to_arg_alignment): Move 'boundary_in_bytes' + definition to above SPARC_STACK_BOUNDARY_HACK. + 2003-10-08 Jason Merrill * c-pretty-print.c (pp_c_postfix_expression) diff --git a/gcc/function.c b/gcc/function.c index 0f158ac8e15..427469eb8ae 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;