[all-commits] [llvm/llvm-project] 2f999c: [flang] Respect function vs subroutine distinction...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Dec 3 07:53:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f999cce195946b66f968d50e38b06e6a1f60b8e
      https://github.com/llvm/llvm-project/commit/2f999cce195946b66f968d50e38b06e6a1f60b8e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-03 (Sat, 03 Dec 2022)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Semantics/expression.h
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/generic03.f90
    M flang/test/Semantics/resolve62.f90
    M flang/test/Semantics/resolve68.f90
    M flang/test/Semantics/resolve77.f90

  Log Message:
  -----------
  [flang] Respect function vs subroutine distinction in generic matching

When checking the specific procedures of a generic interface for a
match against a given set of actual arguments, be sure to not match
a function against a subroutine call or vice versa.  (We generally
catch and warn about attempts to declare mixed interfaces, but they
are usually conforming and can be inadvertently created when generics
are merged due to USE and host association.)

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




More information about the All-commits mailing list