[flang-commits] [PATCH] D134402: [flang] Accept a separate module procedure interface as a specific procedure

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 21 17:31:10 PDT 2022


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

The code snippet

  module m
    interface
      module subroutine specific
      end subroutine
    end interface
    interface generic
       module procedure specific
    end interface
  end module

elicits a bogus semantic error about "specific" not being an acceptable
module procedure for the generic interface; fix.


https://reviews.llvm.org/D134402

Files:
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/resolve15.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134402.462052.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220922/0d289bc4/attachment.bin>


More information about the flang-commits mailing list