summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_runtime.cpp
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2019-05-22 16:48:05 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2019-05-22 16:48:05 +0000
commit184ef0a0a6b30a24cb4ef82ffed601591598f7ca (patch)
tree4291882bb8ee451d2eb428cb6939e55e2ea77680 /openmp/runtime/src/kmp_runtime.cpp
parent9bd4dc929c945622b6563874438f7f453e83ffb0 (diff)
downloadbcm5719-llvm-184ef0a0a6b30a24cb4ef82ffed601591598f7ca.tar.gz
bcm5719-llvm-184ef0a0a6b30a24cb4ef82ffed601591598f7ca.zip
Fixed third issue reported in https://bugs.llvm.org/show_bug.cgi?id=41584.
Removed wrong debug assertion. Differential Revision: https://reviews.llvm.org/D62251 llvm-svn: 361408
Diffstat (limited to 'openmp/runtime/src/kmp_runtime.cpp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 7da7f089884..3f1dbfd6f69 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -4302,11 +4302,6 @@ kmp_info_t *__kmp_allocate_thread(kmp_root_t *root, kmp_team_t *team,
KMP_ATOMIC_DEC(&__kmp_thread_pool_active_nth);
new_thr->th.th_active_in_pool = FALSE;
}
-#if KMP_DEBUG
- else {
- KMP_DEBUG_ASSERT(new_thr->th.th_active == FALSE);
- }
-#endif
__kmp_unlock_suspend_mx(new_thr);
KA_TRACE(20, ("__kmp_allocate_thread: T#%d using thread T#%d\n",
OpenPOWER on IntegriCloud