This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in x86-64 psABI or in gcc?
On 12/08/2009 10:24 AM, H.J. Lu wrote:
>
> We should just drop
>
> ---
> When a value of type _Bool is passed in a register or on the stack,
> the upper 63 bits of the eightbyte shall be zero.
> ---
>
> from psABI. Since _Bool has one byte in size with values of 0 and 1.
> Compilers have to clear upper 7 bits in one byte.
>
What about the Solaris compiler? It's probably the only other
significant user of the x86-64 ABI (the Qlogic and LLVM compilers I
presume will follow gcc.)
-hpa