Commit c2f7bcc3 by Richard Henderson Committed by Richard Henderson

* emit-rtl.c (adjust_address): Make a copy of the memory address.

From-SVN: r44442
parent 91d84fad
2001-07-28 Richard Henderson <rth@redhat.com>
* emit-rtl.c (adjust_address): Make a copy of the memory address.
2001-07-28 Richard Henderson <rth@redhat.com>
* flow.c (add_to_mem_set_list): New function.
(init_propagate_block_info): Use it.
(mark_set_1): Likewise.
......
......@@ -1636,6 +1636,9 @@ adjust_address (memref, mode, offset)
will do memref tracking. */
rtx addr = XEXP (memref, 0);
/* ??? Prefer to create garbage instead of creating shared rtl. */
addr = copy_rtx (addr);
/* If MEMREF is a LO_SUM and the offset is within the alignment of the
object, we can merge it into the LO_SUM. */
if (GET_MODE (memref) != BLKmode && GET_CODE (addr) == LO_SUM
......
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