Commit eecd6d9c by Richard Sandiford Committed by Richard Sandiford

mips.c (save_restore_insns): Don't mark any register save slots as unchanging if...

 	* config/mips/mips.c (save_restore_insns): Don't mark any register
	save slots as unchanging if current_function_calls_eh_return.

From-SVN: r45406
parent a39bdefc
2001-09-05 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (save_restore_insns): Don't mark any register
save slots as unchanging if current_function_calls_eh_return.
2001-09-05 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_legitimate_address_p): New.
......
......@@ -6621,8 +6621,7 @@ save_restore_insns (store_p, large_reg, large_offset, file)
gen_rtx (PLUS, Pmode, base_reg_rtx,
GEN_INT (gp_offset - base_offset)));
if (regno != GP_REG_FIRST + 31
|| ! current_function_calls_eh_return)
if (! current_function_calls_eh_return)
RTX_UNCHANGING_P (mem_rtx) = 1;
/* The mips16 does not have an instruction to load
......@@ -6779,7 +6778,8 @@ save_restore_insns (store_p, large_reg, large_offset, file)
gen_rtx (PLUS, Pmode, base_reg_rtx,
GEN_INT (fp_offset
- base_offset)));
RTX_UNCHANGING_P (mem_rtx) = 1;
if (! current_function_calls_eh_return)
RTX_UNCHANGING_P (mem_rtx) = 1;
if (store_p)
mips_emit_frame_related_store (mem_rtx, reg_rtx, fp_offset);
......
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