Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Handle type generation for unlimited polymorphic function result
An unlimited polymorphic entity is considered to have a derived category in its dynamic type but no type descriptor. Avoid a nullptr dereference when an unlimited polymorphic type needs to be generated. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D139923
- Loading branch information
1 parent
864bb84
commit 7602e09
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters