This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/42324] Gcc doesn't follow x86-64 psABI on _Bool
- From: "matz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2010 12:08:46 -0000
- Subject: [Bug target/42324] Gcc doesn't follow x86-64 psABI on _Bool
- References: <bug-42324-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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