From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2646 invoked by alias); 22 Apr 2003 15:38:19 -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 2527 invoked from network); 22 Apr 2003 15:38:15 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 22 Apr 2003 15:38:15 -0000 Received: from prospero.boston.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h3MFcEV29725; Tue, 22 Apr 2003 11:38:14 -0400 Received: by prospero.boston.redhat.com (Postfix, from userid 4046) id 1533DF8D67; Tue, 22 Apr 2003 11:35:41 -0400 (EDT) To: Andrew Haley Cc: dewar@gnat.com (Robert Dewar), nathan@codesourcery.com, gcc@gcc.gnu.org Subject: Re: On alignment From: Jason Merrill In-Reply-To: <16037.14231.913810.357203@cuddles.redhat.com> (Andrew Haley's message of "Tue, 22 Apr 2003 13:37:43 +0100") References: <20030422110729.071B7F2CB7@nile.gnat.com> <16037.14231.913810.357203@cuddles.redhat.com> Date: Tue, 22 Apr 2003 16:22:00 -0000 Message-ID: User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg01066.txt.bz2 On Tue, 22 Apr 2003 13:37:43 +0100, Andrew Haley wrote: > Robert Dewar writes: > > > That packing rule is part of the i86 psABI > > > > It's still mighty odd, and of course in Ada you have to override this rule > > since it conflicts with the Ada standard, which requires that the default > > minimum alignment of a composite be not less than the alignment of any > > component. > > It's pretty weird in C++. It's the same in C. Weird or not, that's what the SVR4 psABI says, so that's what we do. Jason