From: Richard Kenner Date: Thu, 28 Jul 1994 03:11:17 +0000 (-0400) Subject: (INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and SP when... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d772039ba7150f94f5305fbab4f46a6d7a3fec75;p=gcc.git (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 --- 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