diff options
author | Eric Blake <eblake@redhat.com> | 2010-11-04 12:29:27 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-11-04 17:03:58 -0600 |
commit | 74f73e82d45826c2ba8e533ff3ec75fcf9e17361 (patch) | |
tree | 4eec22158bae54aced730780424b1a549f870d9b /modules | |
parent | 37059fdaaacaaa2e4c03f1768f919186f5f263c4 (diff) | |
download | gnulib-74f73e82d45826c2ba8e533ff3ec75fcf9e17361.tar.gz |
frexp, tests: work around ICC bug with -zero
* m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Compute -0.0 in a way that
works with more compilers.
* tests/minus-zero.h: New file.
* modules/ceilf-tests (Files): Include it.
* modules/ceill-tests (Files): Likewise.
* modules/floorf-tests (Files): Likewise.
* modules/floorl-tests (Files): Likewise.
* modules/frexp-nolibm-tests (Files): Likewise.
* modules/frexp-tests (Files): Likewise.
* modules/frexpl-nolibm-tests (Files): Likewise.
* modules/frexpl-tests (Files): Likewise.
* modules/isnan-tests (Files): Likewise.
* modules/isnand-nolibm-tests (Files): Likewise.
* modules/isnand-tests (Files): Likewise.
* modules/isnanf-nolibm-tests (Files): Likewise.
* modules/isnanf-tests (Files): Likewise.
* modules/isnanl-nolibm-tests (Files): Likewise.
* modules/isnanl-tests (Files): Likewise.
* modules/round-tests (Files): Likewise.
* modules/roundf-tests (Files): Likewise.
* modules/roundl-tests (Files): Likewise.
* modules/ldexpl-tests (Files): Likewise.
* modules/signbit-tests (Files): Likewise.
* modules/snprintf-posix-tests (Files): Likewise.
* modules/sprintf-posix-tests (Files): Likewise.
* modules/strtod-tests (Files): Likewise.
* modules/trunc-tests (Files): Likewise.
* modules/truncf-tests (Files): Likewise.
* modules/truncl-tests (Files): Likewise.
* modules/vsnprintf-posix-tests (Files): Likewise.
* modules/vsprintf-posix-tests (Files): Likewise.
* modules/vasnprintf-posix-tests (Files): Likewise.
* modules/vasprintf-posix-tests (Files): Likewise.
* tests/test-ceilf1.c (main): Use it.
* tests/test-ceill.c (main): Likewise.
* tests/test-floorf1.c (main): Likewise.
* tests/test-floorl.c (main): Likewise.
* tests/test-frexp.c (main): Likewise.
* tests/test-frexpl.c (main): Likewise.
* tests/test-isnan.c (main): Likewise.
* tests/test-isnand.h (main): Likewise.
* tests/test-isnanf.h (main): Likewise.
* tests/test-isnanl.h (main): Likewise.
* tests/test-ldexpl.c (main): Likewise.
* tests/test-round.c (main): Likewise.
* tests/test-roundf.c (main): Likewise.
* tests/test-roundl.c (main): Likewise.
* tests/test-signbit.c (test_signbitf, test_signbitd)
(test_signbitl): Likewise.
* tests/test-snprintf-posix.h (test_function): Likewise.
* tests/test-sprintf-posix.h (test_function): Likewise.
* tests/test-strtod.c (main): Likewise.
* tests/test-trunc1.c (main): Likewise.
* tests/test-truncf1.c (main): Likewise.
* tests/test-truncl.c (main): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules')
30 files changed, 32 insertions, 0 deletions
diff --git a/modules/ceilf-tests b/modules/ceilf-tests index 09c9c7816b..040fd1bbf5 100644 --- a/modules/ceilf-tests +++ b/modules/ceilf-tests @@ -1,6 +1,7 @@ Files: tests/test-ceilf1.c tests/test-ceilf2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/ceill-tests b/modules/ceill-tests index 48b9be301b..09ae4f32d4 100644 --- a/modules/ceill-tests +++ b/modules/ceill-tests @@ -1,5 +1,6 @@ Files: tests/test-ceill.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/floorf-tests b/modules/floorf-tests index 64b4e3c31e..3e9c045ef0 100644 --- a/modules/floorf-tests +++ b/modules/floorf-tests @@ -1,6 +1,7 @@ Files: tests/test-floorf1.c tests/test-floorf2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/floorl-tests b/modules/floorl-tests index f7dd7bb80f..5273fb5a88 100644 --- a/modules/floorl-tests +++ b/modules/floorl-tests @@ -1,5 +1,6 @@ Files: tests/test-floorl.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/frexp-nolibm-tests b/modules/frexp-nolibm-tests index 2d761c063d..82ee57c879 100644 --- a/modules/frexp-nolibm-tests +++ b/modules/frexp-nolibm-tests @@ -1,5 +1,7 @@ Files: tests/test-frexp.c +tests/minus-zero.h +tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/frexp-tests b/modules/frexp-tests index 32a9ecae18..3f669f9353 100644 --- a/modules/frexp-tests +++ b/modules/frexp-tests @@ -1,5 +1,6 @@ Files: tests/test-frexp.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/frexpl-nolibm-tests b/modules/frexpl-nolibm-tests index d9f6d4da46..1648d95ab4 100644 --- a/modules/frexpl-nolibm-tests +++ b/modules/frexpl-nolibm-tests @@ -1,5 +1,7 @@ Files: tests/test-frexpl.c +tests/minus-zero.h +tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/frexpl-tests b/modules/frexpl-tests index 4eb2e4bd98..a944634af2 100644 --- a/modules/frexpl-tests +++ b/modules/frexpl-tests @@ -1,5 +1,6 @@ Files: tests/test-frexpl.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/isnan-tests b/modules/isnan-tests index a63b7cfd15..1bc2b7217a 100644 --- a/modules/isnan-tests +++ b/modules/isnan-tests @@ -1,5 +1,6 @@ Files: tests/test-isnan.c +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnand-nolibm-tests b/modules/isnand-nolibm-tests index 2ce8b6c5a7..ee6f880d2f 100644 --- a/modules/isnand-nolibm-tests +++ b/modules/isnand-nolibm-tests @@ -1,6 +1,7 @@ Files: tests/test-isnand-nolibm.c tests/test-isnand.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnand-tests b/modules/isnand-tests index b9964ccae7..a23ba4db67 100644 --- a/modules/isnand-tests +++ b/modules/isnand-tests @@ -1,6 +1,7 @@ Files: tests/test-isnand.c tests/test-isnand.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnanf-nolibm-tests b/modules/isnanf-nolibm-tests index 6aab7e0727..ff89c1d6cb 100644 --- a/modules/isnanf-nolibm-tests +++ b/modules/isnanf-nolibm-tests @@ -1,6 +1,7 @@ Files: tests/test-isnanf-nolibm.c tests/test-isnanf.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnanf-tests b/modules/isnanf-tests index 2c09485f7f..ba301df11e 100644 --- a/modules/isnanf-tests +++ b/modules/isnanf-tests @@ -1,6 +1,7 @@ Files: tests/test-isnanf.c tests/test-isnanf.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnanl-nolibm-tests b/modules/isnanl-nolibm-tests index 6d2f08e43b..78427b4368 100644 --- a/modules/isnanl-nolibm-tests +++ b/modules/isnanl-nolibm-tests @@ -1,6 +1,7 @@ Files: tests/test-isnanl-nolibm.c tests/test-isnanl.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/isnanl-tests b/modules/isnanl-tests index 5cff0dd732..68411fec1d 100644 --- a/modules/isnanl-tests +++ b/modules/isnanl-tests @@ -1,6 +1,7 @@ Files: tests/test-isnanl.c tests/test-isnanl.h +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/ldexpl-tests b/modules/ldexpl-tests index 3c4f251cb1..223175f611 100644 --- a/modules/ldexpl-tests +++ b/modules/ldexpl-tests @@ -1,5 +1,6 @@ Files: tests/test-ldexpl.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/round-tests b/modules/round-tests index b52890cd4b..9e154c8cc1 100644 --- a/modules/round-tests +++ b/modules/round-tests @@ -1,6 +1,7 @@ Files: tests/test-round1.c tests/test-round2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/roundf-tests b/modules/roundf-tests index 8d99ab91a2..7ee4178f3e 100644 --- a/modules/roundf-tests +++ b/modules/roundf-tests @@ -2,6 +2,7 @@ Files: tests/test-roundf1.c tests/test-round2.c tests/test-roundf2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/roundl-tests b/modules/roundl-tests index bd1b5c90b6..f9bd46727e 100644 --- a/modules/roundl-tests +++ b/modules/roundl-tests @@ -1,5 +1,6 @@ Files: tests/test-roundl.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/signbit-tests b/modules/signbit-tests index 10d7d7b51e..b8247652f2 100644 --- a/modules/signbit-tests +++ b/modules/signbit-tests @@ -1,5 +1,6 @@ Files: tests/test-signbit.c +tests/minus-zero.h tests/macros.h m4/exponentf.m4 m4/exponentd.m4 diff --git a/modules/snprintf-posix-tests b/modules/snprintf-posix-tests index 4448cf521c..9a5c3ab7cb 100644 --- a/modules/snprintf-posix-tests +++ b/modules/snprintf-posix-tests @@ -2,6 +2,7 @@ Files: tests/test-snprintf-posix.c tests/test-snprintf-posix.h tests/test-snprintf.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/sprintf-posix-tests b/modules/sprintf-posix-tests index f6e4ce0f56..333c5844be 100644 --- a/modules/sprintf-posix-tests +++ b/modules/sprintf-posix-tests @@ -1,6 +1,7 @@ Files: tests/test-sprintf-posix.c tests/test-sprintf-posix.h +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/strtod-tests b/modules/strtod-tests index bea7825e77..38aebe802e 100644 --- a/modules/strtod-tests +++ b/modules/strtod-tests @@ -1,6 +1,7 @@ Files: tests/test-strtod.c tests/signature.h +tests/minus-zero.h tests/macros.h Depends-on: diff --git a/modules/trunc-tests b/modules/trunc-tests index ce1e979964..6c254e0692 100644 --- a/modules/trunc-tests +++ b/modules/trunc-tests @@ -1,6 +1,7 @@ Files: tests/test-trunc1.c tests/test-trunc2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/truncf-tests b/modules/truncf-tests index 746950d14b..27b93f2a2a 100644 --- a/modules/truncf-tests +++ b/modules/truncf-tests @@ -1,6 +1,7 @@ Files: tests/test-truncf1.c tests/test-truncf2.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/truncl-tests b/modules/truncl-tests index 6056a642e5..01bcf73921 100644 --- a/modules/truncl-tests +++ b/modules/truncl-tests @@ -1,5 +1,6 @@ Files: tests/test-truncl.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/vasnprintf-posix-tests b/modules/vasnprintf-posix-tests index 5320d88b35..e281d262e6 100644 --- a/modules/vasnprintf-posix-tests +++ b/modules/vasnprintf-posix-tests @@ -2,6 +2,7 @@ Files: tests/test-vasnprintf-posix.c tests/test-vasnprintf-posix2.sh tests/test-vasnprintf-posix2.c +tests/minus-zero.h tests/nan.h tests/macros.h m4/locale-fr.m4 diff --git a/modules/vasprintf-posix-tests b/modules/vasprintf-posix-tests index 4be9c2b3ad..8702bdcbde 100644 --- a/modules/vasprintf-posix-tests +++ b/modules/vasprintf-posix-tests @@ -1,5 +1,6 @@ Files: tests/test-vasprintf-posix.c +tests/minus-zero.h tests/nan.h tests/macros.h diff --git a/modules/vsnprintf-posix-tests b/modules/vsnprintf-posix-tests index 530e57ca66..687d28d449 100644 --- a/modules/vsnprintf-posix-tests +++ b/modules/vsnprintf-posix-tests @@ -2,6 +2,7 @@ Files: tests/test-vsnprintf-posix.c tests/test-snprintf-posix.h tests/test-vsnprintf.c +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h diff --git a/modules/vsprintf-posix-tests b/modules/vsprintf-posix-tests index 7b5412ff85..2f04f875a8 100644 --- a/modules/vsprintf-posix-tests +++ b/modules/vsprintf-posix-tests @@ -1,6 +1,7 @@ Files: tests/test-vsprintf-posix.c tests/test-sprintf-posix.h +tests/minus-zero.h tests/nan.h tests/signature.h tests/macros.h |