[flang-commits] [flang] Use the RHS of a pointer assignment inside of FORALL if it is already of `boxType` instead of `convertToBox` again. (PR #165771)

Daniel Chen via flang-commits flang-commits at lists.llvm.org
Fri Oct 31 21:13:08 PDT 2025


================
@@ -128,3 +128,47 @@ subroutine forallPolymorphic3()
 ! CHECK: }
 
 end subroutine forallPolymorphic3
+
+
+!! Test the LHS of a pointer assignment gets the isAllocatable flag from the
----------------
DanielCChen wrote:

Thanks for the quick review for the updated change!

You are right. The original failure is indeed missing the `isPointer` flag.
I will fix it.

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


More information about the flang-commits mailing list