From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2496 Path: news.gmane.org!not-for-mail From: ojab Newsgroups: gmane.linux.lib.musl.general Subject: Re: spandsp build, lrint/sqrt/pow issue Date: Tue, 18 Dec 2012 10:07:09 +0400 Message-ID: <50D0080D.6020005@ojab.ru> References: <50CAF645.9000804@ojab.ru> <20121214124026.GO23126@port70.net> <50CB22CD.1070208@ojab.ru> <20121214133342.GQ23126@port70.net> <50CB35FE.2050705@ojab.ru> <50CB8250.7090804@ojab.ru> <20121215004706.GR23126@port70.net> <50CDA26C.4010908@ojab.ru> <20121216141203.GS23126@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355810846 21159 80.91.229.3 (18 Dec 2012 06:07:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 06:07:26 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2497-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 18 07:07:41 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TkqL3-0005IA-Dm for gllmg-musl@plane.gmane.org; Tue, 18 Dec 2012 07:07:37 +0100 Original-Received: (qmail 29715 invoked by uid 550); 18 Dec 2012 06:07:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 29707 invoked from network); 18 Dec 2012 06:07:23 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=YD6zVzZsHmjTJxcTRMt9u/M9gtCia/na2oDu62WrcZA=; b=RN2Lcn20KV8Xqg1frDyBJa7LbZD2ep8lCiYdG0+cRMo9XiVHQPXDW3vDipdCjYcemg 0OgX+jh2Kfp10G0oJx1UefMx1HEPP0GzMlt8TYSzUOV46xl3FKu/yCU93cgl9He2GpFR efXQ1JG8ixhVdMr4+vNs6B2/OHPBBr4FosMu5UuK9cN8qigQgcuzql/Sif5sZ9IRmasD BTm9ItjCDirPBvKt37zNJGBAVDR8tB7Qtgs/7H1Yo6R9TQpiwc7K7vBOgg59VGY49Iuc 2TI/6O/En/0pr9Rtmh+jjoMmh3ZdvXxEj9qiQIXOy43WAzVilmNrisODMNOOlwgDjd/W Vi8w== X-Received: by 10.152.144.38 with SMTP id sj6mr741974lab.48.1355810832621; Mon, 17 Dec 2012 22:07:12 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Thunderbird/20.0a1 In-Reply-To: <20121216141203.GS23126@port70.net> X-Gm-Message-State: ALoCoQmk4gX/sv5rB2+8hDkPZQD1yTZJ6GCFoLnHfTNuWSM0n7reJsCQmPbPpDk/U5m3ob9zoP0p Xref: news.gmane.org gmane.linux.lib.musl.general:2496 Archived-At: On 16.12.2012 18:12, Szabolcs Nagy wrote: > * ojab [2012-12-16 14:29:00 +0400]: > > i think it's a gcc and clang bug if > > __typeof__(0 ? (int*)0 : (void*)1) > > is not a valid type expression, it should work just like > > sizeof(0 ? (int*)0 : (void*)1) > > which is a valid expression in iso c > (typeof is not defined by any standard but it should not > evaluate its argument like sizeof) > LLVM guys has closed http://llvm.org/bugs/show_bug.cgi?id=14618 as invalid. Type expression, that mentioned above, compiles without errors on both gcc and clang, so looks like an error anywhere else. Testcase was: int main() { __typeof__(0 ? (int*)0 : (void*)1) x; } //wbr ojab