From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29969 invoked by alias); 13 Jan 2010 12:09:05 -0000 Received: (qmail 29878 invoked by uid 48); 13 Jan 2010 12:08:46 -0000 Date: Wed, 13 Jan 2010 12:09:00 -0000 Message-ID: <20100113120846.29877.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: "matz at gcc dot gnu dot org" 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: 2010-01/txt/msg01471.txt.bz2 ------- Comment #12 from matz at gcc dot gnu dot org 2010-01-13 12:08 ------- The ABI (http://www.x86-64.org/documentation/abi.pdf) now contains this language: -------------------- When a value of type \code{_Bool} is returned or passed in a register or on the stack, bit 0 contains the truth value and bits 1 to 7 shall be zero. -------------------- Hence, fixed by adjusting the document :) -- matz at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42324