[flang-commits] [flang] [Flang] Add partial support for lowering procedure pointer assignment. (PR #70461)

via flang-commits flang-commits at lists.llvm.org
Mon Nov 13 02:17:45 PST 2023


================
@@ -552,10 +550,38 @@ static fir::GlobalOp defineGlobal(Fortran::lower::AbstractConverter &converter,
             builder.create<fir::HasValueOp>(loc, castTo);
           });
     }
+  } else if (Fortran::semantics::IsProcedurePointer(sym)) {
----------------
jeanPerier wrote:

Here also I think it would be safer to just leave a TODO for the (!converter.getLoweringOptions().getLowerToHighLevelFIR()) case (it would likely work without HLFIR, but it seems safer to avoid the need of testing this).

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


More information about the flang-commits mailing list