[all-commits] [llvm/llvm-project] 36ad34: [flang] Don't accept NULL() actual for assumed-ran...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Nov 13 15:14:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36ad3431bbd8ec7dce718b02b35adaf8d9bb8808
      https://github.com/llvm/llvm-project/commit/36ad3431bbd8ec7dce718b02b35adaf8d9bb8808
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/check-call.cpp
    M flang/test/Semantics/call39.f90

  Log Message:
  -----------
  [flang] Don't accept NULL() actual for assumed-rank dummy (#71574)

A NULL() pointer without MOLD= cannot be allowed to be associated with
an assumed-rank dummy argument, as its rank is not well-defined and
neither the RANK() intrinsic function or the SELECT RANK construct will
work in the callee.




More information about the All-commits mailing list