This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Disallow the zero modifier on the copyout clause with the declare directive
ClosedPublic

Authored by clementval on Aug 1 2023, 1:33 PM.

Details

Summary

The OpenACC 3.3 specification does not allow the zero modifier
on the copyout clause used with the declare directive.

This is similar to D156703 for the create clause.

This might be missing piece in the spec but we disallow it until proven otherwise.

Diff Detail

Event Timeline

clementval created this revision.Aug 1 2023, 1:33 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 1 2023, 1:33 PM
clementval requested review of this revision.Aug 1 2023, 1:33 PM
clementval edited the summary of this revision. (Show Details)Aug 1 2023, 1:34 PM
razvanlupusoru accepted this revision.Aug 2 2023, 3:02 PM

Thank you for adding this check. This also seems like a possible unintentional omission from spec since it is supported in data clause.

This revision is now accepted and ready to land.Aug 2 2023, 3:02 PM