From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19576 invoked by alias); 6 Mar 2003 00:24:10 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 19569 invoked from network); 6 Mar 2003 00:24:10 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by 172.16.49.205 with SMTP; 6 Mar 2003 00:24:10 -0000 Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qj9W-0003x0-00 for gcc-patches@gcc.gnu.org; Wed, 05 Mar 2003 19:22:26 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h260MPQ21614 for ; Wed, 5 Mar 2003 19:22:25 -0500 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h260MPV32304 for ; Wed, 5 Mar 2003 19:22:25 -0500 Received: from greed.delorie.com (dj.cipe.redhat.com [10.0.0.222]) by post-office.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h260MPq13926 for ; Wed, 5 Mar 2003 19:22:25 -0500 Received: (from dj@localhost) by greed.delorie.com (8.11.6/8.11.6) id h260MOV21528; Wed, 5 Mar 2003 19:22:24 -0500 Date: Thu, 06 Mar 2003 00:24:00 -0000 Message-Id: <200303060022.h260MOV21528@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [patch] function.c: clear MEM flags better X-SW-Source: 2003-03/txt/msg00490.txt.bz2 Another one from our internal branch... 2002-03-05 Chris Moller * function.c (assign_stack_temp_for_type): set MEM_ATTRS (p->slot)->alias to zero as part of clearing MEM flags before set_mem_alias_set(). Index: function.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/function.c,v retrieving revision 1.405 diff -p -2 -r1.405 function.c *** function.c 4 Mar 2003 06:20:12 -0000 1.405 --- function.c 6 Mar 2003 00:20:02 -0000 *************** assign_stack_temp_for_type (mode, size, *** 807,810 **** --- 807,812 ---- } + if (MEM_ATTRS (p->slot)) + MEM_ATTRS (p->slot)->alias = 0; /* Create a new MEM rtx to avoid clobbering MEM flags of old slots. */