https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 61384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61384&action=edit gcc16-pr120191.patch This seems to work even when the kind argument is not named, just doing for minmaxloc what is done for findloc. Quickly tested with make -j32 -k check-gfortran, will test it thoroughly next.