[flang-commits] [flang] [Flang] Fix ASSIGN statement (PR #149941)
Carlos Seo via flang-commits
flang-commits at lists.llvm.org
Tue Jul 22 07:39:09 PDT 2025
================
@@ -5506,10 +5506,34 @@ class FirConverter : public Fortran::lower::AbstractConverter {
void genFIR(const Fortran::parser::AssignStmt &stmt) {
const Fortran::semantics::Symbol &symbol =
*std::get<Fortran::parser::Name>(stmt.t).symbol;
+
----------------
ceseo wrote:
I couldn't make it work. I think it's because hlfir.assign expects compatible types and it fails in the case where we have a boxed pointer (which is the situation uncovered by the original issue).
https://github.com/llvm/llvm-project/pull/149941
More information about the flang-commits
mailing list