[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.
Loading
Please sign in to comment