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

via flang-commits flang-commits at lists.llvm.org
Tue Jan 23 23:55:58 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));
----------------
jeanPerier wrote:

Removed and updated outdated comments in this file, thanks.

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


More information about the flang-commits mailing list