mips.c (save_restore_insns): Change base_offset to fp_offset in second call to mips_emit_frame_related_store.

* config/mips/mips.c (save_restore_insns): Change base_offset to
	fp_offset in second call to mips_emit_frame_related_store.

From-SVN: r45379
This commit is contained in:
Richard Sandiford 2001-09-04 15:02:17 +00:00 committed by Richard Sandiford
parent ba72e5a66f
commit 58771ed13d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-09-04 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (save_restore_insns): Change base_offset to
fp_offset in second call to mips_emit_frame_related_store.
2001-09-04 Hans-Peter Nilsson <hp@axis.com>
* doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can

View File

@ -6782,7 +6782,7 @@ save_restore_insns (store_p, large_reg, large_offset, file)
RTX_UNCHANGING_P (mem_rtx) = 1;
if (store_p)
mips_emit_frame_related_store (mem_rtx, reg_rtx, base_offset);
mips_emit_frame_related_store (mem_rtx, reg_rtx, fp_offset);
else
emit_move_insn (reg_rtx, mem_rtx);
}