[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 9 12:59:58 PST 2025


================
@@ -22,7 +22,7 @@ program test
   d2%member0 = 123
   !$acc serial copyin(d2%member0) copyout(d4%member0)
   do i0 = 1, 1
-    d4%member0 = d2%member0
+    d4 = d2
----------------
jeanPerier wrote:

I changed the test instead of the output because with this patch, there is no implicit copy  of the base object anymore (only the field are copied).

Since this test is testing the order of insertion of implicit copies, I changed it so that there would still be a need to do the implicit copies of the whole objects. 

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


More information about the llvm-branch-commits mailing list