PR 78534 Change character length from int to size_t
[official-gcc.git] / libgfortran / ChangeLog
blob20b422153b41b363c1789462d68d261639ee443f
1 2017-01-13  Janne Blomqvist  <jb@gcc.gnu.org>
3         PR fortran/78534
4         * intrinsics/args.c (getarg_i4): Use gfc_charlen_type.
5         (get_command_argument_i4): Likewise.
6         (get_command_i4): Likewise.
7         * intrinsics/chmod.c (chmod_internal): Likewise.
8         * intrinsics/env.c (get_environment_variable_i4): Likewise.
9         * intrinsics/extends_type_of.c (struct vtype): Use size_t for size
10         member.
11         * intrinsics/gerror.c (gerror): Use gfc_charlen_type.
12         * intrinsics/getlog.c (getlog): Likewise.
13         * intrinsics/hostnm.c (hostnm_0): Likewise.
14         * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to
15         work if gfc_charlen_type is unsigned.
16         (string_scan): Likewise.
17         * io/transfer.c (transfer_character): Modify prototype.
18         (transfer_character_write): Likewise.
19         (transfer_character_wide): Likewise.
20         (transfer_character_wide_write): Likewise.
21         (transfer_array): Typecast to avoid signed-unsigned comparison.
22         * io/unit.c (is_trim_ok): Use gfc_charlen_type.
23         * io/write.c (namelist_write): Likewise.
24         * libgfortran.h (gfc_charlen_type): Change typedef to size_t.
26 2017-01-13  Andre Vehreschild  <vehre@gcc.gnu.org>
28         PR fortran/70696
29         * caf/single.c (_gfortran_caf_register): Allocate enough memory for
30         the event counter.
32 2017-01-07  Andre Vehreschild  <vehre@gcc.gnu.org>
34         PR fortran/78781
35         PR fortran/78935
36         * caf/single.c (send_by_ref): Fix addressing of non-allocatable scalar
37         destination components.
39 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
41         Update copyright years.
43 Copyright (C) 2017 Free Software Foundation, Inc.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.