From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9374 invoked by alias); 22 Nov 2004 19:17:34 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 9280 invoked from network); 22 Nov 2004 19:17:28 -0000 Received: from unknown (HELO colo.khms.westfalen.de) (213.239.196.208) by sourceware.org with SMTP; 22 Nov 2004 19:17:28 -0000 Received: from khms.vpn ([10.172.192.2]:51664 helo=khms.westfalen.de ident=Debian-exim) by colo.khms.westfalen.de with asmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1CWJe3-0007Nv-32 for gcc@gcc.gnu.org; Mon, 22 Nov 2004 20:14:39 +0100 Received: from root (helo=khms.westfalen.de) by khms.westfalen.de with local-bsmtp (Exim 4.34) id 1CWJdx-0000cG-LS for gcc@gcc.gnu.org; Mon, 22 Nov 2004 20:14:33 +0100 Received: by khms.westfalen.de (CrossPoint v3.12d.kh14 R/C435); 22 Nov 2004 20:14:16 +0200 Date: Mon, 22 Nov 2004 20:45:00 -0000 From: kaih@khms.westfalen.de (Kai Henningsen) To: gcc@gcc.gnu.org Message-ID: <9LLhYvM1w-B@khms.westfalen.de> In-Reply-To: <20041122042652.GA26998@mail.shareable.org> Subject: Re: Documentation bug for __builtin_choose_expr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Organisation? Me?! Are you kidding? References: <20041122042652.GA26998@mail.shareable.org> X-No-Junk-Mail: I do not want to get *any* junk mail. X-Fix-Your-Modem: +++ATS2=255&WO1 X-SW-Source: 2004-11/txt/msg00754.txt.bz2 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