[all-commits] [llvm/llvm-project] 078b1c: [flang] Don't complain about implicitly-typed dumm...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 8 11:01:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 078b1c42f6c8bdad8aea2b99ac4b4ac79ca5665c
      https://github.com/llvm/llvm-project/commit/078b1c42f6c8bdad8aea2b99ac4b4ac79ca5665c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M flang/lib/Semantics/resolve-names-utils.cpp
    A flang/test/Semantics/modproc02.f90

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

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.

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




More information about the All-commits mailing list