]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
extend.texi: Fix documentation of the return value of __builtin_choose_expr.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 31 Aug 2010 14:26:47 +0000 (14:26 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Tue, 31 Aug 2010 14:26:47 +0000 (14:26 +0000)
* doc/extend.texi: Fix documentation of the return value of
__builtin_choose_expr.

From-SVN: r163675

gcc/ChangeLog
gcc/doc/extend.texi

index 4f92137d31f94a0d86fbb1e8a45b01788be40290..4d1737a67ffc7581bb17a01b0277000e82451211 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-31  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * doc/extend.texi: Fix documentation of the return value of
+       __builtin_choose_expr.
+
 2010-08-31  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/v850/v850-protos.h (function_arg): Delete.
index a12d21b8e8c4eebd236638adedfd93793092b19c..de6a30dd6927a51148d1094d4f2ff7115390cf5c 100644 (file)
@@ -7137,7 +7137,7 @@ depending on the arguments' types.  For example:
 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