[all-commits] [llvm/llvm-project] 3b7b7f: [flang] Accept a separate module procedure interfa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 23 11:31:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b7b7fa7138c58e878567f6fed8f954f0e4e00a0
      https://github.com/llvm/llvm-project/commit/3b7b7fa7138c58e878567f6fed8f954f0e4e00a0
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    A flang/test/Semantics/generic02.f90
    M flang/test/Semantics/resolve15.f90

  Log Message:
  -----------
  [flang] Accept a separate module procedure interface as a specific procedure

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.

Differential Revision: https://reviews.llvm.org/D134402




More information about the All-commits mailing list