-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Handle typeless (BOZ) arguments in AreCompatibleTypes()
The current code can crash due to the representation's use of a negative INTEGER kind code to signify a typeless (BOZ) argument's "type" as a DynamicType. Detect and handle that case, and change some direct uses of the kind_ data member into kind() accessor references in places that shouldn't be confronted with BOZ. Differential Revision: https://reviews.llvm.org/D159023
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 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