summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-04 22:31:57 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-04 22:31:57 +0000
commitdd23974a5d860188e8c4a114788458929de039d3 (patch)
tree09a6389f54adaf49238043993d42f0624fab1c5a
parentc2b98f03db39fea4783c9a094d8ff83608441328 (diff)
downloadbcm5719-llvm-dd23974a5d860188e8c4a114788458929de039d3.tar.gz
bcm5719-llvm-dd23974a5d860188e8c4a114788458929de039d3.zip
Remove incorrect debug assert.
in __kmp_free_team(), the team's number of processors can be == 1. llvm-svn: 252086
-rw-r--r--openmp/runtime/src/kmp_runtime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_runtime.c b/openmp/runtime/src/kmp_runtime.c
index 831afbe69dd..4490d083245 100644
--- a/openmp/runtime/src/kmp_runtime.c
+++ b/openmp/runtime/src/kmp_runtime.c
@@ -5280,7 +5280,6 @@ __kmp_free_team( kmp_root_t *root, kmp_team_t *team USE_NESTED_HOT_ARG(kmp_info
team->t.t_threads[f]->th.th_task_team = NULL;
}
KA_TRACE( 20, ( "__kmp_free_team: T#%d deactivating task_team %p on team %d\n", __kmp_get_gtid(), task_team, team->t.t_id ) );
- KMP_DEBUG_ASSERT( team->t.t_nproc > 1 );
__kmp_free_task_team( master, task_team );
team->t.t_task_team[tt_idx] = NULL;
}
OpenPOWER on IntegriCloud