mips.c (mips_save_restore_reg): Use gen_frame_mem to avoid alias set 0.

* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
	avoid alias set 0.

From-SVN: r117607
This commit is contained in:
Adam Nemet 2006-10-10 17:39:12 +00:00 committed by Adam Nemet
parent a3bd50cc4b
commit 48a0c3d460
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-10 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
avoid alias set 0.
2006-10-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/29272

View File

@ -6528,7 +6528,7 @@ mips_save_restore_reg (enum machine_mode mode, int regno,
{
rtx mem;
mem = gen_rtx_MEM (mode, plus_constant (stack_pointer_rtx, offset));
mem = gen_frame_mem (mode, plus_constant (stack_pointer_rtx, offset));
fn (gen_rtx_REG (mode, regno), mem);
}