[all-commits] [llvm/llvm-project] 874fc5: [flang] Catch inconsistent function/subroutine usa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Oct 29 16:41:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 874fc5339e7c59fa624ef7bf492ac53bb4f8962b
      https://github.com/llvm/llvm-project/commit/874fc5339e7c59fa624ef7bf492ac53bb4f8962b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-29 (Sat, 29 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve09.f90

  Log Message:
  -----------
  [flang] Catch inconsistent function/subroutine usage of procedure pointer components

When a derived type has a procedure pointer component with no interface,
we can't do a lot of checking on its call sites, but we can at least require
that the same procedure pointer component be used consistently as either
a function or as a subroutine, but not both.

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




More information about the All-commits mailing list