summaryrefslogtreecommitdiff
path: root/gcc/config/xtensa
diff options
context:
space:
mode:
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 23:33:11 +0000
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 23:33:11 +0000
commit9c56a8c5d6161b3536f4a7982a52460d6bb6a21f (patch)
tree28747d1bc68f5f9f5cb79e069759e05b8c8e2b6f /gcc/config/xtensa
parent4ba198e89b42b9f2a6cf8c36a979d32ad0357681 (diff)
downloadgcc-9c56a8c5d6161b3536f4a7982a52460d6bb6a21f.tar.gz
* config/xtensa/xtensa.c (xtensa_expand_block_move): Use
validize_mem() instead of change_address to avoid clobbering memory attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r--gcc/config/xtensa/xtensa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 979b3e216bd..fe7e9f31cdf 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -1353,8 +1353,8 @@ xtensa_expand_block_move (operands)
return 0;
/* make sure the memory addresses are valid */
- operands[0] = change_address (dest, VOIDmode, NULL);
- operands[1] = change_address (src, VOIDmode, NULL);
+ operands[0] = validize_mem (dest);
+ operands[1] = validize_mem (src);
emit_insn (gen_movstrsi_internal (operands[0], operands[1],
operands[2], operands[3]));