This is an archive of the discontinued LLVM Phabricator instance.

[flang] Catch impure defined assignments in DO CONCURRENT
ClosedPublic

Authored by klausler on Mar 21 2023, 3:16 PM.

Details

Summary

The semantic checking of DO CONCURRENT bodies looks only at the
parse tree, not the typed expressions produced from it, so it
misses calls to defined assignment subroutines that arise from
assignment statements that resolve via generic interfaces into
subroutine calls. Extend the checking to peek into the typed
assignment operations left on the parse tree by semantics.

Diff Detail

Event Timeline

klausler created this revision.Mar 21 2023, 3:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 3:16 PM
klausler requested review of this revision.Mar 21 2023, 3:16 PM
vdonaldson accepted this revision.Mar 21 2023, 7:58 PM
This revision is now accepted and ready to land.Mar 21 2023, 7:58 PM