1 2024-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
5 * io/list_read.c (eat_separator): Add logic to handle spaces
6 preceding a comma or semicolon such that that a 'null' read
7 occurs without error at the end of comma or semicolon
8 terminated input lines. Add check and error message for ';'.
9 (list_formatted_read_scalar): Treat comma as a decimal point
10 when specified by the decimal mode on the first item.
12 2024-04-02 Jakub Jelinek <jakub@redhat.com>
14 * configure.host: Fix duplicated words; the the -> the.
16 2024-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
19 * io/file_pos.c (st_endfile): Remove call to next_record().
21 2024-03-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
25 * io/list_read.c (eat_separator): Remove check for decimal
26 point mode and semicolon used as a seprator. Removes
29 2024-03-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
32 * io/list_read.c (list_formatted_read_scalar): Use fstrcpy
33 from libgfortran/runtime/string.c to replace snprintf.
34 (nml_read_obj): Likewise.
35 * io/transfer.c (unformatted_read): Likewise.
36 (unformatted_write): Likewise.
37 (formatted_transfer_scalar_read): Likewise.
38 (formatted_transfer_scalar_write): Likewise.
39 * io/write.c (list_formatted_write_scalar): Likewise.
40 (nml_write_obj): Likewise.
42 2024-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
45 * io/io.h (IOMSG_LEN): Moved to here.
46 * io/list_read.c (MSGLEN): Removed MSGLEN.
47 (convert_integer): Changed MSGLEN to IOMSG_LEN.
48 (parse_repeat): Likewise.
49 (read_logical): Likewise.
50 (read_integer): Likewise.
51 (read_character): Likewise.
52 (parse_real): Likewise.
53 (read_complex): Likewise.
54 (read_real): Likewise.
55 (check_type): Likewise.
56 (list_formatted_read_scalar): Adjust to IOMSG_LEN.
57 (nml_read_obj): Add user defined error message.
58 * io/transfer.c (unformatted_read): Add user defined error
60 (unformatted_write): Add user defined error message.
61 (formatted_transfer_scalar_read): Add user defined error message.
62 (formatted_transfer_scalar_write): Add user defined error message.
63 * io/write.c (list_formatted_write_scalar): Add user defined error message.
64 (nml_write_obj): Add user defined error message.
66 2024-02-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
69 * io/list_read.c (list_formatted_read_scalar): Add checks
70 for the case where a user defines their own error codes
71 and error messages and generate the runtime error.
72 * io/transfer.c (st_read_done): Whitespace.
74 2024-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
77 * io/list_read.c (eat_separator): Reject comma as a
78 seprator when it is being used as a decimal point.
79 (parse_real): Reject a '.' when is should be a comma.
80 (read_real): Likewise.
81 * io/read.c (read_f): Add more checks for ',' and '.'
84 2024-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
87 * io/list_read.c (read_logical): When looking for a possible
88 variable name, check for left paren, indicating a possible
91 2024-02-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
94 * io/read.c (read_x): If UTF-8 encoding is enabled, use
95 read_utf8 to move one character over in the read buffer.
97 2024-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
99 * io/transfer.c (formatted_transfer_scalar_write): Adjust
100 bytes_used and pos variable for stream access.
102 2024-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
105 * io/format.c (get_fnode): Update initialization of fnode.
106 (parse_format_list): Initialization.
107 * io/format.h (struct fnode): Added the new 'pushed' component.
108 * io/write.c (select_buffer): Whitespace.
109 (write_real): Whitespace.
110 (write_real_w0): Adjust logic for the d == 0 condition.
111 * io/write_float.def (determine_precision): Whitespace.
112 (build_float_string): Calculate width of ..E0 exponents and
113 adjust logic accordingly.
114 (build_infnan_string): Whitespace.
115 (CALCULATE_EXP): Whitespace.
116 (quadmath_snprintf): Whitespace.
117 (determine_en_precision): Whitespace.
119 2024-01-15 Lipeng Zhu <lipeng.zhu@intel.com>
121 * io/io.h (dec_waiting_unlocked): Use
122 __gthread_rwlock_wrlock/__gthread_rwlock_unlock or
123 __gthread_mutex_lock/__gthread_mutex_unlock functions
124 to replace WRLOCK and RWUNLOCK macros.
126 2024-01-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
128 * io/write.c (namelist_write): If internal_unit precede with space.
131 Copyright (C) 2024 Free Software Foundation, Inc.
133 Copying and distribution of this file, with or without modification,
134 are permitted in any medium without royalty provided the copyright
135 notice and this notice are preserved.