summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-03 18:28:34 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-03 18:28:34 +0000
commitf488fae1d688eaf335a574f7336596e73a002526 (patch)
tree5794ba7fdb3500e5409b0c012d1d1ab6d06ef2d1 /gcc/builtins.c
parentfc40f3acb7ad868c3fe6c3699722d80b38a43f88 (diff)
downloadgcc-f488fae1d688eaf335a574f7336596e73a002526.tar.gz
* builtins.c (get_memory_rtx): Always put into alias set 0.
* gcc.c-torture/execute/20000703-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 0e89481a12b..56e6c265caf 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -558,6 +558,9 @@ get_memory_rtx (exp)
return mem;
set_mem_attributes (mem, exp, 0);
+
+ /* memcpy, memset and other builtin stringops can alias with anything. */
+ MEM_ALIAS_SET (mem) = 0;
return mem;
}