aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-26 10:51:21 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-26 10:51:21 -0700
commit95899b34957e97c03851efb4d482f3efe53a68f9 (patch)
treeb2e42d89a129ea0ff3aed66930e42e06d38d76b2 /gcc/calls.c
parent86df8c86f3388f75c029e307f12a138ab89daa77 (diff)
downloadgcc-95899b34957e97c03851efb4d482f3efe53a68f9.zip
gcc-95899b34957e97c03851efb4d482f3efe53a68f9.tar.gz
gcc-95899b34957e97c03851efb4d482f3efe53a68f9.tar.bz2
calls.c (combine_pending_stack_adjustment_and_call): Make preferred_unit_stack_boundary argument unsigned.
* calls.c (combine_pending_stack_adjustment_and_call): Make preferred_unit_stack_boundary argument unsigned. Make unadjusted_alignment unsigned. (expand_call): Make preferred_stack_boundary and preferred_unit_stack_boundary variables unsigned. * function.c (assign_stack_local_1): Make alignment unsigned. * function.h (struct function): Make stack_alignment_needed, preferred_stack_boundary unsigned. * config/i386/i386.c (ix86_preferred_stack_boundary): Make unsigned. (ix86_compute_frame_layout): Make stack_alignment_needed, preferred_alignment variables unsigned. * config/i386/i386.h (ix86_preferred_stack_boundary): Make unsigned. From-SVN: r85196
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d83b419..bf90ceb 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -143,7 +143,7 @@ static int check_sibcall_argument_overlap_1 (rtx);
static int check_sibcall_argument_overlap (rtx, struct arg_data *, int);
static int combine_pending_stack_adjustment_and_call (int, struct args_size *,
- int);
+ unsigned int);
static tree fix_unsafe_tree (tree);
static bool shift_returned_value (tree, rtx *);
@@ -1582,14 +1582,14 @@ load_register_parameters (struct arg_data *args, int num_actuals,
static int
combine_pending_stack_adjustment_and_call (int unadjusted_args_size,
struct args_size *args_size,
- int preferred_unit_stack_boundary)
+ unsigned int preferred_unit_stack_boundary)
{
/* The number of bytes to pop so that the stack will be
under-aligned by UNADJUSTED_ARGS_SIZE bytes. */
HOST_WIDE_INT adjustment;
/* The alignment of the stack after the arguments are pushed, if we
just pushed the arguments without adjust the stack here. */
- HOST_WIDE_INT unadjusted_alignment;
+ unsigned HOST_WIDE_INT unadjusted_alignment;
unadjusted_alignment
= ((stack_pointer_delta + unadjusted_args_size)
@@ -1968,9 +1968,9 @@ expand_call (tree exp, rtx target, int ignore)
tree addr = TREE_OPERAND (exp, 0);
int i;
/* The alignment of the stack, in bits. */
- HOST_WIDE_INT preferred_stack_boundary;
+ unsigned HOST_WIDE_INT preferred_stack_boundary;
/* The alignment of the stack, in bytes. */
- HOST_WIDE_INT preferred_unit_stack_boundary;
+ unsigned HOST_WIDE_INT preferred_unit_stack_boundary;
/* The static chain value to use for this call. */
rtx static_chain_value;
/* See if this is "nothrow" function call. */