Issue |
125088
|
Summary |
[flang][OpenMP] The compilation fails with nowait on target construct with -g.
|
Labels |
flang
|
Assignees |
abidh
|
Reporter |
abidh
|
Please see the testcase below.
```
program nowait_reproducer
implicit none
real x
!$omp target map(tofrom: x) nowait
x = x + 1
!$omp end target
end program nowait_reproducer
```
This is what I get when I try to compile it with -g.
```
flang -g -O0 test.f90 -fopenmp
flang-20: warning: OpenMP support in flang is still experimental [-Wexperimental-option]
inlinable function call in a function with debug info must have a !dbg location
call void @__omp_offloading_10302_4986ae0__QQmain_l10(ptr %1)
error: failed to create the LLVM module
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs