Update of /cvsroot/boost/boost/libs/functional/hash/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23540

Modified Files:
      Tag: RC_1_34_0
        hash_float_test.cpp 
Log Message:
Intel 9.1 with the gcc stdlib seems to segfault on call to std::asin and
std::acos. So for them I'm disabling that test - it isn't vital.


Index: hash_float_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/functional/hash/test/hash_float_test.cpp,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -d -r1.26 -r1.26.2.1
--- hash_float_test.cpp 18 Mar 2006 15:49:21 -0000      1.26
+++ hash_float_test.cpp 25 Feb 2007 12:15:52 -0000      1.26.2.1
@@ -125,12 +125,17 @@
     BOOST_TEST(x1(half_max) != x1(three_quarter_max));
     BOOST_TEST(x1(three_quarter_max) == x1(three_quarter_max));
 
+// Intel with gcc stdlib sometimes segfaults on calls to asin and acos.
+#if !((defined(__INTEL_COMPILER) || defined(__ICL) || \
+        defined(__ICC) || defined(__ECC)) && \
+    (defined(__GLIBCPP__) || defined(__GLIBCXX__)))
     T v1 = asin((T) 1);
     T v2 = acos((T) 0);
     if(v1 == v2)
         BOOST_TEST(x1(v1) == x1(v2));
     BOOST_TEST(x1(v1) == HASH_NAMESPACE::hash_value(v1));
     BOOST_TEST(x1(v2) == HASH_NAMESPACE::hash_value(v2));
+#endif
 
     BOOST_TEST(x1(std::numeric_limits<T>::epsilon()) ==
             HASH_NAMESPACE::hash_value(std::numeric_limits<T>::epsilon()));


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to