From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9326 invoked by alias); 29 May 2013 08:39:45 -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 9311 invoked by uid 89); 29 May 2013 08:39:45 -0000 X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_LOW,SPF_PASS,TW_BF autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 29 May 2013 08:39:44 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 29 May 2013 09:39:41 +0100 Received: from e106375vm ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 29 May 2013 09:39:39 +0100 From: "James Greenhalgh" To: "'Anthony Green'" Cc: References: <1365413805-5517-1-git-send-email-james.greenhalgh@arm.com> In-Reply-To: Subject: RE: [libffi testsuite] Set -ffp-contract=off for libffi.call/many.c Date: Wed, 29 May 2013 08:39:00 -0000 Message-ID: <009101ce5c48$0c657720$25306560$@greenhalgh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113052909394103201 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013/txt/msg00139.txt.bz2 > The problem with unqualified dg-options is that non-GCC compilers > will complain about them, and libffi currently supports compilers from > IBM, Oracle and Microsoft. Could you please resubmit with the > appropriate target qualifier? Just look at other uses of dg-options. > (to answer your other question, either a patch email or pull request > would be fine) Hi Anthony, I'm sorry, but I'm not sure what you are asking me to do. Looking at other test cases I see, for example: testsuite/libffi.call/huge_struct.c:/* { dg-options -Wformat=3D0 { target moxie*-*-elf } } */ But my understanding is that this restricts adding the option to moxie*-*-elf targets rather than compilers. I think to implement what you are asking I would want something like /* { dg-options -ffp-contract=3Doff { compiler *gcc* } } */ As best as I understand it, any GCC target which can contract fused multiply adds will require this change, which would require me to write: /* { dg-options -ffp-contract=3Doff { target *-*-* } } */ But then I think I have opened myself up to failing with other compilers again. Have I completely misunderstood what you are requesting? Could you point me towards some other examples which achieve what I want? Thanks, James