From d0285dd8918af5a76cce9552a79e6729d264f643 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 7 Feb 2000 17:39:40 +0000 Subject: * calls.c (compute_argument_block_size): New argument preferred_stack_boundary. (expand_call): update cfun->preferred_stack_boundary, update call of compute_argument_block_size (emit_library_call): Increate cfun->preferred_stack_boundary to PREFERRED_STACK_BOUNDARY (emit_library_call_value): Likewise. * explow.c (allocate_dynamic_stack_spave): Likewise. * function.c (prepare_function_start): Set cfun->preferred_stack_boundary * function.h (struct function): Add preferred_stack_boundary field. * integrate.c (expand_inline_function): Update cfun->preferred_stack_boundary and cfun->stack_alignment_needed. (copy_rtx_and_substitute): Align frame to stack_alignment_needed only. * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31831 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/function.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/function.h') diff --git a/gcc/function.h b/gcc/function.h index 1a94f948c69..5783c22b6ff 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -456,6 +456,8 @@ struct function struct machine_function *machine; /* The largest alignment of slot allocated on the stack. */ int stack_alignment_needed; + /* Preferred alignment of the end of stack frame. */ + int preferred_stack_boundary; /* Language-specific code can use this to store whatever it likes. */ struct language_function *language; -- cgit v1.2.1