This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't complain about implicitly-typed dummy arguments inherited into an IMPLICIT NONE submodule
ClosedPublic

Authored by klausler on Aug 7 2023, 2:52 PM.

Details

Summary

When a module procedure's interface is defined in an ancestor (sub)module
with an implicitly typed dummy argument, don't emit a bogus error in
the separate module procedure later if its submodule has IMPLICIT NONE.

Fixes llvm-test-suite/Fortran/gfortran/regression/submodule_26.f90.

Diff Detail

Event Timeline

klausler created this revision.Aug 7 2023, 2:52 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 7 2023, 2:52 PM
PeteSteinfeld accepted this revision.Aug 7 2023, 5:57 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 7 2023, 5:57 PM