This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow redudant attributes on use-/host- associated names
ClosedPublic

Authored by klausler on May 17 2023, 2:36 PM.

Details

Summary

Constraint C815 in F'2018 allows a name to acquire an attribute at
most once per scope. For some attributes, the attribute may have
already been inherited, and the compiler was emitting a bogus error
message for a redundant application of the same attribute in another
scope.

Diff Detail

Event Timeline

klausler created this revision.May 17 2023, 2:36 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.May 17 2023, 2:36 PM
PeteSteinfeld accepted this revision.May 17 2023, 5:29 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.May 17 2023, 5:29 PM
This revision was landed with ongoing or failed builds.May 18 2023, 12:07 PM
This revision was automatically updated to reflect the committed changes.