diff --git a/flang/lib/Lower/ConvertExpr.cpp b/flang/lib/Lower/ConvertExpr.cpp --- a/flang/lib/Lower/ConvertExpr.cpp +++ b/flang/lib/Lower/ConvertExpr.cpp @@ -5833,7 +5833,7 @@ CC genarr(const Fortran::evaluate::StaticDataObject::Pointer &, ComponentPath &components) { - fir::emitFatalError(getLoc(), "substring of static array object"); + TODO(getLoc(), "substring of static object inside FORALL"); } /// Substrings (see 9.4.1)