summaryrefslogtreecommitdiffstats
path: root/config/irix6.x
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-09-15 20:20:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-09-15 20:20:39 (GMT)
commitb047710a9577cb381308f30b67e81f2974029333 (patch)
tree5888c6f563bc2946d91a590ac5f7b76f5a66812b /config/irix6.x
parent24725d64aa4e944c4be4e0dcefa0880cb8ac627c (diff)
downloadhdf5-b047710a9577cb381308f30b67e81f2974029333.zip
hdf5-b047710a9577cb381308f30b67e81f2974029333.tar.gz
hdf5-b047710a9577cb381308f30b67e81f2974029333.tar.bz2
[svn-r12669] Description:
Use a slightly less efficient method of computing the log2() on SGI IRIX64, in order to avoid a compiler bug when optimizations are turned on. Tested on: SGI IRIX64 6.5 (atlantia)
Diffstat (limited to 'config/irix6.x')
-rw-r--r--config/irix6.x6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/irix6.x b/config/irix6.x
index 89cd1a4..5aeed35 100644
--- a/config/irix6.x
+++ b/config/irix6.x
@@ -189,3 +189,9 @@ if [ -z "$hdf5_mpi_complex_derived_datatype_works" -a $CC_BASENAME = cc ]; then
# hdf5_mpi_special_collective_io_works='no'
fi
fi
+
+# Set flag to generate alternate code for H5V_log2_gen, to avoid
+# problems with the MIPSpro compiler 7.30 and IRIX64 6.5 (ie. other
+# combinations might work, but haven't been tested)
+# (9/15/06 - QAK)
+hdf5_cv_bad_log2_code_generated=${hdf5_cv_bad_log2_code_generated='yes'}