[all-commits] [llvm/llvm-project] 948d0b: [flang] Correct actual/dummy procedure compatibili...

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


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

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

  Log Message:
  -----------
  [flang] Correct actual/dummy procedure compatibility for ALLOCATABLE/POINTER functions

Functions returning ALLOCATABLE or POINTER arrays have descriptor inquiries in
their results' shape expressions that won't compare equal.  These functions
need only be checked for compatible ranks (& of course other characteristics).

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




More information about the All-commits mailing list