[all-commits] [llvm/llvm-project] 148116: [flang] Accept a null pointer as a NULL(MOLD=...) ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 18 15:29:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 148116ab83a69596414cb372070978006e266794
      https://github.com/llvm/llvm-project/commit/148116ab83a69596414cb372070978006e266794
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp

  Log Message:
  -----------
  [flang] Accept a null pointer as a NULL(MOLD=...) actual argument

The MOLD= argument to NULL() is allowed to be a null pointer itself --
for example, NULL(MOLD=NULL(MOLD=...)) should not raise spurious semantic
errors.

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




More information about the All-commits mailing list