https://bugs.llvm.org/show_bug.cgi?id=47122

            Bug ID: 47122
           Summary: target nowait segmentation fault
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedb...@nondot.org
          Reporter: xw111lu...@gmail.com
                CC: llvm-bugs@lists.llvm.org

11.0.0 RC1 runs fine but current master doesn't.

int main()
{
 int a = 0;
 #pragma omp target map(tofrom: a) depend(out: a) nowait
 {
   int sum = 0;
   for (int i = 0; i < 100000; i++)
     sum++;
   a = 1;
 }
 #pragma omp taskwait
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to