Page MenuHomePhabricator

[flang] Disallow INTENT attribute on procedure dummy arguments

Authored by PeteSteinfeld on Jan 15 2021, 7:06 AM.



C843 states that "An entity with the INTENT attribute shall be a dummy
data object or a dummy procedure pointer." This change enforces that
and fixes some tests that erroneously violated this rule.

Diff Detail

Event Timeline

PeteSteinfeld requested review of this revision.Jan 15 2021, 7:06 AM
PeteSteinfeld created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2021, 7:06 AM
PeteSteinfeld added a project: Restricted Project.Jan 15 2021, 7:21 AM
tskeith accepted this revision.Jan 15 2021, 7:52 AM
tskeith added inline comments.

c843 -> C843 would be consistent with other references to constraints.

This revision is now accepted and ready to land.Jan 15 2021, 7:52 AM
PeteSteinfeld added inline comments.Jan 15 2021, 7:56 AM

Oops. I'll fix it.