https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67536
--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Author: fxcoudert Date: Sat Sep 12 12:05:44 2015 New Revision: 227705 URL: https://gcc.gnu.org/viewcvs?rev=227705&root=gcc&view=rev Log: PR libfortran/67527 PR libfortran/67535 PR libfortran/67536 * io/io.h: Use unsigned values for 31-bit left shifts. * io/unix.c (buf_read): Do not call memcpy() with NULL pointer arg. * io/write.c (nml_write_obj): Likewise. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/io.h trunk/libgfortran/io/unix.c trunk/libgfortran/io/write.c