[PATCH] Use -frounding-math for math testsuite

Richard Guenther rguenther@suse.de
Mon May 7 08:55:00 GMT 2012


On Sat, 5 May 2012, Joseph S. Myers wrote:

> On Wed, 2 May 2012, Richard Guenther wrote:
> 
> > There is also -fsignalling-nans which is off by default, too.  Not sure
> > if that makes a difference though, but GCC for example folds x + 0.0 to
> > x with the default setting.
> 
> I don't see it doing that folding, but if it did it would be a bug, since 
> -fsigned-zeros is the default and -0.0 + 0.0 is +0.0 except in 
> round-downwards mode.

In fold_real_zero_addition_p - yes, it's also conditional on
-fno-signed-zeros.

Richard.



More information about the Libc-alpha mailing list