Commit cc81e625 by Jim Wilson

(copy_rtx): A MEM with constant address is not sharable.

Undo Dec 27 change.

From-SVN: r3231
parent 1dde5fd2
...@@ -284,10 +284,10 @@ copy_rtx (orig) ...@@ -284,10 +284,10 @@ copy_rtx (orig)
return orig; return orig;
break; break;
case MEM: /* A MEM with a constant address is not sharable. The problem is that
if (CONSTANT_ADDRESS_P (XEXP (orig, 0))) the constant address may need to be reloaded. If the mem is shared,
return orig; then reloading one copy of this mem will cause all copies to appear
break; to have been reloaded. */
} }
copy = rtx_alloc (code); copy = rtx_alloc (code);
......
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