[flang-commits] [flang] [flang] Set assumed-size last extent to -1 (PR #79156)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Jan 23 09:56:24 PST 2024


================
@@ -1485,7 +1501,8 @@ lowerExplicitExtents(Fortran::lower::AbstractConverter &converter,
             computeExtent(builder, loc, lowerBounds[spec.index()], ub));
     } else if (spec.value()->ubound().isStar()) {
       // Assumed extent is undefined. Must be provided by user's code.
-      result.emplace_back(builder.create<fir::UndefOp>(loc, idxTy));
+      // result.emplace_back(builder.create<fir::UndefOp>(loc, idxTy));
----------------
vzakhari wrote:

Please remove.

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


More information about the flang-commits mailing list