projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dde5fd
)
(copy_rtx): A MEM with constant address is not sharable.
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 14 Jan 1993 18:33:41 +0000
(10:33 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 14 Jan 1993 18:33:41 +0000
(10:33 -0800)
Undo Dec 27 change.
From-SVN: r3231
gcc/rtl.c
patch
|
blob
|
history
diff --git
a/gcc/rtl.c
b/gcc/rtl.c
index a47ebd536315cba95820812d79a863a354b5f3ba..aca057d6f97afbc7a651ca62959794da0b290c64 100644
(file)
--- 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);