[llvm-bugs] [Bug 47122] New: target nowait segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 11 14:05:57 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: xw111luoye at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200811/550eac16/attachment.html>


More information about the llvm-bugs mailing list