This is an archive of the discontinued LLVM Phabricator instance.

[flang] Error message situation should be a warning
ClosedPublic

Authored by klausler on Oct 4 2022, 2:57 PM.

Details

Summary

f18 emits an error message when the same name is used in a scope
for both a procedure and a generic interface, and the procedure is
not a specific procedure of the generic interface. It may be
questionable usage, and not portable, but it does not appear to
be non-conforming by a strict reading of the standard, and many
popular Fortran compilers accept it.

Diff Detail

Event Timeline

klausler created this revision.Oct 4 2022, 2:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 2:57 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 4 2022, 2:57 PM
jeanPerier accepted this revision.Oct 5 2022, 12:19 AM
This revision is now accepted and ready to land.Oct 5 2022, 12:19 AM
This revision was automatically updated to reflect the committed changes.