http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28575

Przemysław Pawełczyk <przemoc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |przemoc at gmail dot com

--- Comment #4 from Przemysław Pawełczyk <przemoc at gmail dot com> 2010-11-29 
18:06:57 UTC ---
I'm also curious why the trivial fix has not been applied yet.

--- a/gcc-4.5.1/gcc/doc/extend.texi    2010-11-29 18:39:21.000000000 +0100
+++ b/gcc-4.5.1/gcc/doc/extend.texi    2010-11-29 18:39:54.000000000 +0100
@@ -7026,7 +7026,7 @@
 You can use the built-in function @code{__builtin_choose_expr} to
 evaluate code depending on the value of a constant expression.  This
 built-in function returns @var{exp1} if @var{const_exp}, which is an
-integer constant expression, is nonzero.  Otherwise it returns 0.
+integer constant expression, is nonzero.  Otherwise it returns @var{exp2}.

 This built-in function is analogous to the @samp{? :} operator in C,
 except that the expression returned has its type unaltered by promotion

Reply via email to