This is an archive of the discontinued LLVM Phabricator instance.

[Flang][OpenMP] Do not consider procedure names for data-sharing
ClosedPublic

Authored by kiranchandramohan on Feb 6 2023, 4:25 AM.

Details

Summary

An incorrect error was issued for procedure names occuring in OpenMP
regions with default clause set to NONE. Fix is to ignore all cases
where names are various kinds of procedures.

Fixes issue https://github.com/flang-compiler/f18-llvm-project/issues/1350

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
kiranchandramohan requested review of this revision.Feb 6 2023, 4:25 AM
peixin accepted this revision.Feb 9 2023, 5:58 AM

LGTM

What about the procedure pointer? If this patch does not apply to it, it is OK to handle it in next support.

This revision is now accepted and ready to land.Feb 9 2023, 5:58 AM

Add procedure pointer test.

LGTM

What about the procedure pointer? If this patch does not apply to it, it is OK to handle it in next support.

Yes, this handles the procedure pointer case as well. I have added a test.