[all-commits] [llvm/llvm-project] b910cf: [flang] use 1-based dim in transformational runtim...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu May 5 01:34:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b910cf986ab953874c55cf2eb6981234abad9b76
      https://github.com/llvm/llvm-project/commit/b910cf986ab953874c55cf2eb6981234abad9b76
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M flang/runtime/tools.cpp
    M flang/unittests/Runtime/RuntimeCrashTest.cpp

  Log Message:
  -----------
  [flang] use 1-based dim in transformational runtime error msg

Flang transformational runtime was previously reporting conformity
issues in a zero based fashion to describe which dimension is non
conformant. This may confuse Fortran user, especially when the message
is about a dimension other than the first one.

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




More information about the All-commits mailing list