This is an archive of the discontinued LLVM Phabricator instance.

[flang] More precise CONTIGUOUS checking
ClosedPublic

Authored by klausler on May 22 2023, 10:38 AM.

Details

Summary

A recent fix to avoid bogus errors with the CONTIGUOUS attribute caused
declaration checking to miss errors with applications of CONTIGUOUS to
names that are not variables. Restore those error messages, and
add tests to ensure that the original problem remains fixed while
the recent regressions have been resolved.

Diff Detail

Event Timeline

klausler created this revision.May 22 2023, 10:38 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.May 22 2023, 10:38 AM
PeteSteinfeld accepted this revision.May 22 2023, 10:59 AM

All builds and tests correctly and looks good.

Thanks for the fast action on this!

This revision is now accepted and ready to land.May 22 2023, 10:59 AM
This revision was landed with ongoing or failed builds.May 22 2023, 12:03 PM
This revision was automatically updated to reflect the committed changes.