From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26721 invoked by alias); 17 Apr 2003 22:32:32 -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 26682 invoked from network); 17 Apr 2003 22:32:31 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 17 Apr 2003 22:32:31 -0000 Received: from free.redhat.lsd.ic.unicamp.br (aoliva.cipe.redhat.com [10.0.1.10]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h3HMWTV03253; Thu, 17 Apr 2003 18:32:29 -0400 Received: from free.redhat.lsd.ic.unicamp.br (free.redhat.lsd.ic.unicamp.br [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.8/8.12.8) with ESMTP id h3HMWRBp007954; Thu, 17 Apr 2003 19:32:28 -0300 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.8/8.12.8/Submit) id h3HMWRRx007950; Thu, 17 Apr 2003 19:32:27 -0300 To: Geert Bosch Cc: kenner@vlsi1.ultra.nyu.edu (Richard Kenner), gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT References: From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Thu, 17 Apr 2003 23:19:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00878.txt.bz2 On Apr 17, 2003, Geert Bosch wrote: >> Waiting to be enlightened, :-) > Hope the example helps. Yell if not :-) 'fraid it doesn't. Only the alignment of variable Q seems to be user-specified in this case, so it doesn't compare the two different cases, which is the point of contention. What if the alignment of the Point record was defined as 16 as well? What if it was defined to something else? What if the record alignment was defined by the user but the alignment of variable Q wasn't? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer