diff --git a/openmp/runtime/src/kmp_gsupport.cpp b/openmp/runtime/src/kmp_gsupport.cpp --- a/openmp/runtime/src/kmp_gsupport.cpp +++ b/openmp/runtime/src/kmp_gsupport.cpp @@ -1234,7 +1234,7 @@ // The low-order bit is the "untied" flag if (!(gomp_flags & KMP_GOMP_TASK_UNTIED_FLAG)) { - input_flags->tiedness = 1; + input_flags->tiedness = TASK_TIED; } // The second low-order bit is the "final" flag if (gomp_flags & KMP_GOMP_TASK_FINAL_FLAG) { @@ -1766,7 +1766,7 @@ KMP_ASSERT(arg_align > 0); // The low-order bit is the "untied" flag if (!(gomp_flags & 1)) { - input_flags->tiedness = 1; + input_flags->tiedness = TASK_TIED; } // The second low-order bit is the "final" flag if (gomp_flags & 2) {