From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13076 invoked by alias); 28 Mar 2014 17:33:58 -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 13043 invoked by uid 89); 28 Mar 2014 17:33:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-qc0-f178.google.com Received: from mail-qc0-f178.google.com (HELO mail-qc0-f178.google.com) (209.85.216.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 28 Mar 2014 17:33:56 +0000 Received: by mail-qc0-f178.google.com with SMTP id i8so6215736qcq.37 for ; Fri, 28 Mar 2014 10:33:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=mI42ZoYv0TNWmQ0p/4L7MkoMtp3nwlMGSpjqrOYr+4w=; b=kXchmLSgFImaBHlZaJcKQiKevigmV31i//0jdFHPW7cVoEliKXolZj2cCemtMqBADL DxyvuVsWJR2n4Ylez6XoMRTHzy1m8ak7lP//WD5wXJRH3yvtf/eAGXIgxV6o7d9C/P+U /D3u6bnICkTm/DP4FB2WP3y0ch/1Qq7g15eHPXacAZyoJWI+Wq7xr7lPfqHYf5v2CUaN UnMUZO6vc1AbOrxL9s99jSpHIzJhysY/PkDbP57UwfT/5gYdF1NdTTD9peTb7ZD0dRak ZX8+sBWmRQncWaKm7KqF2mcwRXV/A1WyoNBW7WeKBARN/YAdvDUyeJFvUFrO/v1uCVdi 2qeg== X-Gm-Message-State: ALoCoQmZnrB7jnY351R0i31Z+uJkfAWb1pZROK+zy95rVuW4Q9QTgdWofC6iDZEOCruP20AEhwBD X-Received: by 10.140.81.112 with SMTP id e103mr3263949qgd.99.1396028034391; Fri, 28 Mar 2014 10:33:54 -0700 (PDT) Received: from localhost ([207.112.112.168]) by mx.google.com with ESMTPSA id x9sm11230545qas.35.2014.03.28.10.33.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Mar 2014 10:33:53 -0700 (PDT) From: Anthony Green To: James Greenhalgh Cc: "libffi-discuss\@sourceware.org" Subject: Re: libffi 3.1-rc1 needs testing! References: <87eh2liiow.fsf@moxielogic.com> <87a9ce3ry7.fsf@moxielogic.com> <20140328150533.GA31475@arm.com> Date: Fri, 28 Mar 2014 17:33:00 -0000 In-Reply-To: <20140328150533.GA31475@arm.com> (James Greenhalgh's message of "Fri, 28 Mar 2014 15:05:34 +0000") Message-ID: <8761my8bz1.fsf@moxielogic.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00046.txt.bz2 James Greenhalgh writes: > 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: Thanks James. I just committed a fix for this. AG > > 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