[all-commits] [llvm/llvm-project] 338f21: [flang] Enforce specification function rules on ca...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 17 11:17:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 338f21a4bd6b43d9a2eb00929d24cefeb0ccf581
      https://github.com/llvm/llvm-project/commit/338f21a4bd6b43d9a2eb00929d24cefeb0ccf581
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M flang/lib/Evaluate/check-expression.cpp
    M flang/test/Semantics/expr-errors02.f90

  Log Message:
  -----------
  [flang] Enforce specification function rules on callee, not call

A function can't be a specification function if it has a dummy procedure
argument, even if it's optional and unused.  So don't check the reference
for actual procedure arguments, but rather the characteristics of the
function.

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




More information about the All-commits mailing list