aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2006-10-10 17:39:12 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2006-10-10 17:39:12 +0000
commit48a0c3d46062ca1b5413a9d5e7caca2595d941e2 (patch)
tree887a7fd011b5269db122805fd6dcdbbb206fc4a8 /gcc/config/mips
parenta3bd50cc4b053aa1224977404494b856eb625154 (diff)
downloadgcc-48a0c3d46062ca1b5413a9d5e7caca2595d941e2.zip
gcc-48a0c3d46062ca1b5413a9d5e7caca2595d941e2.tar.gz
gcc-48a0c3d46062ca1b5413a9d5e7caca2595d941e2.tar.bz2
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
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 6ff2562..26ea020 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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);
}