]>
Commit | Line | Data |
---|---|---|
45532e3a GA |
1 | 2024-04-08 Tobias Burnus <tburnus@baylibre.com> |
2 | ||
3 | PR libfortran/114304 | |
4 | * io/list_read.c (eat_separator): Accept tab as alternative to space. | |
5 | ||
1a96eb0a GA |
6 | 2024-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
7 | ||
8 | PR libfortran/114304 | |
9 | PR libfortran/105473 | |
10 | * io/list_read.c (eat_separator): Add logic to handle spaces | |
11 | preceding a comma or semicolon such that that a 'null' read | |
12 | occurs without error at the end of comma or semicolon | |
13 | terminated input lines. Add check and error message for ';'. | |
14 | (list_formatted_read_scalar): Treat comma as a decimal point | |
15 | when specified by the decimal mode on the first item. | |
16 | ||
a1e6798a GA |
17 | 2024-04-02 Jakub Jelinek <jakub@redhat.com> |
18 | ||
19 | * configure.host: Fix duplicated words; the the -> the. | |
20 | ||
4b8e7b57 GA |
21 | 2024-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
22 | ||
23 | PR libfortran/107031 | |
24 | * io/file_pos.c (st_endfile): Remove call to next_record(). | |
25 | ||
06289168 GA |
26 | 2024-03-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
27 | ||
28 | PR libfortran/105437 | |
29 | PR libfortran/114304 | |
30 | * io/list_read.c (eat_separator): Remove check for decimal | |
31 | point mode and semicolon used as a seprator. Removes | |
32 | the regression. | |
33 | ||
1e74c758 GA |
34 | 2024-03-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
35 | ||
36 | PR libfortran/105456 | |
37 | * io/list_read.c (list_formatted_read_scalar): Use fstrcpy | |
38 | from libgfortran/runtime/string.c to replace snprintf. | |
39 | (nml_read_obj): Likewise. | |
40 | * io/transfer.c (unformatted_read): Likewise. | |
41 | (unformatted_write): Likewise. | |
42 | (formatted_transfer_scalar_read): Likewise. | |
43 | (formatted_transfer_scalar_write): Likewise. | |
44 | * io/write.c (list_formatted_write_scalar): Likewise. | |
45 | (nml_write_obj): Likewise. | |
46 | ||
8b483cd5 GA |
47 | 2024-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
48 | ||
49 | PR libfortran/105456 | |
50 | * io/io.h (IOMSG_LEN): Moved to here. | |
51 | * io/list_read.c (MSGLEN): Removed MSGLEN. | |
52 | (convert_integer): Changed MSGLEN to IOMSG_LEN. | |
53 | (parse_repeat): Likewise. | |
54 | (read_logical): Likewise. | |
55 | (read_integer): Likewise. | |
56 | (read_character): Likewise. | |
57 | (parse_real): Likewise. | |
58 | (read_complex): Likewise. | |
59 | (read_real): Likewise. | |
60 | (check_type): Likewise. | |
61 | (list_formatted_read_scalar): Adjust to IOMSG_LEN. | |
62 | (nml_read_obj): Add user defined error message. | |
63 | * io/transfer.c (unformatted_read): Add user defined error | |
64 | message. | |
65 | (unformatted_write): Add user defined error message. | |
66 | (formatted_transfer_scalar_read): Add user defined error message. | |
67 | (formatted_transfer_scalar_write): Add user defined error message. | |
68 | * io/write.c (list_formatted_write_scalar): Add user defined error message. | |
69 | (nml_write_obj): Add user defined error message. | |
70 | ||
ad178a2b GA |
71 | 2024-02-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
72 | ||
73 | PR libfortran/105456 | |
74 | * io/list_read.c (list_formatted_read_scalar): Add checks | |
75 | for the case where a user defines their own error codes | |
76 | and error messages and generate the runtime error. | |
77 | * io/transfer.c (st_read_done): Whitespace. | |
78 | ||
c1d15713 GA |
79 | 2024-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
80 | ||
81 | PR libfortran/105473 | |
82 | * io/list_read.c (eat_separator): Reject comma as a | |
83 | seprator when it is being used as a decimal point. | |
84 | (parse_real): Reject a '.' when is should be a comma. | |
85 | (read_real): Likewise. | |
86 | * io/read.c (read_f): Add more checks for ',' and '.' | |
87 | conditions. | |
88 | ||
89 | 2024-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> | |
90 | ||
91 | PR libfortran/107068 | |
92 | * io/list_read.c (read_logical): When looking for a possible | |
93 | variable name, check for left paren, indicating a possible | |
94 | array reference. | |
95 | ||
5266f930 GA |
96 | 2024-02-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
97 | ||
98 | PR fortran/99210 | |
99 | * io/read.c (read_x): If UTF-8 encoding is enabled, use | |
100 | read_utf8 to move one character over in the read buffer. | |
101 | ||
bf074ee4 GA |
102 | 2024-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
103 | ||
104 | * io/transfer.c (formatted_transfer_scalar_write): Adjust | |
105 | bytes_used and pos variable for stream access. | |
106 | ||
435bed3f GA |
107 | 2024-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
108 | ||
109 | PR libfortran/111022 | |
110 | * io/format.c (get_fnode): Update initialization of fnode. | |
111 | (parse_format_list): Initialization. | |
112 | * io/format.h (struct fnode): Added the new 'pushed' component. | |
113 | * io/write.c (select_buffer): Whitespace. | |
114 | (write_real): Whitespace. | |
115 | (write_real_w0): Adjust logic for the d == 0 condition. | |
116 | * io/write_float.def (determine_precision): Whitespace. | |
117 | (build_float_string): Calculate width of ..E0 exponents and | |
118 | adjust logic accordingly. | |
119 | (build_infnan_string): Whitespace. | |
120 | (CALCULATE_EXP): Whitespace. | |
121 | (quadmath_snprintf): Whitespace. | |
122 | (determine_en_precision): Whitespace. | |
123 | ||
be035ec4 GA |
124 | 2024-01-15 Lipeng Zhu <lipeng.zhu@intel.com> |
125 | ||
126 | * io/io.h (dec_waiting_unlocked): Use | |
127 | __gthread_rwlock_wrlock/__gthread_rwlock_unlock or | |
128 | __gthread_mutex_lock/__gthread_mutex_unlock functions | |
129 | to replace WRLOCK and RWUNLOCK macros. | |
130 | ||
59e0c218 GA |
131 | 2024-01-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
132 | ||
133 | * io/write.c (namelist_write): If internal_unit precede with space. | |
134 | ||
818ab71a | 135 | \f |
8c22aed4 | 136 | Copyright (C) 2024 Free Software Foundation, Inc. |
982198d5 JB |
137 | |
138 | Copying and distribution of this file, with or without modification, | |
139 | are permitted in any medium without royalty provided the copyright | |
140 | notice and this notice are preserved. |