[flang-commits] [PATCH] D100897: [flang] Make 'team_number()' an intrinsic function
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Sep 9 14:46:58 PDT 2021
klausler added a comment.
In D100897#2992779 <https://reviews.llvm.org/D100897#2992779>, @craig.rasmussen wrote:
> In a response @klausler asked:
>
> Have you given up trying to construct a valid TEAM_TYPE derived type to characterize an absent TEAM= actual argument?
>
> Yes. When I looked into doing this it didn't seem possible without major changes to the function interfaces in lib/Evaluate/intrinsics.cpp. As far as I can tell, it doesn't seem possible to create a DerivedTypeSpec from the context, as it is a FoldingContext not a semantics::SemanticsContext.
I'll have to do it, then.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100897/new/
https://reviews.llvm.org/D100897
More information about the flang-commits
mailing list