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] Make IsCoarray() more accurate; fix ASSOCIATE coarray and THIS_IMAGE
A designator without cosubscripts can have subscripts, component
references, substrings, &c. and still have corank. The current
IsCoarray() predicate only seems to work for whole variable/component
references. This was breaking some cases of THIS_IMAGE().
Further, when checking the number of cosubscripts in a coarray reference,
allow for the possibility that the coarray might be an ASSOCIATE
construct entity.
Last, fix the THIS_IMAGE(coarray[,team]) with no DIM=, which returns a vector
of cosubscripts for the local image's instance of a coarray, not a scalar.
0 commit comments