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