diff --git a/openmp/runtime/src/kmp_sched.cpp b/openmp/runtime/src/kmp_sched.cpp --- a/openmp/runtime/src/kmp_sched.cpp +++ b/openmp/runtime/src/kmp_sched.cpp @@ -83,6 +83,9 @@ KMP_PUSH_PARTITIONED_TIMER(OMP_loop_static); KMP_PUSH_PARTITIONED_TIMER(OMP_loop_static_scheduling); + // Clear monotonic/nonmonotonic bits (ignore it) + schedtype = SCHEDULE_WITHOUT_MODIFIERS(schedtype); + typedef typename traits_t::unsigned_t UT; typedef typename traits_t::signed_t ST; /* this all has to be changed back to TID and such.. */