From d4da4934c39d275d4a496a224b483515e30f8989 Mon Sep 17 00:00:00 2001 From: Peter Klausler Date: Tue, 20 Jun 2023 09:36:12 -0700 Subject: [PATCH] wip --- flang/lib/Semantics/resolve-names.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flang/lib/Semantics/resolve-names.cpp b/flang/lib/Semantics/resolve-names.cpp index 8e92e37..4afc9c6 100644 --- a/flang/lib/Semantics/resolve-names.cpp +++ b/flang/lib/Semantics/resolve-names.cpp @@ -5713,6 +5713,8 @@ bool DeclarationVisitor::Pre(const parser::BasedPointerStmt &x) { Say(pointerName.source, "Cray pointer '%s' must have type %s"_err_en_US, pointerName.source, pointerType.AsFortran()); } + // pmk: change parse tree to use DimensionStmt::Declaration in BasedPointerStmt, then change this + // routine to a Post() if (ResolveName(pointeeName)) { Symbol &pointee{*pointeeName.symbol}; if (pointee.has()) { -- 2.7.4