From 03e007d79ddbb8a64572a88d2a4df39a0dc9db57 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 17 Apr 2004 12:40:07 +0000 Subject: re PR target/14715 ([3.4 only] Altivec stack layout may overlap gpr save with stack temps) PR target/14715 * config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree with STARTING_FRAME_OFFSET. From-SVN: r80794 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8f9213..00f7203 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-04-17 Alan Modra + + PR target/14715 + * config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree + with STARTING_FRAME_OFFSET. + 2004-04-17 Richard Sandiford * config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index b3a7364..a86ec22 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -10858,7 +10858,7 @@ rs6000_stack_info (void) info_ptr->varargs_size = RS6000_VARARGS_AREA; info_ptr->vars_size = RS6000_ALIGN (get_frame_size (), 8); info_ptr->parm_size = RS6000_ALIGN (current_function_outgoing_args_size, - 8); + TARGET_ALTIVEC ? 16 : 8); if (TARGET_SPE_ABI && info_ptr->spe_64bit_regs_used != 0) info_ptr->spe_gp_size = 8 * (32 - info_ptr->first_gp_reg_save); -- cgit v1.1