aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-11-24 21:18:15 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-11-24 16:18:15 -0500
commit08e42d8b55810489b0923baf359ab9038051e607 (patch)
treed9a3a6c3f1f059940b0df3aeea48b1c5aded72ea /gcc
parent763b9879b99bba5fb30d3c85cdbebde6f0225ed0 (diff)
downloadgcc-08e42d8b55810489b0923baf359ab9038051e607.zip
gcc-08e42d8b55810489b0923baf359ab9038051e607.tar.gz
gcc-08e42d8b55810489b0923baf359ab9038051e607.tar.bz2
function.c (assign_stack_temp_for_type): Clear alias set before setting new one.
* function.c (assign_stack_temp_for_type): Clear alias set before setting new one. From-SVN: r47303
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index eaf2d36..2fd907d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * function.c (assign_stack_temp_for_type): Clear alias set before
+ setting new one.
+
2001-11-23 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
diff --git a/gcc/function.c b/gcc/function.c
index c17a04a..0891dd0 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