rs6000.c (rs6000_emit_prologue): Save fp regs inline if current_function_calls_eh_return.

* config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
	if current_function_calls_eh_return.

From-SVN: r69734
This commit is contained in:
Alan Modra 2003-07-24 02:30:31 +00:00 committed by Alan Modra
parent 9d2a10573b
commit acd0b319f1
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-24 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
if current_function_calls_eh_return.
2003-07-23 Mark Mitchell <mark@codesourcery.com>
* doc/c-tree.texi (OFFSET_TYPE): Update description.

View File

@ -11254,11 +11254,13 @@ rs6000_emit_prologue ()
&& info->first_gp_reg_save < 31);
saving_FPRs_inline = (info->first_fp_reg_save == 64
|| FP_SAVE_INLINE (info->first_fp_reg_save)
|| current_function_calls_eh_return
|| cfun->machine->ra_need_lr);
/* For V.4, update stack before we do any saving and set back pointer. */
if (info->push_p
&& (DEFAULT_ABI == ABI_V4 || current_function_calls_eh_return))
&& (DEFAULT_ABI == ABI_V4
|| current_function_calls_eh_return))
{
if (info->total_size < 32767)
sp_offset = info->total_size;