You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Flang][OpenMP] : Compilation error involving Fortran pointers and data-sharing attributes
Issue description:
When DEFAULT DSA is NONE, all data refs must be listed in one of the data sharing clause.
But when a Cray pointer is listed in one of the data sharing clause, Cray pointee can be used in parallel region.
This is valid as per standard.
"Cray pointees have the same data-sharing attribute as the storage with which their Cray pointers are associated."
Solution:
Added a check to discard checking Cray pointee when DEFAULT DSA is NONE.
This patch has code changes and a test case.
0 commit comments