public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: kaih@khms.westfalen.de (Kai Henningsen)
To: gcc@gcc.gnu.org
Subject: Re: Documentation bug for __builtin_choose_expr
Date: Mon, 22 Nov 2004 20:45:00 -0000	[thread overview]
Message-ID: <9LLhYvM1w-B@khms.westfalen.de> (raw)
In-Reply-To: <20041122042652.GA26998@mail.shareable.org>

jamie@shareable.org (Jamie Lokier)  wrote on 22.11.04 in <20041122042652.GA26998@mail.shareable.org>:

> The documentation for __builtin_choose_expr 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.
*************************************************

Surely that should be "Otherwise it returns EXP2"?!

MfG Kai

      parent reply	other threads:[~2004-11-22 19:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22  8:06 Jamie Lokier
2004-11-22 10:41 ` Joseph S. Myers
2004-11-22 10:42   ` Jamie Lokier
2004-11-22 12:21 ` Andreas Schwab
2004-11-22 14:44   ` Jamie Lokier
2004-11-22 15:02     ` Andreas Schwab
2004-11-22 18:58       ` Robert Dewar
2004-11-22 20:45 ` Kai Henningsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9LLhYvM1w-B@khms.westfalen.de \
    --to=kaih@khms.westfalen.de \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).