summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-24 21:18:15 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-24 21:18:15 +0000
commit3949bbd583057abfa3b51906052b127c804d29ec (patch)
treed9a3a6c3f1f059940b0df3aeea48b1c5aded72ea /gcc/function.c
parent2ef959dfa77e4d7f6cbe3d1958cb8a69eb995d80 (diff)
downloadgcc-3949bbd583057abfa3b51906052b127c804d29ec.tar.gz
* function.c (assign_stack_temp_for_type): Clear alias set before
setting new one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47303 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index c17a04ae251..0891dd008f4 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -787,6 +787,7 @@ assign_stack_temp_for_type (mode, size, keep, type)
MEM_IN_STRUCT_P (p->slot) = 0;
MEM_SCALAR_P (p->slot) = 0;
MEM_VOLATILE_P (p->slot) = 0;
+ set_mem_alias_set (p->slot, 0);
/* If we know the alias set for the memory that will be used, use
it. If there's no TYPE, then we don't know anything about the