* loop.c (load_mems): Copy rtx for output mem.

From-SVN: r22357
This commit is contained in:
Richard Henderson 1998-09-09 06:15:23 -07:00 committed by Richard Henderson
parent 45197bb1b1
commit ad20647545
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Sep 9 13:14:41 1998 Richard Henderson <rth@cygnus.com>
* loop.c (load_mems): Copy rtx for output mem.
Wed Sep 9 15:16:58 1998 Gavin Romig-Koch <gavin@cygnus.com>
* mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for

View file

@ -8802,7 +8802,7 @@ load_mems (scan_start, end, loop_top, start)
/* Store the memory immediately after END, which is
the NOTE_LOOP_END. */
set = gen_rtx_SET (GET_MODE (reg), mem, reg);
set = gen_rtx_SET (GET_MODE (reg), copy_rtx (mem), reg);
emit_insn_after (set, label);
}