[Bug target/42324] Gcc doesn't follow x86-64 psABI on _Bool

matz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 13 12:09:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list