[flang-commits] [flang] [Flang][OpenMP] Handle more character allocatable cases in privatization (PR #90449)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Apr 29 06:26:30 PDT 2024


================
@@ -683,25 +683,27 @@ class FirConverter : public Fortran::lower::AbstractConverter {
           auto if_builder = builder->genIfThenElse(loc, isAllocated);
           if_builder.genThen([&]() {
             std::string name = mangleName(sym) + ".alloc";
-            if (auto seqTy = mlir::dyn_cast<fir::SequenceType>(symType)) {
----------------
tblah wrote:

Do I understand correctly that we don't need this case because the sequence must be boxed here and so is an array box value?

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


More information about the flang-commits mailing list