From: Richard Kenner Date: Sat, 24 Nov 2001 21:18:15 +0000 (+0000) Subject: function.c (assign_stack_temp_for_type): Clear alias set before setting new one. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08e42d8b55810489b0923baf359ab9038051e607;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eaf2d3657e0..2fd907d2b69 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 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