[flang-commits] [flang] [flang] Fixed a crash with undeclared variable in implicit-do loop (PR #149513)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Fri Jul 18 08:22:17 PDT 2025
================
@@ -8700,7 +8700,7 @@ const parser::Name *DeclarationVisitor::ResolveName(const parser::Name &name) {
return &name;
}
if (isImplicitNoneType() && !deferImplicitTyping_) {
- Say(name, "No explicit type declared for '%s'"_err_en_US);
+ Say(name, "No explicit type declared for '%s'"_err_en_US, name.source);
----------------
eugeneepshteyn wrote:
I undid this change.
https://github.com/llvm/llvm-project/pull/149513
More information about the flang-commits
mailing list