[Flang][OpenMP] Use the ultimate symbol in a call to the IsPointer function
The IsPointer check currently fails for host-associated symbols in OpenMP regions. This causes some failures in semantic checks for pointer association in an OpenMP region. Fix is to use the ultimate symbol in the call to the IsPointer function in CheckPointerAssignment function in lib/Semantics/pointer-assignment.cpp. Reviewed By: klausler, peixin Differential Revision: https://reviews.llvm.org/D112876
Loading
Please register or sign in to comment