[libcxx-commits] [pstl] r363726 - [pstl] Disable workarounds for broken ICC versions when using Clang

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 18 12:48:52 PDT 2019


Author: ldionne
Date: Tue Jun 18 12:48:52 2019
New Revision: 363726

URL: http://llvm.org/viewvc/llvm-project?rev=363726&view=rev
Log:
[pstl] Disable workarounds for broken ICC versions when using Clang

Modified:
    pstl/trunk/test/support/pstl_test_config.h

Modified: pstl/trunk/test/support/pstl_test_config.h
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/test/support/pstl_test_config.h?rev=363726&r1=363725&r2=363726&view=diff
==============================================================================
--- pstl/trunk/test/support/pstl_test_config.h (original)
+++ pstl/trunk/test/support/pstl_test_config.h Tue Jun 18 12:48:52 2019
@@ -14,6 +14,7 @@
 #define _SCL_SECURE_NO_WARNINGS //to prevent the compilation warning. Microsoft STL implementation has specific checking of an iterator range in DEBUG mode for the containers from the standard library.
 #endif
 
+#ifndef __clang__
 #define _PSTL_ICC_16_17_TEST_REDUCTION_BOOL_TYPE_RELEASE_64_BROKEN                                                    \
     (__x86_64 && !_DEBUG && __INTEL_COMPILER && __INTEL_COMPILER <= 1700 && !__APPLE__)
 #define _PSTL_ICC_16_17_TEST_REDUCTION_RELEASE_BROKEN                                                                 \
@@ -45,5 +46,6 @@
 #define _PSTL_ICL_19_VC14_VC141_TEST_SCAN_RELEASE_BROKEN                                                              \
     (__INTEL_COMPILER == 1900 && _MSC_VER >= 1900 && _MSC_VER <= 1910)
 #define _PSTL_ICC_19_TEST_SIMD_UDS_WINDOWS_RELEASE_BROKEN (__INTEL_COMPILER == 1900 && _MSC_VER && !_DEBUG)
+#endif // !__clang__
 
 #endif /* _PSTL_TEST_config_H */




More information about the libcxx-commits mailing list