This is an archive of the discontinued LLVM Phabricator instance.

[flang] Require explicit interface for some dummy procedures
ClosedPublic

Authored by klausler on Oct 28 2022, 3:19 PM.

Details

Summary

Some of the circumstances that require that a procedure have an
explicit interface at a point of call due to a characteristic of
a dummy argument apply to dummy procedures, too.

Diff Detail

Event Timeline

klausler created this revision.Oct 28 2022, 3:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2022, 3:19 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 28 2022, 3:19 PM
tschuett added inline comments.
flang/lib/Evaluate/characteristics.cpp
408

return !(attrs & Attrs{Attr::Optional, Attr::Pointer}).any(); ?

klausler added inline comments.Oct 28 2022, 3:26 PM
flang/lib/Evaluate/characteristics.cpp
408

Does that seem more clear to you?

vdonaldson accepted this revision.Oct 28 2022, 5:00 PM
This revision is now accepted and ready to land.Oct 28 2022, 5:00 PM
tschuett added inline comments.Oct 29 2022, 12:05 AM
flang/lib/Evaluate/characteristics.cpp
408

On second thought, no. The comment has value.