Commit c81f560b by Richard Henderson Committed by Richard Henderson

integrate.c (copy_rtx_and_substitute): Fix error last change: we need to…

integrate.c (copy_rtx_and_substitute): Fix error last change: we need to unconditionally create a new mem.

        * integrate.c (copy_rtx_and_substitute): Fix error last change:
        we need to unconditionally create a new mem.

From-SVN: r48403
parent e9fef64c
2001-12-30 Richard Henderson <rth@redhat.com>
* integrate.c (copy_rtx_and_substitute): Fix error last change:
we need to unconditionally create a new mem.
2001-12-30 Hans-Peter Nilsson <hp@bitrange.com> 2001-12-30 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.md ("*call_real"): Fix typo in comment. * config/mmix/mmix.md ("*call_real"): Fix typo in comment.
......
...@@ -2263,9 +2263,9 @@ copy_rtx_and_substitute (orig, map, for_lhs) ...@@ -2263,9 +2263,9 @@ copy_rtx_and_substitute (orig, map, for_lhs)
return validize_mem (force_const_mem (const_mode, constant)); return validize_mem (force_const_mem (const_mode, constant));
} }
copy = replace_equiv_address_nv (orig, copy = gen_rtx_MEM (mode, copy_rtx_and_substitute (XEXP (orig, 0),
copy_rtx_and_substitute (XEXP (orig, 0), map, 0));
map, 0)); MEM_COPY_ATTRIBUTES (copy, orig);
/* If inlining and this is not for the LHS, turn off RTX_UNCHANGING_P /* If inlining and this is not for the LHS, turn off RTX_UNCHANGING_P
since this may be an indirect reference to a parameter and the since this may be an indirect reference to a parameter and the
......
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