This is an archive of the discontinued LLVM Phabricator instance.

[flang][openmp] Semantic check for OpenMPExecutableAllocate
ClosedPublic

Authored by elmcdonough on May 12 2023, 2:08 PM.

Details

Summary

Executable allocate directives require that list items show up in the corresponding allocate statement. This patch is dependent on revision D150428 and applies the semantic check introduced there to allocate directives associated with allocate statements.

Diff Detail

Event Timeline

elmcdonough created this revision.May 12 2023, 2:08 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
elmcdonough requested review of this revision.May 12 2023, 2:09 PM

Could you check the CI failure?

flang/lib/Semantics/resolve-directives.cpp
1653–1659

Need a test for this.

elmcdonough marked an inline comment as done.

Add test for proceeding allocate directives.

This revision is now accepted and ready to land.Sep 7 2023, 9:10 AM