[Bug fortran/97272] Wrong answer from MAXLOC with character arg

longb at cray dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 4 21:53:46 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97272

--- Comment #5 from Bill Long <longb at cray dot com> ---
The original intent of adding the KIND argument was because some
implementations used a 32-bit integer for the result, and it is possible for
the answer to be larger than 2**31-1.  Just checking to be sure that the
underlying library code returns a 64-bit integer that can later be converted
based on the KIND value.


More information about the Gcc-bugs mailing list