Issue 173343
Summary [Flang][OpenMP] verification of lowering to FIR failed on OpenMP task depend with array section of derived-type component
Labels flang:ir, flang:openmp
Assignees
Reporter k-arrows
    Reproducer:
https://godbolt.org/z/c6b385co9
```f90
integer :: a(2) = (/0,1/)

type t
  integer :: b(2)
end type

type(t) :: s(2)
!$omp task depend(out: s(a)%b(1))
!$omp end  task
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

Reply via email to