OSDN Git Service

* doc/extend.texi: Fix documentation of the return value of
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Aug 2010 14:26:47 +0000 (14:26 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Aug 2010 14:26:47 +0000 (14:26 +0000)
__builtin_choose_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163675 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/extend.texi

index 4f92137..4d1737a 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 a12d21b..de6a30d 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