diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-01-14 10:33:41 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-01-14 10:33:41 -0800 |
commit | cc81e6253b50a6d819d5fbffaecceec38726c39d (patch) | |
tree | 64ee251ff7788c65db092496f27b3d7e05e8694c /gcc/rtl.c | |
parent | 1dde5fd23a78cd11810af4b5f1fac4e9be3d1243 (diff) | |
download | gcc-cc81e6253b50a6d819d5fbffaecceec38726c39d.zip gcc-cc81e6253b50a6d819d5fbffaecceec38726c39d.tar.gz gcc-cc81e6253b50a6d819d5fbffaecceec38726c39d.tar.bz2 |
(copy_rtx): A MEM with constant address is not sharable.
Undo Dec 27 change.
From-SVN: r3231
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |