https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704
--- Comment #10 from Janne Blomqvist <jb at gcc dot gnu.org> --- Author: jb Date: Sat Jan 6 19:09:52 2018 New Revision: 256313 URL: https://gcc.gnu.org/viewcvs?rev=256313&root=gcc&view=rev Log: PR 83704 Use size_t in write_character For printing long characters, we need to use size_t instead of int in the argument to write_character. Regtested on x86_64-pc-linux-gnu, approved in the PR, committed to trunk. libgfortran/ChangeLog: 2018-01-06 Dominique d'Humieres <domi...@lps.ens.fr> Janne Blomqvist <j...@gcc.gnu.org> PR fortran/83704 * io/write.c (write_character): Use size_t instead of int for length. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/write.c