[all-commits] [llvm/llvm-project] 3d6c68: [flang][runtime] Fix total MAXLOC/MINLOC over CHAR...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jan 15 10:17:05 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d6c6855c1f0b8570f280adb9a3dbb1f950b9115
https://github.com/llvm/llvm-project/commit/3d6c6855c1f0b8570f280adb9a3dbb1f950b9115
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M flang/runtime/extrema.cpp
Log Message:
-----------
[flang][runtime] Fix total MAXLOC/MINLOC over CHARACTER data (#76880)
The implementation of MAXLOC/MINLOC without DIM=1 is wrong for CHARACTER
data -- change it to use the character comparator rather than the
numeric comparator.
Fixes llvm-test-suite/Fortran/gfortran/regression/maxloc_string_1.f90.
More information about the All-commits
mailing list