[flang-commits] [flang] [flang] Fixed assumed-type temporary allocation for -frepack-arrays. (PR #147618)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Jul 11 13:14:51 PDT 2025


vzakhari wrote:

> Maybe we can just relax the type of `source_box` to be `BoxOrClassType`. In the end there is no real difference between the two and we can read the information from a fir.box or a fir.class the same way when emboxing.

I was not sure why the limitation was there, so I did not try to relax it.  Let me test this change..

Thanks for taking a look, Valentin!

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


More information about the flang-commits mailing list