Issue |
126261
|
Summary |
[flang][OpenMP] Regression with character allocatables and FIRSTPRIVATE
|
Labels |
regression,
flang:openmp
|
Assignees |
|
Reporter |
eugeneepshteyn
|
The following sample started regressing recently:
```
implicit none
character(10), allocatable :: src
integer :: i
src = ""
!$OMP PARALLEL DO FIRSTPRIVATE(src)
Do i=1,1
End Do
!$OMP END PARALLEL DO
```
Failure:
```
$ flang -c -fopenmp test.f90
flang-21: warning: OpenMP support in flang is still experimental [-Wexperimental-option]
error: loc(".../test.f90":2:33): 'fir.embox' op CHARACTER already has static LEN
error: verification of lowering to FIR failed
$ flang --version
flang version 21.0.0git (https://github.com/llvm/llvm-project c32cd5746b1335ed172d1bf58fb6498b479bd8e0)
Target: x86_64-unknown-linux-gnu
Thread model: posix
...
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs