From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18938 invoked by alias); 28 Mar 2014 15:05:40 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 18925 invoked by uid 89); 28 Mar 2014 15:05:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: cam-smtp0.cambridge.arm.com Received: from fw-tnat.cambridge.arm.com (HELO cam-smtp0.cambridge.arm.com) (217.140.96.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 28 Mar 2014 15:05:39 +0000 Received: from arm.com (e106375-lin.cambridge.arm.com [10.1.203.160]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id s2SF5Yfv008609; Fri, 28 Mar 2014 15:05:34 GMT Date: Fri, 28 Mar 2014 15:05:00 -0000 From: James Greenhalgh To: Anthony Green Cc: "libffi-discuss@sourceware.org" Subject: Re: libffi 3.1-rc1 needs testing! Message-ID: <20140328150533.GA31475@arm.com> References: <87eh2liiow.fsf@moxielogic.com> <87a9ce3ry7.fsf@moxielogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a9ce3ry7.fsf@moxielogic.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00043.txt.bz2 Hi, I'm seeing issues with libffi.call/float2.c on GCC 4.9 toolchains across ARM, AArch64, x86_64. I guess GCC 4.9 is more aggressive in warning for unused values: FAIL: libffi.call/float2.c -W -Wall -O0 (test for excess errors) FAIL: libffi.call/float2.c -W -Wall -O2 (test for excess errors) FAIL: libffi.call/float2.c -W -Wall -O3 (test for excess errors) FAIL: libffi.call/float2.c -W -Wall -Os (test for excess errors) FAIL: libffi.call/float2.c -W -Wall -O2 -fomit-frame-pointer (test for excess errors) In file included from ../../testsuite/libffi.call/float2.c:10:0: ../../testsuite/libffi.call/float2.c: In function 'main': ../../testsuite/libffi.call/ffitest.h:18:39: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define CHECK(x) (!(x) ? (abort(), 1) : 0) ^ ../../testsuite/libffi.call/float2.c:55:5: note: in expansion of macro 'CHECK' CHECK(0); ^ output is: In file included from ../../testsuite/libffi.call/float2.c:10:0: ../../testsuite/libffi.call/float2.c: In function 'main': ../../testsuite/libffi.call/ffitest.h:18:39: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define CHECK(x) (!(x) ? (abort(), 1) : 0) ^ ../../testsuite/libffi.call/float2.c:55:5: note: in expansion of macro 'CHECK' CHECK(0); ^ Thanks, James