[clang] Fix for codegen Crash in Clang when using locator omp_all_memory with depobj construct (PR #114221)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 02:33:11 PST 2024


================
@@ -36,6 +36,8 @@ int main(int argc, char **argv) {
 #pragma omp depobj(b) update(mutexinoutset)
 #pragma omp depobj(a) depend(iterator(char *p = argv[argc]:argv[0]:-1), out: p[0])
   (void)tmain(a), tmain(b);
+   omp_depend_t obj;
+#pragma omp depobj(obj) depend(inout: omp_all_memory)
----------------
chandraghale wrote:

updated !!

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


More information about the cfe-commits mailing list