[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 25 22:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-11-25
CC| |jvdelisle at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Janne Blomqvist from comment #0)
> Currently GFortran uses a plain C int for character lengths. This prevents
> longer characters on 64-bit targets. We should change to use size_t instead,
> similar to the C string functions (str*(), mem*()), malloc(), etc. Also
> Intel Fortran does this nowadays.
>
> Now that the libgfortran ABI version has been bumped, it is the right time
> to do this.
>
> See also https://gcc.gnu.org/wiki/LibgfortranAbiCleanup
Agree, Are you going to do this?
More information about the Gcc-bugs
mailing list