[flang-commits] [flang] [flang] Expand parent component in procedure pointer component refere… (PR #78593)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jan 18 08:21:10 PST 2024
================
@@ -1296,9 +1296,11 @@ static NamedEntity IgnoreAnySubscripts(Designator<SomeDerived> &&designator) {
}
// Components of parent derived types are explicitly represented as such.
-std::optional<Component> ExpressionAnalyzer::CreateComponent(
- DataRef &&base, const Symbol &component, const semantics::Scope &scope) {
- if (IsAllocatableOrPointer(component) && base.Rank() > 0) { // C919b
+std::optional<Component> ExpressionAnalyzer::CreateComponent(DataRef &&base,
+ const Symbol &component, const semantics::Scope &scope,
+ bool C919AlreadyEnforced) {
+ if (!C919AlreadyEnforced && IsAllocatableOrPointer(component) &&
+ base.Rank() > 0) { // C919b
----------------
klausler wrote:
Is it C919A or C919b?
https://github.com/llvm/llvm-project/pull/78593
More information about the flang-commits
mailing list