[all-commits] [llvm/llvm-project] 12ba72: [flang] Accept SIZE(assumed-rank, DIM=n)

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 17 09:00:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12ba72789747b3e177349f04deb30afb410292c2
      https://github.com/llvm/llvm-project/commit/12ba72789747b3e177349f04deb30afb410292c2
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

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

  Log Message:
  -----------
  [flang] Accept SIZE(assumed-rank, DIM=n)

Silence a bogus error message about an out-of-range DIM= argument
when the argument is assumed-rank.  (More generally, don't pretend
to be able to discern a shape of known rank for an assumed-rank
object.)

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




More information about the All-commits mailing list