bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test failures from vasprintf-posix module


From: Eric Blake
Subject: Re: Test failures from vasprintf-posix module
Date: Sat, 21 Jun 2008 06:15:57 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Albert Chin on 6/20/2008 5:49 PM:
| Trying to run the testsuite for the vasprintf-posix module on HP-UX
| 10.20 using the HP C compiler:
|   $ ./gnulib-tool --test --with-tests vasprintf-posix
|   ...
|   PASS: test-EOVERFLOW
|   PASS: test-alloca-opt
|   PASS: test-frexp
|   ../../gltests/test-frexpl.c:120: assertion failed
|   sh[9]: 22438 Abort(coredump)

I think this has been reported before, but not sure the thread ever
reached resolution:
http://lists.gnu.org/archive/html/bug-m4/2008-04/msg00039.html

|
| tests/test-vasprintf-posix.c gives a number of compiler warnings:
|   cc -Ae -DHAVE_CONFIG_H -I. -I../../gltests  -I. -I../../gltests -I..
|   -I../../gltests/.. -I../gllib -I../../gltests/../gllib   -g -c
|   ../../gltests/test-vasprintf-posix.c
|   cc: "../../gltests/test-vasprintf-posix.c", line 212: warning 548:
Floating division by zero.

I'm not sure that has been mentioned.

|     if (have_minus_zero ())
|       ASSERT (strcmp (result, "-0x0p+0 33") == 0);
|     ASSERT (retval == strlen (result));
|     free (result);
|   }
| The value of result is "0x0p+0 33".

The system is losing track of -0.0; the question is whether the hardware
has a representation for it, and if so, who is losing the sign.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhc8P0ACgkQ84KuGfSFAYCGVACferbqeXwgTEPCTgq32n9zNo0t
seAAoLYH7BejXA8+LAlqs1/BJcioM0kX
=4CUc
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]