Closed
Description
module m1
integer::n=2
type w
integer x(2,2,2),v,e
end type
type(w)::g
contains
subroutine s1
!$omp atomic capture
g%x(n,n,n)=g%x(n,n,n)+f(g%e)
g%v=g%x(n,n,n)
!$omp end atomic
end subroutine
end module
This is from the deleted Fujitsu test 0455_0029.
Currently flang doesn't like that g%e
is used on the rhs of g%x(n,n,n)=g%x(n,n,n)+f(g%e)
. But as a different component of the derived type and non-overlapping with g%x
I believe this is valid.