Commit 64fc7c00 by Jakub Jelinek Committed by Jakub Jelinek

emit-rtl.c (change_address): Use XEXP (memref, 0) instead of addr when creating MEM copy.

	* emit-rtl.c (change_address): Use XEXP (memref, 0) instead
	of addr when creating MEM copy.

From-SVN: r76888
parent ed672aa8
2004-01-29 Jakub Jelinek <jakub@redhat.com>
* emit-rtl.c (change_address): Use XEXP (memref, 0) instead
of addr when creating MEM copy.
2004-01-29 Devang Patel <dpatel@apple.com> 2004-01-29 Devang Patel <dpatel@apple.com>
* dwarf2out.c (gen_field_die): Do not equate decl number to die. * dwarf2out.c (gen_field_die): Do not equate decl number to die.
......
...@@ -1886,7 +1886,7 @@ change_address (rtx memref, enum machine_mode mode, rtx addr) ...@@ -1886,7 +1886,7 @@ change_address (rtx memref, enum machine_mode mode, rtx addr)
&& MEM_ALIGN (memref) == align)) && MEM_ALIGN (memref) == align))
return new; return new;
new = gen_rtx_MEM (mmode, addr); new = gen_rtx_MEM (mmode, XEXP (memref, 0));
MEM_COPY_ATTRIBUTES (new, memref); MEM_COPY_ATTRIBUTES (new, memref);
} }
......
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