On 10/4/24 12:54 AM, Thomas Koenig wrote:
Hello world,

please find attached the patch for implementing MAXLOC and MINLOC
for unsigned.

The patch is rather lengthy, but mostly due to combinatorial explosion
with the different return values.

Next time we update the ABI, we should treat MAXLOC and MINLOC like we already do for FINDLOC - have one version in the library, and convert
in the front end when the user requests a different integer kind.

This finishes the support of all reasonable intrinsics for UNSIGNED
(or so I think - if anybody spots something reasonable, just let me
know).

The next step would then be ISO_C_BINDING; clean interfaces to C
is one of the main reason why people want UNSIGNED in Fortran.

Regression-tested. OK for trunk?


I see all the generated files in the patch, but I do not see the M4 macro or other mechanism which generated these. Was this in a previous submission that I missed?

Jerry

Reply via email to