[flang][openacc] Fixed atomic capture with array/comp refs on the RHS. (#71013)
checkForSingleVariableOnRHS() failed for assignments like `v = x(i)`, so the lowering produced incorrect code for atomic capture regions. I believe any designator on the RHS should indicate that this is a capture statement.
Loading
Please sign in to comment