summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-03-20 21:46:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-03-20 21:46:56 (GMT)
commit4f18b095d8cdd5c75cabe76f68c452984523c5f6 (patch)
treef2436e1fecd5e8ee651885a9fb685bb419909c83 /test
parent57393bc0483fe164d3c44129ff786e1333406ce2 (diff)
downloadhdf5-4f18b095d8cdd5c75cabe76f68c452984523c5f6.zip
hdf5-4f18b095d8cdd5c75cabe76f68c452984523c5f6.tar.gz
hdf5-4f18b095d8cdd5c75cabe76f68c452984523c5f6.tar.bz2
[svn-r26511] Description:
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: MacOSX/64 10.10.2 (amazon) w/serial & parallel (h5committest not required on this branch)
Diffstat (limited to 'test')
-rw-r--r--test/dt_arith.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 5ff4116..b6699c9 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;
}