Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Fix potential segfault in PointerAssociateRemapping
The bounds descriptor passed to the function is an array of [2, newRank] size. Update the code so the rank is retrieved from the second dimension and not the rank of the descriptor directly as it will be 2 in any case. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D144949
- Loading branch information