summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_gsupport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_gsupport.cpp b/openmp/runtime/src/kmp_gsupport.cpp
index 2eca4975bb2..be9d0a21b7f 100644
--- a/openmp/runtime/src/kmp_gsupport.cpp
+++ b/openmp/runtime/src/kmp_gsupport.cpp
@@ -847,8 +847,8 @@ void xexpand(KMP_API_NAME_GOMP_TASK)(void (*func)(void *), void *data,
KA_TRACE(20, ("GOMP_task: T#%d\n", gtid));
- // The low-order bit is the "tied" flag
- if (gomp_flags & 1) {
+ // The low-order bit is the "untied" flag
+ if (!(gomp_flags & 1)) {
input_flags->tiedness = 1;
}
// The second low-order bit is the "final" flag
OpenPOWER on IntegriCloud