From d772039ba7150f94f5305fbab4f46a6d7a3fec75 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 27 Jul 1994 23:11:17 -0400 Subject: [PATCH] (INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and SP when... (INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and SP when get_frame_size and current_function_pretend_args_size are not a multiple of 16 bytes. From-SVN: r7801 --- gcc/config/alpha/alpha.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index f5b336d70c6..e114735d174 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -680,7 +680,9 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS, else if ((FROM) == ARG_POINTER_REGNUM) \ (OFFSET) = (ALPHA_ROUND (current_function_outgoing_args_size) \ + alpha_sa_size () \ - + ALPHA_ROUND (get_frame_size ())); \ + + (ALPHA_ROUND (get_frame_size () \ + + current_function_pretend_args_size) \ + - current_function_pretend_args_size)); \ } /* Define this if stack space is still allocated for a parameter passed -- 2.30.2