[Bug c/33013] New: Documentation for __builtin_choose_expr is wrong

2007-08-07 Thread brian at oddchange dot com
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



[Bug c/33014] New: Documentation for __builtin_choose_expr is wrong

2007-08-07 Thread brian at oddchange dot com
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=33014



[Bug c/33013] Documentation for __builtin_choose_expr is wrong

2007-08-07 Thread brian at oddchange dot com


--- Comment #1 from brian at oddchange dot com  2007-08-07 19:40 ---
*** Bug 33014 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33013



[Bug c/33014] Documentation for __builtin_choose_expr is wrong

2007-08-07 Thread brian at oddchange dot com


--- Comment #1 from brian at oddchange dot com  2007-08-07 19:40 ---


*** This bug has been marked as a duplicate of 33013 ***


-- 

brian at oddchange dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33014



[Bug c/28575] misleading __builtin_choose_expr documentation error

2007-09-10 Thread brian at oddchange dot com


--- Comment #2 from brian at oddchange dot com  2007-09-10 15:49 ---
*** Bug 33013 has been marked as a duplicate of this bug. ***


-- 

brian at oddchange dot com changed:

   What|Removed |Added

 CC||brian at oddchange dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28575



[Bug c/33013] Documentation for __builtin_choose_expr is wrong

2007-09-10 Thread brian at oddchange dot com


--- Comment #2 from brian at oddchange dot com  2007-09-10 15:49 ---


*** This bug has been marked as a duplicate of 28575 ***


-- 

brian at oddchange dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33013