diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-10-08 21:09:18 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-10-08 21:09:18 +0000 |
commit | a751cd5beb4802b29b27f5865874d8376d1c761d (patch) | |
tree | 704b37393f1e9ac5bfaca9d27af305af6392f6c6 /gcc/function.c | |
parent | c0815127d0226a50633530ca650b0bbd2724fdf5 (diff) | |
download | gcc-a751cd5beb4802b29b27f5865874d8376d1c761d.zip gcc-a751cd5beb4802b29b27f5865874d8376d1c761d.tar.gz gcc-a751cd5beb4802b29b27f5865874d8376d1c761d.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
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; |