[Openmp-commits] [openmp] [openmp] Fix warnings when building on Windows with latest MSVC or Clang ToT (PR #77853)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 16 07:13:53 PST 2024


================
@@ -1038,15 +1038,13 @@ static inline void __kmp_null_resume_wrapper(kmp_info_t *thr) {
   case flag_oncore:
     __kmp_resume_oncore(gtid, RCAST(kmp_flag_oncore *, flag));
     break;
-#ifdef KMP_DEBUG
----------------
zmodem wrote:

If these were kept out for performance reasons, maybe we should just put an empty default in an `#else` branch? (I don't know this code though, just speculating..)

https://github.com/llvm/llvm-project/pull/77853


More information about the Openmp-commits mailing list