From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121678 invoked by alias); 8 Feb 2020 02:52:06 -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 121649 invoked by uid 89); 8 Feb 2020 02:52:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Feb 2020 02:52:04 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 0182pufw020982; Fri, 7 Feb 2020 20:51:56 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 0182pt58020979; Fri, 7 Feb 2020 20:51:55 -0600 Date: Sat, 08 Feb 2020 02:52:00 -0000 From: Segher Boessenkool To: Ulrich Weigand Cc: Richard Biener , GCC Patches , "Joseph S. Myers" Subject: Re: [PATCH] Fix -ffast-math flags handling inconsistencies Message-ID: <20200208025155.GW22482@gate.crashing.org> References: <20200207164732.24E0DD802A9@oc3748833570.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200207164732.24E0DD802A9@oc3748833570.ibm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00472.txt.bz2 On Fri, Feb 07, 2020 at 05:47:32PM +0100, Ulrich Weigand wrote: > > but what happens to -fsignalling-nans -ffast-math then? Better leave those > > in I'd say. > > Ah, it seems I was confused about the intended semantics here. > > I thought that a *more specific* option like -fsignalling-nans was always > intended to override a more generic option like -ffast-math, no matter > whether it comes before or after it on the command line. -fsignaling-nans is an independent option. Signaling NaNs don't do much at all when you also have -ffinite-math-only, of course, which says you don't have *any* NaNs. Segher