Skip to content

Commit 99b8711

Browse files
committed
Lowering fix after 9245f35 cherry-pick
1 parent 80eea3f commit 99b8711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/ConvertVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ static bool lowerToBoxValue(const Fortran::semantics::Symbol &sym,
952952
return true;
953953
// Assumed rank and optional fir.box cannot yet be read while lowering the
954954
// specifications.
955-
if (Fortran::semantics::IsAssumedRankArray(sym) ||
955+
if (Fortran::evaluate::IsAssumedRank(sym) ||
956956
Fortran::semantics::IsOptional(sym))
957957
return true;
958958
// Polymorphic entity should be tracked through a fir.box that has the

0 commit comments

Comments
 (0)