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: unassignedclangb...@nondot.org
Reporter: jdoerf...@anl.gov
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs