[all-commits] [llvm/llvm-project] cd117f: [flang][runtime] Fix return value for MINVAL/MAXVA...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 18 14:30:58 PDT 2022


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

  Changed paths:
    M flang/runtime/extrema.cpp

  Log Message:
  -----------
  [flang][runtime] Fix return value for MINVAL/MAXVAL for CHARACTER(kind > 1)

CharacterExtremumAccumulator::GetResult() needs to use byte counts, not wide
character counts, when calling memcpy() & memset().

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




More information about the All-commits mailing list