[all-commits] [llvm/llvm-project] 78a166: [flang] Allow NULL() actual argument for optional ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 9 17:45:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78a166b47beb919b50594f13c1d0c23bda3e4fd7
      https://github.com/llvm/llvm-project/commit/78a166b47beb919b50594f13c1d0c23bda3e4fd7
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call02.f90

  Log Message:
  -----------
  [flang] Allow NULL() actual argument for optional dummy procedure

A disassociated procedure pointer is allowed to be passed as an absent
actual argument that corresponds to an optional dummy procedure,
but not NULL(); accept that case as well.

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




More information about the All-commits mailing list