This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Fix lowerbound when there is no subscripts
ClosedPublic

Authored by clementval on May 9 2023, 10:26 AM.

Details

Summary

The lowerbound was not correctly normalized to 0 when the bound
are generated for an array without subscripts.

integer :: a(11:20)
!$acc enter data create(a)

Diff Detail

Event Timeline

clementval created this revision.May 9 2023, 10:26 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 9 2023, 10:26 AM
clementval requested review of this revision.May 9 2023, 10:26 AM
razvanlupusoru accepted this revision.May 9 2023, 10:45 AM

Thank you for fixing this case.

This revision is now accepted and ready to land.May 9 2023, 10:45 AM
This revision was landed with ongoing or failed builds.May 9 2023, 12:22 PM
This revision was automatically updated to reflect the committed changes.
clementval reopened this revision.May 9 2023, 1:12 PM
This revision is now accepted and ready to land.May 9 2023, 1:12 PM
clementval updated this revision to Diff 520802.May 9 2023, 1:13 PM

Fix lit test