[all-commits] [llvm/llvm-project] 8ceba5: [flang] Ensure that NULL(without MOLD=) not passed...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 21 14:13:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ceba5980c45a7819186bfd699ba3723b9f8b6a0
      https://github.com/llvm/llvm-project/commit/8ceba5980c45a7819186bfd699ba3723b9f8b6a0
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

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

  Log Message:
  -----------
  [flang] Ensure that NULL(without MOLD=) not passed to dummy argument with assumed type parameters

A dummy argument with an assumed (*) character length or derived type parameter
value specification needs to be associated with an actual argument that can
supply a value for it, so make sure that a NULL without a MOLD= is not being
passed.

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




More information about the All-commits mailing list