Re: computing long double NaN on Irix 6.5

2009-02-27 Thread Tom G. Christensen
On Thu, Feb 26, 2009 at 09:17:28PM -0700, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Eric Blake on 2/26/2009 4:57 PM: > > I've done some investigation into failures of test-frexpl, test-isnanl, and > > test-vasnprintf-posixt-ldexpl.c:130: assertion failed

Re: spurious roundl output (was: computing long double NaN on Irix 6.5)

2009-02-27 Thread Eric Blake
Bruno Haible clisp.org> writes: > > A variable with _cv_ in the name is still cached, regardless of whether > > you used AC_CACHE_VAL; all AC_CACHE_VAL does is wrap additional logic to > > produce output, thus it should not be used in situations where you don't > > want the side effect of output.

Re: spurious roundl output (was: computing long double NaN on Irix 6.5)

2009-02-27 Thread Bruno Haible
Eric Blake wrote: > However, the spurious output is still > misleading, so what do you think of this patch to clean it up? I have not > pushed it yet... > > A variable with _cv_ in the name is still cached, regardless of whether > you used AC_CACHE_VAL; all AC_CACHE_VAL does is wrap additional lo

Re: computing long double NaN on Irix 6.5

2009-02-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 2/27/2009 6:22 AM: [adding bug-autoconf, about an Irix 6.5 situation] >> After the patch, under gcc 3.4.3, 2 tests still fail (probably due to gcc >> mishandling Irix's weird notion of a 128-bit long double formed by addi

spurious roundl output (was: computing long double NaN on Irix 6.5)

2009-02-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 2/27/2009 6:22 AM: >> (cached) (cached) checking for signbit macro... no >> checking for signbit compiler built-ins... no > > This comes from the gl_FUNC_FLOORL_LIBS and gl_FUNC_CEILL_LIBS macros, which > are > invoked by

Re: computing long double NaN on Irix 6.5

2009-02-27 Thread Bruno Haible
Hi Eric, > Before the patch, gcc gave 9 of 16 tests failing on assertions, all > dealing with NaN, when I ran: > > gnulib-tool --with-tests --test isfinite isnan ceill floorl frexpl isnanl > ldexpl roundl truncl > > After the patch Nice improvement! > 2 tests still fail For me: - with CC=

Re: computing long double NaN on Irix 6.5

2009-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 2/26/2009 4:57 PM: > I've done some investigation into failures of test-frexpl, test-isnanl, and > test-vasnprintf-posix on Irix 6.5. > > So, I am working on a patch that looks for all instances of 0.0L / 0.0L in > the >

computing long double NaN on Irix 6.5

2009-02-26 Thread Eric Blake
I've done some investigation into failures of test-frexpl, test-isnanl, and test-vasnprintf-posix on Irix 6.5. The Irix 6.5 cc, on 0.0L/0.0L, produces: (gdb) p sizeof x $1 = 16 (gdb) x/4x &x 0x7ffb7ea0: 0x7ff7 0x 0x 0x (gdb) p x $2 = nan(0x7