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