Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
klausler committed Jun 22, 2023
1 parent bfa467b commit d4da493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flang/lib/Semantics/resolve-names.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<UseDetails>()) {
Expand Down

0 comments on commit d4da493

Please sign in to comment.