[all-commits] [llvm/llvm-project] b76e08: [flang] Accept NULL() actual for optional allocata...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 18 11:54:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b76e08db9c14741850a366da7bbe3c80ad50e456
      https://github.com/llvm/llvm-project/commit/b76e08db9c14741850a366da7bbe3c80ad50e456
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

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

  Log Message:
  -----------
  [flang] Accept NULL() actual for optional allocatable dummy argument (#66251)

A NULL() pointer is an acceptable actual argument for association with
an (absent) optional allocatable dummy argument. Semantics was
unconditionally emitting an error that the actual argument is not
allocatable.




More information about the All-commits mailing list