From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16675 invoked by alias); 22 Apr 2003 10:53:12 -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 16668 invoked from network); 22 Apr 2003 10:53:12 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 22 Apr 2003 10:53:12 -0000 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 h3MArBD02896; Tue, 22 Apr 2003 06:53:11 -0400 Received: from redhat.com (IDENT:WMMAZbtuS2nInWIQmTHFollkJ7HbhPO4@vpn50-3.rdu.redhat.com [172.16.50.3]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3MArAq26500; Tue, 22 Apr 2003 06:53:11 -0400 Received: (from aph@localhost) by redhat.com (8.11.6/8.11.0) id h3MAr7r06707; Tue, 22 Apr 2003 11:53:07 +0100 From: Andrew Haley MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16037.7955.357772.413837@cuddles.redhat.com> Date: Tue, 22 Apr 2003 12:37:00 -0000 To: Nathan Sidwell Cc: gcc@gcc.gnu.org Subject: Re: On alignment In-Reply-To: <3EA51E5F.2060101@codesourcery.com> References: <200303251122.13693.kevin.hendricks@sympatico.ca> <200303251344.59988.kevin.hendricks@sympatico.ca> <16037.6826.35777.756256@cuddles.redhat.com> <3EA51E5F.2060101@codesourcery.com> X-SW-Source: 2003-04/txt/msg01053.txt.bz2 Nathan Sidwell writes: > Andrew Haley wrote: > > WHat I still cannot understand is why a struct that contains a double > > is 4-aligned on x86, but a double is 8-aligned. This means that you > > cannot infer the alignment of a struct from the alignment of its > > members. Is this really part of the multi-vendor ABI? > That packing rule is part of the i86 psABI Thanks. Got a link to that? Andrew.