diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-14 18:33:41 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-14 18:33:41 +0000 |
commit | b44952540eac4eedb33729e3a6b8447b091d4fd1 (patch) | |
tree | 64ee251ff7788c65db092496f27b3d7e05e8694c /gcc/rtl.c | |
parent | 042aeb40629f38233b627c25b03ed380a3bf67da (diff) | |
download | gcc-b44952540eac4eedb33729e3a6b8447b091d4fd1.tar.gz |
(copy_rtx): A MEM with constant address is not sharable.
Undo Dec 27 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c index a47ebd53631..aca057d6f97 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -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); |