[llvm-bugs] [Bug 45505] New: Assertion when privatizing a struct
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 12 08:50:47 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45505
Bug ID: 45505
Summary: Assertion when privatizing a struct
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: jdoerfert at anl.gov
CC: llvm-bugs at lists.llvm.org
This causes an assertion in the OpenMP code generation:
```
#include <complex>
int main()
{
std::complex<float> a(0, 1), b(0.5, 0.3);
#pragma omp target firstprivate(a,b)
{
}
return 0;
}
```
Run with: clang++ -fopenmp /tmp/bug.cpp -emit-llvm -S -c -O0
-fopenmp-targets=nvptx
--
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/20200412/605ec84b/attachment.html>
More information about the llvm-bugs
mailing list