-2017-01-19 Jakub Jelinek <jakub@redhat.com>
+2018-01-06 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/write.c (namelist_write): Remove unused variable "i".
+
+2018-01-06 Dominique d'Humieres <dominiq@lps.ens.fr>
+ Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/83704
+ * io/write.c (write_character): Use size_t instead of int for
+ length.
+
+2018-01-05 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/78534
+ * intrinsics/args.c (getarg_i4): Use gfc_charlen_type.
+ (get_command_argument_i4): Likewise.
+ (get_command_i4): Likewise.
+ * intrinsics/chmod.c (chmod_internal): Likewise.
+ * intrinsics/env.c (get_environment_variable_i4): Likewise.
+ * intrinsics/extends_type_of.c (struct vtype): Use size_t for size
+ member.
+ * intrinsics/gerror.c (gerror): Use gfc_charlen_type.
+ * intrinsics/getlog.c (getlog): Likewise.
+ * intrinsics/hostnm.c (hostnm_0): Likewise.
+ * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to
+ work if gfc_charlen_type is unsigned.
+ (string_scan): Likewise.
+ * io/transfer.c (transfer_character): Modify prototype.
+ (transfer_character_write): Likewise.
+ (transfer_character_wide): Likewise.
+ (transfer_character_wide_write): Likewise.
+ (transfer_array): Typecast to avoid signed-unsigned comparison.
+ * io/unit.c (is_trim_ok): Use gfc_charlen_type.
+ * io/write.c (namelist_write): Likewise.
+ * libgfortran.h (gfc_charlen_type): Change typedef to size_t.
+
+2018-01-03 Jakub Jelinek <jakub@redhat.com>
- PR target/79127
- * acinclude.m4 (LIBGFOR_CHECK_AVX512F): Ensure the test clobbers
- some zmm16+ registers to verify they are handled by unwind info
- properly if needed.
- * configure: Regenerated.
-
-2017-01-17 Jakub Jelinek <jakub@redhat.com>
-
- PR other/79046
- * configure.ac: Add GCC_BASE_VER.
- * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
- get version from BASE-VER file.
- * configure: Regenerated.
- * Makefile.in: Regenerated.
-
-2017-01-13 Andre Vehreschild <vehre@gcc.gnu.org>
-
- PR fortran/70696
- * caf/single.c (_gfortran_caf_register): Allocate enough memory for
- the event counter.
-
-2017-01-07 Andre Vehreschild <vehre@gcc.gnu.org>
-
- PR fortran/78781
- PR fortran/78935
- * caf/single.c (send_by_ref): Fix addressing of non-allocatable scalar
- destination components.
+ Update copyright years.
-2017-01-01 Jakub Jelinek <jakub@redhat.com>
+2018-01-02 Janne Blomqvist <jb@gcc.gnu.org>
- Update copyright years.
+ PR libgfortran/83649
+ * io/unix.c (MAX_CHUNK): New define.
+ (raw_read): For reads larger than MAX_CHUNK, loop.
+ (raw_write): Write no more than MAX_CHUNK bytes per iteration.
\f
-Copyright (C) 2017 Free Software Foundation, Inc.
+Copyright (C) 2018 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright