[all-commits] [llvm/llvm-project] 15e997: [flang][runtime] Fix MINVAL([CHARACTER(2)::])

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 25 14:31:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15e997ac014b8ffe2e848b650110b55c4807900c
      https://github.com/llvm/llvm-project/commit/15e997ac014b8ffe2e848b650110b55c4807900c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M flang/runtime/extrema.cpp

  Log Message:
  -----------
  [flang][runtime] Fix MINVAL([CHARACTER(2)::])

The result of MINVAL over an empty default character array should
(per the standard) have a 127 in every character position, not just
the first.

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




More information about the All-commits mailing list