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

Modified Files:
        hash_float_test.cpp 
Log Message:
Merge in the intel gcc workaround from RC_1_34_0.


Index: hash_float_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/functional/hash/test/hash_float_test.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- hash_float_test.cpp 11 Oct 2006 18:58:40 -0000      1.30
+++ hash_float_test.cpp 12 Apr 2007 20:37:27 -0000      1.31
@@ -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(boost::hash_detail::limits<T>::epsilon()) ==
             
HASH_NAMESPACE::hash_value(boost::hash_detail::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