diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-27 16:34:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-27 16:34:08 (GMT) |
commit | e30b4b17cfd56d9e50786d6dc99b8323e1e86bc2 (patch) | |
tree | 54cea90c215a8b1c621c26b550c35f03eb270ae4 /test | |
parent | 037f8104e8bb50313405ae7d3a1a8695584c8d40 (diff) | |
download | hdf5-e30b4b17cfd56d9e50786d6dc99b8323e1e86bc2.zip hdf5-e30b4b17cfd56d9e50786d6dc99b8323e1e86bc2.tar.gz hdf5-e30b4b17cfd56d9e50786d6dc99b8323e1e86bc2.tar.bz2 |
[svn-r26618] Description:
Bring r26511 from autotools_rework branch to trunk:
Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.
Tested on:
Linux/32 2.6.18 (jam) w/serial & parallel
(Daily tested on branch for 2+ days)
Diffstat (limited to 'test')
-rw-r--r-- | test/dt_arith.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index 5df2ef7..d5249de 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -5083,7 +5083,6 @@ static int run_fp_int_conv(const char *name) { int nerrors = 0; -#ifdef H5_FP_TO_INTEGER_OVERFLOW_WORKS int test_values; #ifdef H5_VMS @@ -5198,23 +5197,6 @@ run_fp_int_conv(const char *name) #ifndef H5_VMS } /* end for */ #endif /* H5_VMS */ -#else /* H5_FP_TO_INTEGER_OVERFLOW_WORKS */ -/* For Cray X1, the compiler generates floating exception when the - * conversion overflows. So disable all of the conversions from - * floating-point numbers to integers. - */ - char str[256]; /*string */ - - HDsnprintf(str, sizeof(str), "Testing %s %s -> %s conversions", - name, "all floating-point numbers", "all integers"); - printf("%-70s", str); - SKIPPED(); -#if H5_SIZEOF_LONG_DOUBLE!=0 - HDputs(" Test skipped due to hardware conversion error."); -#else - HDputs(" Test skipped due to disbaled long double."); -#endif -#endif /* H5_FP_TO_INTEGER_OVERFLOW_WORKS */ return nerrors; } |