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
+2002-03-12 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
+ validize_mem() instead of change_address to avoid clobbering
+ memory attributes.
+
2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
* c-lex.h (position_after_whitespace): Remove.
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]));