This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: PR fortran/19269 (partial fix): Lengths of reshaped arrays
Paul Brook <paul@codesourcery.com> writes:
>> (b) Adding those special character functions to libgfortran.
>> Because the lengths are already available in the array
>> descriptors, I assumed most of these special functions
>> would just be one-line forwarders.
>
> This is a bug, not a feature.
> The descriptor should contain the type kind, not the character length.
OK, I'll make sure to use the character length arguments instead.
But (out of interest) is the descriptor definition really going to
change in future, or is it just a theoretical objection? It would
obviously be an ABI change.
Richard