function.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignment is greater than STACK_BOUNDARY.
* function.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignment is greater than STACK_BOUNDARY. From-SVN: r30405
This commit is contained in:
parent
e7749837ca
commit
9399d5c63f
|
@ -1,3 +1,8 @@
|
|||
Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* function.c (pad_to_arg_alignment): Only update argument_pad
|
||||
if the argument's alignment is greater than STACK_BOUNDARY.
|
||||
|
||||
Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* bitmap.h (BITMAP_XFREE): New.
|
||||
|
|
|
@ -5019,7 +5019,7 @@ pad_to_arg_alignment (offset_ptr, boundary, alignment_pad)
|
|||
|
||||
int boundary_in_bytes = boundary / BITS_PER_UNIT;
|
||||
|
||||
if (boundary > PARM_BOUNDARY)
|
||||
if (boundary > PARM_BOUNDARY && boundary > STACK_BOUNDARY)
|
||||
{
|
||||
save_var = offset_ptr->var;
|
||||
save_constant = offset_ptr->constant;
|
||||
|
@ -5041,7 +5041,7 @@ pad_to_arg_alignment (offset_ptr, boundary, alignment_pad)
|
|||
(ARGS_SIZE_TREE (*offset_ptr),
|
||||
boundary / BITS_PER_UNIT);
|
||||
offset_ptr->constant = 0; /*?*/
|
||||
if (boundary > PARM_BOUNDARY)
|
||||
if (boundary > PARM_BOUNDARY && boundary > STACK_BOUNDARY)
|
||||
alignment_pad->var = size_binop (MINUS_EXPR, offset_ptr->var, save_var);
|
||||
}
|
||||
else
|
||||
|
@ -5052,7 +5052,7 @@ pad_to_arg_alignment (offset_ptr, boundary, alignment_pad)
|
|||
#else
|
||||
CEIL_ROUND (offset_ptr->constant, boundary_in_bytes);
|
||||
#endif
|
||||
if (boundary > PARM_BOUNDARY)
|
||||
if (boundary > PARM_BOUNDARY && boundary > STACK_BOUNDARY)
|
||||
alignment_pad->constant = offset_ptr->constant - save_constant;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue