Commit 0ae02efa by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of…

xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of change_address to avoid clobbering memory attributes.

        * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
        validize_mem() instead of change_address to avoid clobbering
        memory attributes.

From-SVN: r50693
parent df867456
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.
......
......@@ -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]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment