This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Documentation bug for __builtin_choose_expr
- From: kaih at khms dot westfalen dot de (Kai Henningsen)
- To: gcc at gcc dot gnu dot org
- Date: 22 Nov 2004 20:06:00 +0200
- Subject: Re: Documentation bug for __builtin_choose_expr
- Organization: Organisation? Me?! Are you kidding?
- References: <20041122042652.GA26998@mail.shareable.org>
jamie@shareable.org (Jamie Lokier) wrote on 22.11.04 in <20041122042652.GA26998@mail.shareable.org>:
> The documentation for __builtin_choose_expr says:
>
> -- Built-in Function: TYPE __builtin_choose_expr (CONST_EXP, EXP1, EXP2)
> You can use the built-in function `__builtin_choose_expr' to
> evaluate code depending on the value of a constant expression.
> This built-in function returns EXP1 if CONST_EXP, which is a
> constant expression that must be able to be determined at compile
> time, is nonzero. Otherwise it returns 0.
*************************************************
Surely that should be "Otherwise it returns EXP2"?!
MfG Kai