Mercurial > hg > octave-kai > gnulib-hg
annotate modules/mbscasestr-tests @ 13837:d7a891a411c1
strtod: work around icc bug
With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such
that a val of 0.0 doesn't result in -0.0.
* lib/strtod.c (minus_zero): Define to working value.
(strtod): Use it to avoid icc bug.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Fri, 05 Nov 2010 08:30:27 -0600 |
parents | 03aab12b3f15 |
children | 413f5a66c55a |
rev | line source |
---|---|
8134 | 1 Files: |
2 tests/test-mbscasestr1.c | |
3 tests/test-mbscasestr2.sh | |
4 tests/test-mbscasestr2.c | |
5 tests/test-mbscasestr3.sh | |
6 tests/test-mbscasestr3.c | |
7 tests/test-mbscasestr4.sh | |
8 tests/test-mbscasestr4.c | |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
9284
diff
changeset
|
9 tests/macros.h |
8134 | 10 m4/locale-fr.m4 |
11 m4/locale-tr.m4 | |
12 m4/locale-zh.m4 | |
13 m4/codeset.m4 | |
14 | |
15 Depends-on: | |
16 | |
17 configure.ac: | |
18 gt_LOCALE_FR_UTF8 | |
19 gt_LOCALE_TR_UTF8 | |
20 gt_LOCALE_ZH_CN | |
21 | |
22 Makefile.am: | |
23 TESTS += test-mbscasestr1 test-mbscasestr2.sh test-mbscasestr3.sh test-mbscasestr4.sh | |
12775
03aab12b3f15
Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.
Bruno Haible <bruno@clisp.org>
parents:
12496
diff
changeset
|
24 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@' |
8134 | 25 check_PROGRAMS += test-mbscasestr1 test-mbscasestr2 test-mbscasestr3 test-mbscasestr4 |
26 |