From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18588 invoked by alias); 9 Dec 2009 17:43:37 -0000 Received: (qmail 18525 invoked by uid 48); 9 Dec 2009 17:43:22 -0000 Date: Wed, 09 Dec 2009 17:43:00 -0000 Message-ID: <20091209174322.18522.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/42324] Gcc doesn't follow x86-64 psABI on _Bool In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00968.txt.bz2 ------- Comment #9 from hjl dot tools at gmail dot com 2009-12-09 17:43 ------- Created an attachment (id=19268) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19268&action=view) Source and object files These are sources and object files generated by gcc 4.4, icc 11.1 and Sun Studio 12 Update 1 at -O. The results are 1. All compilers access _Bool as one byte when reading function return and function parameters. 2. icc 11.1 and Sun Studio 12 Update 1 clear bits 1-63 when writing function return and function parameters. 3. Gcc 4.4 clears bits 1-7 when writing function return. 4. Gcc 4.4 clears bits 1-31 when writing function parameters. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42324