__builtin_choose_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163675
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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