Commit 03e007d7 by Alan Modra Committed by Alan Modra

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
parent fa795c69
2004-04-17 Alan Modra <amodra@bigpond.net.au>
PR target/14715
* config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree
with STARTING_FRAME_OFFSET.
2004-04-17 Richard Sandiford <rsandifo@redhat.com> 2004-04-17 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand. * config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand.
......
...@@ -10858,7 +10858,7 @@ rs6000_stack_info (void) ...@@ -10858,7 +10858,7 @@ rs6000_stack_info (void)
info_ptr->varargs_size = RS6000_VARARGS_AREA; info_ptr->varargs_size = RS6000_VARARGS_AREA;
info_ptr->vars_size = RS6000_ALIGN (get_frame_size (), 8); info_ptr->vars_size = RS6000_ALIGN (get_frame_size (), 8);
info_ptr->parm_size = RS6000_ALIGN (current_function_outgoing_args_size, 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) if (TARGET_SPE_ABI && info_ptr->spe_64bit_regs_used != 0)
info_ptr->spe_gp_size = 8 * (32 - info_ptr->first_gp_reg_save); info_ptr->spe_gp_size = 8 * (32 - info_ptr->first_gp_reg_save);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment