| Issue |
161932
|
| Summary |
[Flang][OpenMP] verification of lowering to FIR failed on omp atomic write with pointer assignment to derived type
|
| Labels |
flang:openmp
|
| Assignees |
|
| Reporter |
k-arrows
|
Reproducer:
https://godbolt.org/z/odGoe5Evq
```f90
type t
end type
type(t), pointer :: a1, a2
!$omp atomic write
a1 = a2
end
```
The expected behavior is that the code either compiles successfully or produces an appropriate and informative diagnostic.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs