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

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 06:03:23 PST 2024


================
@@ -36,9 +45,24 @@ 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);
+ tmainc();
----------------
shiltian wrote:

here as well, at least not making it worse

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


More information about the cfe-commits mailing list