diff options
Diffstat (limited to 'openmp/runtime/src/kmp_gsupport.c')
-rw-r--r-- | openmp/runtime/src/kmp_gsupport.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_gsupport.c b/openmp/runtime/src/kmp_gsupport.c index 21bc0fbbfb6..cff0e81873e 100644 --- a/openmp/runtime/src/kmp_gsupport.c +++ b/openmp/runtime/src/kmp_gsupport.c @@ -535,8 +535,11 @@ xexpand(KMP_API_NAME_GOMP_PARALLEL_END)(void) } #endif - __kmp_join_call(&loc, gtid, fork_context_gnu); - + __kmp_join_call(&loc, gtid +#if OMPT_SUPPORT + , fork_context_gnu +#endif + ); #if OMPT_SUPPORT if (ompt_status & ompt_status_track) { ompt_frame->reenter_runtime_frame = NULL; |