[Bug fortran/78534] New: Use a larger integer type for character lengths on 64-bit targets
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 25 21:41:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534
Bug ID: 78534
Summary: Use a larger integer type for character lengths on
64-bit targets
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jb at gcc dot gnu.org
Target Milestone: ---
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
More information about the Gcc-bugs
mailing list