[flang-commits] [flang] [Flang] Fix handling of unlimited polymorphic arrays (PR #159624)

Carlos Seo via flang-commits flang-commits at lists.llvm.org
Fri Sep 19 10:16:46 PDT 2025


================
@@ -0,0 +1,25 @@
+! RUN: flang -fc1 -emit-hlfir %s -o - | FileCheck %s
----------------
ceseo wrote:

I think it is because if the polymorphic assignment was going through the scalar assignment path as before, we would see a `fir.store` instead of a `hlfir.region_assign`.

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


More information about the flang-commits mailing list