From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44672 invoked by alias); 31 Dec 2015 09:36:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 44660 invoked by uid 89); 31 Dec 2015 09:36:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=hammer, affects, Disable X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 31 Dec 2015 09:36:04 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 8E5D9461D3; Thu, 31 Dec 2015 09:36:02 +0000 (UTC) Received: from tucnak.zalov.cz ([10.3.113.3]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBV9a0ec028240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 31 Dec 2015 04:36:02 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id tBV9ZwSQ029692; Thu, 31 Dec 2015 10:35:58 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id tBV9ZuwQ029691; Thu, 31 Dec 2015 10:35:56 +0100 Date: Thu, 31 Dec 2015 09:36:00 -0000 From: Jakub Jelinek To: "Saraswati, Sujoy (OSTL)" Cc: Joseph Myers , Sujoy Saraswati , GCC Patches , Richard Biener Subject: Re: Fix 61441 [5/5] Disable various transformations for signaling NaN operands Message-ID: <20151231093556.GZ18720@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <5379BA8D7E9D7E4D87BF6749A92854C248FC90F6@G4W3297.americas.hpqcorp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5379BA8D7E9D7E4D87BF6749A92854C248FC90F6@G4W3297.americas.hpqcorp.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg02227.txt.bz2 On Thu, Nov 26, 2015 at 08:38:55AM +0000, Saraswati, Sujoy (OSTL) wrote: > PR tree-optimization/61441 > * gcc.dg/pr61441.c: New testcase. Note the testcase fails on i686-linux, and even -fexcess-precision=standard doesn't help (-ffloat-store works, but that is a big hammer and we really don't want it for targets without excess precision). At least with -fexcess-precision=standard, the problem is in the fabs case, with -fexcess-precision=standard the value is then rounded from long double to double and that rounding affects the signalling bit. So, either the testcase should be compiled with -fexcess-precision=standard and the operation(Abs) case be guarded with #if __FLT_EVAL_METHOD__ == 0, or something similar. Jakub