From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21552 invoked by alias); 30 Mar 2004 19:36:25 -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 21544 invoked by uid 48); 30 Mar 2004 19:36:24 -0000 Date: Tue, 30 Mar 2004 19:36:00 -0000 Message-ID: <20040330193624.21543.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040330191303.14786.ryanma@cpsc.ucalgary.ca> References: <20040330191303.14786.ryanma@cpsc.ucalgary.ca> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/14786] Struct misaligned containing unsigned char bit-field X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg03419.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-30 19:36 ------- >>From Mac OS PEF ABI which is based on the PowerOpen ABI which is the ABI for AIX: The preferred alignment of a bit field is the same as its declared type. So if the same wording is in the Power Open ABI then this is invalid as it is correctly aligned and bit- fields are aligned as the same as their declared type. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14786