(copy_rtx): A MEM with constant address is not sharable.
Undo Dec 27 change. From-SVN: r3231
This commit is contained in:
parent
1dde5fd23a
commit
cc81e6253b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue