[Openmp-commits] [openmp] [flang] [mlir] [Flang][OpenMP] Remove use of non reference values from MapInfoOp (PR #72444)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 15 15:06:31 PST 2023


================
@@ -19,8 +19,8 @@ program main
      sp(5) = 10
   !$omp end target
 
-   ! print *, sp(1)
-   ! print *, sp(5)
+   print *, sp(1)
+   print *, sp(5)
----------------
agozillon wrote:

Woops, thank you for catching this! 

Would it be possible to add a variation of one of the other tests to use a do loop? Or just convert one of the existing ones to use a do loop, instead of the awkward while loop that was in place to work around lack of implicit capture previously! 

https://github.com/llvm/llvm-project/pull/72444


More information about the Openmp-commits mailing list