This is an archive of the discontinued LLVM Phabricator instance.

[Flang][OpenMP] Issue error for assumed-size array in Map clause
ClosedPublic

Authored by kiranchandramohan on Mar 29 2023, 4:25 AM.

Details

Summary

Error only applies if it is a whole array. Page 157 in OpenMP 5.2
standard.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
kiranchandramohan requested review of this revision.Mar 29 2023, 4:25 AM
flang/test/Semantics/OpenMP/map-clause.f90
4

Nit: Change this to refer to the correct section

16

A different error should be issued here. We can do that in a separate commit.

Fix section number and comment in test.

TIFitis accepted this revision.Mar 29 2023, 9:02 AM

LGTM :)

This revision is now accepted and ready to land.Mar 29 2023, 9:02 AM
This revision was landed with ongoing or failed builds.Mar 29 2023, 9:21 AM
This revision was automatically updated to reflect the committed changes.