diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eaf2d3657e04..2fd907d2b69d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 24 16:11:00 2001 Richard Kenner + + * function.c (assign_stack_temp_for_type): Clear alias set before + setting new one. + 2001-11-23 David Edelsohn * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX diff --git a/gcc/function.c b/gcc/function.c index c17a04ae2510..0891dd008f43 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