diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-27 23:11:17 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-27 23:11:17 -0400 |
commit | d772039ba7150f94f5305fbab4f46a6d7a3fec75 (patch) | |
tree | 120bb2c1136c9a974fc948a0d502160cdd0c7ee6 /gcc | |
parent | 1b2c9988bc38df3b0a8443471233d60e954ec67b (diff) | |
download | gcc-d772039ba7150f94f5305fbab4f46a6d7a3fec75.zip gcc-d772039ba7150f94f5305fbab4f46a6d7a3fec75.tar.gz gcc-d772039ba7150f94f5305fbab4f46a6d7a3fec75.tar.bz2 |
(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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/alpha/alpha.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index f5b336d..e114735 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 |