This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Fix false positive error in common block resolution
ClosedPublic

Authored by clementval on Jul 7 2023, 1:38 PM.

Details

Summary

The following error was triggered in the added test case.
This is a false positive.

COMMON block must be declared in the same scoping unit in which the OpenACC directive or clause appears

Diff Detail

Event Timeline

clementval created this revision.Jul 7 2023, 1:38 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: sunshaoce. · View Herald Transcript
clementval requested review of this revision.Jul 7 2023, 1:38 PM
This revision is now accepted and ready to land.Jul 10 2023, 3:42 AM