Control: tag -1 + pending On Fri, Jan 07, 2011 at 02:21:03PM +0100, Vincent Lefevre wrote: > Package: gcc-4.4-doc > Version: 4.4.4.nf1-1 > Severity: normal > > The GCC 4.4 manual says: > > -- Built-in Function: TYPE __builtin_choose_expr (CONST_EXP, EXP1, > EXP2) > You can use the built-in function `__builtin_choose_expr' to > evaluate code depending on the value of a constant expression. > 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. > > This is incorrect. "Otherwise it returns 0." should be replaced > by "Otherwise it returns EXP2.". > > This error has been known since 2006: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28575 > > but it still isn't fixed, though the change is trivial. I hope that > Debian would be more reactive than upstream...
Thanks for this report. This is fixed in my git repo. [1] [1] http://anonscm.debian.org/gitweb/?p=users/yixuan-guest/gcc-doc.git;a=commitdiff;h=572594b3b697f68a6286ba5f0bfe1a0d1c1fdee5 Cheers, Guo Yixuan
signature.asc
Description: Digital signature