This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33013] New: Documentation for __builtin_choose_expr is wrong
- From: "brian at oddchange dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2007 18:41:37 -0000
- Subject: [Bug c/33013] New: Documentation for __builtin_choose_expr is wrong
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The info page says: "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."
The last sentence should read, "Otherwise it returns EXP2."
--
Summary: Documentation for __builtin_choose_expr is wrong
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: brian at oddchange dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33013