From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32407 invoked by alias); 6 May 2002 06:26:18 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 32362 invoked from network); 6 May 2002 06:26:17 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 6 May 2002 06:26:17 -0000 Received: from dot.sfbay.redhat.com (dot.sfbay.redhat.com [172.16.24.7]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g466PEv00448; Sun, 5 May 2002 23:25:14 -0700 Received: (from rth@localhost) by dot.sfbay.redhat.com (8.11.6/8.11.6) id g466QGW12961; Sun, 5 May 2002 23:26:16 -0700 X-Authentication-Warning: dot.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Sun, 05 May 2002 23:26:00 -0000 From: Richard Henderson To: Mark Mitchell Cc: Richard Kenner , "gcc@gcc.gnu.org" Subject: Re: PR 6212 Message-ID: <20020505232616.B12951@redhat.com> Mail-Followup-To: Richard Henderson , Mark Mitchell , Richard Kenner , "gcc@gcc.gnu.org" References: <10205060303.AA17372@vlsi1.ultra.nyu.edu> <28230000.1020663794@warlock.codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <28230000.1020663794@warlock.codesourcery.com>; from mark@codesourcery.com on Sun, May 05, 2002 at 10:43:15PM -0700 X-SW-Source: 2002-05/txt/msg00368.txt.bz2 On Sun, May 05, 2002 at 10:43:15PM -0700, Mark Mitchell wrote: > If the pointer value is merely being read, the assumption does not hold, > > For example, we must not optimize: > > (int)(T*)x % alignof(T) > > to 0. Correct, and there is in fact a test for this in the suite. The point at which we need to be presuming alignment is the point at which we actually create a MEM. r~