Issue |
153043
|
Summary |
[OMPIRBuilder][clang] Verification failure with nowait on target construct and -g.
|
Labels |
clang
|
Assignees |
abidh
|
Reporter |
abidh
|
Consider the following program.
```
int test() {
int c;
#pragma omp target data map(tofrom: c)
{
#pragma omp target nowait
{
c = 2;
}
}
return c;
}
```
When compiled with `clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=standalone -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa`, it fails with the following errors.
`!dbg attachment points at wrong subprogram for function`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs