summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_runtime.cpp
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2017-03-28 13:35:42 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2017-03-28 13:35:42 +0000
commitcece72aa04030e88eebe5ef6a0f25760bb0747e4 (patch)
tree90878dd7ad4c5884b004a38d2922093fdba6418b /openmp/runtime/src/kmp_runtime.cpp
parentd48f47e25c71ecb8379dd740c62d27b59e9a2800 (diff)
downloadbcm5719-llvm-cece72aa04030e88eebe5ef6a0f25760bb0747e4.tar.gz
bcm5719-llvm-cece72aa04030e88eebe5ef6a0f25760bb0747e4.zip
Fix for bug https://llvm.org/bugs/show_bug.cgi?id=30889
Condition adjusted for Debug assertion. Differential Revision: https://reviews.llvm.org/D29638 llvm-svn: 298915
Diffstat (limited to 'openmp/runtime/src/kmp_runtime.cpp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 22102395233..e92c9b1308c 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -2284,7 +2284,7 @@ __kmp_join_call(ident_t *loc, int gtid
#endif
#if KMP_DEBUG
- if ( __kmp_tasking_mode != tskm_immediate_exec ) {
+ if (__kmp_tasking_mode != tskm_immediate_exec && !exit_teams) {
KA_TRACE( 20, ( "__kmp_join_call: T#%d, old team = %p old task_team = %p, th_task_team = %p\n",
__kmp_gtid_from_thread( master_th ), team,
team->t.t_task_team[master_th->th.th_task_state], master_th->th.th_task_team) );
OpenPOWER on IntegriCloud