This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]