From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21098 invoked by alias); 25 May 2004 23:31:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21079 invoked by uid 48); 25 May 2004 23:31:43 -0000 Date: Wed, 26 May 2004 14:15:00 -0000 Message-ID: <20040525233143.21078.qmail@sourceware.org> From: "dalej at apple dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040223201435.14262.rbh00@utsglobal.com> References: <20040223201435.14262.rbh00@utsglobal.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/14262] Structure size computed wrong X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg02949.txt.bz2 List-Id: ------- Additional Comments From dalej at apple dot com 2004-05-25 23:31 ------- We have a consensus here that the Apple ABI documentation is wrong, and the existing compilers (which all agree with each other) are correct. The actual behavior is weirder than anybody here realized: structs TWO bytes and shorter are right-justified, structs 3 bytes and longer are left-justified. Geoff has incompletely quoted the docs, which say structs FOUR bytes and shorter are right-justified. Thus, the documentation is wrong only for the size 3 case exactly. We'll get that fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14262