1 2018-04-04 Thomas Koenig <tkoenig@gcc.gnu.org>
4 * runtime/minimal.c (stop_numeric): Add new function in order to
5 implement numeric stop on minimal targets.
7 2018-03-28 Jakub Jelinek <jakub@redhat.com>
9 * io/io.h (IOPARM_DT_DEFAULT_EXP): Rename to ...
10 (IOPARM_DT_DEC_EXT): ... this.
11 * io/list_read.c (parse_real): Adjust for IOPARM_DT_DEFAULT_EXP
12 renaming to IOPARM_DT_DEC_EXT.
13 (read_real): Likewise.
14 * io/read.c (read_f): Likewise.
16 2018-03-15 Jakub Jelinek <jakub@redhat.com>
19 * intrinsics/kill.c (kill): Rename to...
20 (PREFIX (kill)): ... this. Use export_proto_np instead of export_proto.
22 2018-03-13 Steven G. Kargl <kargl@gcc.gnu.org>
24 * libgfortran/gfortran.map: Remove _gfortran_kill_i4,
25 _gfortran_kill_i4_sub, _gfortran_kill_i8, and _gfortran_kill_i8_sub.
26 Add _gfortran_kill and _gfortran_kill_sub.
27 * libgfortran/intrinsics/kill.c: Eliminate _gfortran_kill_i4,
28 _gfortran_kill_i4_sub, _gfortran_kill_i8, and _gfortran_kill_i8_sub.
29 Add _gfortran_kill and _gfortran_kill_sub.
31 2018-02-23 Janne Blomqvist <jb@gcc.gnu.org>
34 * caf/libcaf.h (_gfortran_caf_stop_numeric): Add bool argument.
35 (_gfortran_caf_stop_str): Likewise.
36 (_gfortran_caf_error_stop_str): Likewise.
37 (_gfortran_caf_error_stop): Likewise.
38 * caf/mpi.c (_gfortran_caf_error_stop_str): Handle new argument.
39 (_gfortran_caf_error_stop): Likewise.
40 * caf/single.c (_gfortran_caf_stop_numeric): Likewise.
41 (_gfortran_caf_stop_str): Likewise.
42 (_gfortran_caf_error_stop_str): Likewise.
43 (_gfortran_caf_error_stop): Likewise.
44 (_gfortran_caf_lock): Likewise.
45 (_gfortran_caf_unlock): Likewise.
46 * libgfortran.h (stop_string): Add bool argument.
47 * runtime/pause.c (do_pause): Add false argument.
48 * runtime/stop.c (stop_numeric): Handle new argument.
49 (stop_string): Likewise.
50 (error_stop_string): Likewise.
51 (error_stop_numeric): Likewise.
53 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org>
57 * runtime/pause.c (pause_numeric): Modify to take GFC_INTEGER_8
59 (pause_string): Modify to take size_t character length argument.
61 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org>
63 * libgfortran.h (stop_string): Use size_t for character length.
64 * runtime/stop.c (stop_string): Likewise.
65 (error_stop_string): Likewise.
66 (stop_numeric): Use int for exit code.
67 (error_stop_numeric): Likewise.
68 * caf/libcaf.h: Remove stdint.h include.
69 (_gfortran_caf_register): Use size_t for character length.
70 (_gfortran_caf_deregister): Likewise.
71 (_gfortran_caf_sync_all): Likewise.
72 (_gfortran_caf_sync_memory): Likewise.
73 (_gfortran_caf_sync_images): Likewise.
74 (_gfortran_caf_stop_numeric): Use int for exit code.
75 (_gfortran_caf_stop_str): Use size_t for character length.
76 (_gfortran_caf_error_stop_str): Likewise.
77 (_gfortran_caf_error_stop): Use int for exit code.
78 (_gfortran_caf_co_broadcast): Use size_t for character length.
79 (_gfortran_caf_co_sum): Likewise.
80 (_gfortran_caf_co_min): Likewise.
81 (_gfortran_caf_co_max): Likewise.
82 (_gfortran_caf_co_reduce): Likewise.
83 (_gfortran_caf_lock): Likewise.
84 (_gfortran_caf_unlock): Likewise.
85 (_gfortran_caf_event_post): Likewise.
86 (_gfortran_caf_event_wait): Likewise.
87 * caf/mpi.c (_gfortran_caf_register): Update implementation to
89 (_gfortran_caf_deregister): Likewise.
90 (_gfortran_caf_sync_all): Likewise.
91 (_gfortran_caf_sync_images): Likewise.
92 (_gfortran_caf_error_stop_str): Likewise.
93 (_gfortran_caf_error_stop): Likewise.
94 * caf/single.c (caf_internal_error): Likewise.
95 (_gfortran_caf_register): Likewise.
96 (_gfortran_caf_deregister): Likewise.
97 (_gfortran_caf_sync_all): Likewise.
98 (_gfortran_caf_sync_memory): Likewise.
99 (_gfortran_caf_sync_images): Likewise.
100 (_gfortran_caf_stop_numeric): Likewise.
101 (_gfortran_caf_stop_str): Likewise.
102 (_gfortran_caf_error_stop_str): Likewise.
103 (_gfortran_caf_error_stop): Likewise.
104 (_gfortran_caf_co_broadcast): Likewise.
105 (_gfortran_caf_co_sum): Likewise.
106 (_gfortran_caf_co_min): Likewise.
107 (_gfortran_caf_co_max): Likewise.
108 (_gfortran_caf_co_reduce): Likewise.
109 (_gfortran_caf_event_post): Likewise.
110 (_gfortran_caf_event_wait): Likewise.
111 (_gfortran_caf_lock): Likewise.
112 (_gfortran_caf_unlock): Likewise.
114 2018-02-19 Andre Vehreschild <vehre@gcc.gnu.org>
116 * caf/libcaf.h: Add type parameters to the caf_*_by_ref prototypes.
117 * caf/single.c (get_for_ref): Simplifications and now respecting
119 (_gfortran_caf_get_by_ref): Added source type handing to get_for_ref().
120 (send_by_ref): Simplifications and respecting the dst_type now.
121 (_gfortran_caf_send_by_ref): Added destination type hand over to
123 (_gfortran_caf_sendget_by_ref): Added general support and fixed stack
124 corruption. The function is now really usable.
126 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
129 * configure: Regenerate.
131 2018-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
134 * io/transfer.c (finalize_transfer): After completng an internal unit
135 I/O operation, clear internal_unit_kind.
137 2018-02-12 Thomas Koenig <tkoenig@gcc.gnu.org>
139 * libgfortran.h (GFC_ARRAY_DESCRIPTOR): Remove dimension
140 of descriptor to use vaiable members for dim.
141 Change usage of GFC_ARRAY_DESCRIPTOR accordingly.
142 (GFC_FILL_ARRAY_DESCRIPTOR): New macro.
143 (gfc_full_array_i4): New type.
144 * intrinsics/date_and_time.c (secnds): Use sizeof
145 (gfc_array_i4) + sizeof (descriptor_dimension) for memory
147 * intrinsics/reshape_generic.c: Use GFC_FULL_ARRAY_DESCRIPTOR.
148 * io/format.c: Use sizeof (gfc_array_i4) + sizeof
149 (descriptor_dimension) for memoy allocation.
150 * io/list_read.c (list_formatted_read_scalar): Use
151 gfc_full_array_i4 for variable.
152 (nml_read_obj): Likewise.
153 * io/write.c (list_formatted_write_scalar): Likewise.
154 (nml_write_obj): Likewise.
155 * m4/reshape.m4: Use GFC_FULL_ARRAY_DESCRIPTOR.
156 * generated/reshape_c10.c: Regenerated.
157 * generated/reshape_c16.c: Regenerated.
158 * generated/reshape_c4.c: Regenerated.
159 * generated/reshape_c8.c: Regenerated.
160 * generated/reshape_i16.c: Regenerated.
161 * generated/reshape_i4.c: Regenerated.
162 * generated/reshape_i8.c: Regenerated.
163 * generated/reshape_r10.c: Regenerated.
164 * generated/reshape_r16.c: Regenerated.
165 * generated/reshape_r4.c: Regenerated.
166 * generated/reshape_r8.c: Regenerated.
168 2018-01-31 Janne Blomqvist <jb@gcc.gnu.org>
170 * generated/cshift1_16.c (cshift1): Regenerated.
171 * generated/cshift1_4.c (cshift1): Regenerated.
172 * generated/cshift1_8.c (cshift1): Regenerated.
173 * generated/eoshift1_16.c (eoshift1): Regenerated.
174 * generated/eoshift1_4.c (eoshift1): Regenerated.
175 * generated/eoshift1_8.c (eoshift1): Regenerated.
176 * generated/eoshift3_16.c (eoshift3): Regenerated.
177 * generated/eoshift3_4.c (eoshift3): Regenerated.
178 * generated/eoshift3_8.c (eoshift3): Regenerated.
179 * generated/in_pack_c10.c (internal_pack_c10): Regenerated.
180 * generated/in_pack_c16.c (internal_pack_c16): Regenerated.
181 * generated/in_pack_c4.c (internal_pack_c4): Regenerated.
182 * generated/in_pack_c8.c (internal_pack_c8): Regenerated.
183 * generated/in_pack_i1.c (internal_pack_1): Regenerated.
184 * generated/in_pack_i16.c (internal_pack_16): Regenerated.
185 * generated/in_pack_i2.c (internal_pack_2): Regenerated.
186 * generated/in_pack_i4.c (internal_pack_4): Regenerated.
187 * generated/in_pack_i8.c (internal_pack_8): Regenerated.
188 * generated/in_pack_r10.c (internal_pack_r10): Regenerated.
189 * generated/in_pack_r16.c (internal_pack_r16): Regenerated.
190 * generated/in_pack_r4.c (internal_pack_r4): Regenerated.
191 * generated/in_pack_r8.c (internal_pack_r8): Regenerated.
192 * generated/in_unpack_c10.c (internal_unpack_c10): Regenerated.
193 * generated/in_unpack_c16.c (internal_unpack_c16): Regenerated.
194 * generated/in_unpack_c4.c (internal_unpack_c4): Regenerated.
195 * generated/in_unpack_c8.c (internal_unpack_c8): Regenerated.
196 * generated/in_unpack_i1.c (internal_unpack_1): Regenerated.
197 * generated/in_unpack_i16.c (internal_unpack_16): Regenerated.
198 * generated/in_unpack_i2.c (internal_unpack_2): Regenerated.
199 * generated/in_unpack_i4.c (internal_unpack_4): Regenerated.
200 * generated/in_unpack_i8.c (internal_unpack_8): Regenerated.
201 * generated/in_unpack_r10.c (internal_unpack_r10): Regenerated.
202 * generated/in_unpack_r16.c (internal_unpack_r16): Regenerated.
203 * generated/in_unpack_r4.c (internal_unpack_r4): Regenerated.
204 * generated/in_unpack_r8.c (internal_unpack_r8): Regenerated.
205 * generated/reshape_c10.c (reshape_c10): Regenerated.
206 * generated/reshape_c16.c (reshape_c16): Regenerated.
207 * generated/reshape_c4.c (reshape_c4): Regenerated.
208 * generated/reshape_c8.c (reshape_c8): Regenerated.
209 * generated/reshape_i16.c (reshape_16): Regenerated.
210 * generated/reshape_i4.c (reshape_4): Regenerated.
211 * generated/reshape_i8.c (reshape_8): Regenerated.
212 * generated/reshape_r10.c (reshape_r10): Regenerated.
213 * generated/reshape_r16.c (reshape_r16): Regenerated.
214 * generated/reshape_r4.c (reshape_r4): Regenerated.
215 * generated/reshape_r8.c (reshape_r8): Regenerated.
216 * generated/shape_i1.c (shape_1): Regenerated.
217 * generated/shape_i16.c (shape_16): Regenerated.
218 * generated/shape_i2.c (shape_2): Regenerated.
219 * generated/shape_i4.c (shape_4): Regenerated.
220 * generated/shape_i8.c (shape_8): Regenerated.
221 * generated/spread_c10.c (spread_scalar_c10): Regenerated.
222 * generated/spread_c16.c (spread_scalar_c16): Regenerated.
223 * generated/spread_c4.c (spread_scalar_c4): Regenerated.
224 * generated/spread_c8.c (spread_scalar_c8): Regenerated.
225 * generated/spread_i1.c (spread_scalar_i1): Regenerated.
226 * generated/spread_i16.c (spread_scalar_i16): Regenerated.
227 * generated/spread_i2.c (spread_scalar_i2): Regenerated.
228 * generated/spread_i4.c (spread_scalar_i4): Regenerated.
229 * generated/spread_i8.c (spread_scalar_i8): Regenerated.
230 * generated/spread_r10.c (spread_scalar_r10): Regenerated.
231 * generated/spread_r16.c (spread_scalar_r16): Regenerated.
232 * generated/spread_r4.c (spread_scalar_r4): Regenerated.
233 * generated/spread_r8.c (spread_scalar_r8): Regenerated.
234 * intrinsics/random.c (jump): Use size_t for array index in loop.
235 (getosrandom): Likewise.
236 (arandom_r4): Make n an index_type.
237 (arandom_r8): Likewise.
238 (arandom_r10): Likewise.
239 (arandom_r16): Likewise.
240 (scramble_seed): Use size_t for array index in loop.
241 * m4/cshift1.m4: Make i an index_type.
242 * m4/eoshift1.m4: Likewise.
243 * m4/eoshift3.m4: Likewise.
244 * m4/in_pack.m4: Make n an index_type.
245 * m4/in_unpack.m4: Likewise.
246 * m4/reshape.m4: Make n and dim index_type's.
247 * m4/shape.m4: Make n an index_type.
248 * m4/spread.m4: Likewise, use index_type argument rather than
250 * runtime/bounds.c (bounds_ifunction_return): Make n an
252 * runtime/in_pack_generic.c (internal_pack): Likewise.
253 * runtime/in_unpack_generic.c (internal_unpack): Make n and size
256 2018-01-30 Thomas Koenig <tkoenig@gcc.gnu.org>
259 * libgfortran.h: Remove GFC_DTYPE_DERIVED_1, GFC_DTYPE_DERIVED_2,
260 GFC_DTYPE_DERIVED_4, GFC_DTYPE_DERIVED_8 and GFC_DTYPE_DERIVED_16.
261 * m4/cshift1.m4: Remove GFC_DTYPE_DERIVED_1.
262 * generated/cshift1_16.c: Regenerated.
263 * generated/cshift1_4.c: Regenerated.
264 * generated/cshift1_8.c: Regenerated.
265 * intrinsics/cshift0.c: Remove GFC_DTYPE_DERIVED_1.
266 * intrinsics/pack_generic.c (pack): Move handling of other types
267 into separate switch statement.
268 * intrinsics/spread_generic.c (spread): Likewise.
269 (spread_scalar): Likewise.
270 * intrinsics/unpack_generic.c (unpack1): Likewise.
272 * runtime/in_pack_generic.c (internal_pack): Likewise.
273 * runtime/in_unpack_generic.c (internal_unpack): Likewise.
275 2018-01-25 Paul Thomas <pault@gcc.gnu.org>
278 * caf/single.c (_gfortran_caf_failed_images): Access the 'type'
279 and 'elem_len' fields of the dtype instead of the shifts.
280 (_gfortran_caf_stopped_images): Likewise.
281 * intrinsics/associated.c (associated): Compare the 'type' and
282 'elem_len' fields instead of the dtype.
283 * caf/date_and_time.c : Access the dtype fields rather using
285 * io/transfer.c (transfer_array ): Comment on item count.
286 (set_nml_var,st_set_nml_var): Change dtype type and use fields.
287 (st_set_nml_dtio_var): Likewise.
288 * libgfortran.h : Change definition of GFC_ARRAY_DESCRIPTOR and
289 add a typedef for the dtype_type. Change the GFC_DTYPE_* macros
290 to access the dtype fields.
292 2018-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
295 * m4/iparm.m4: Add back_arg macro if in minloc or maxloc.
296 * m4/iforeach-s.m4: Add optional argument back with back_arg
297 macro. Improve m4 quoting. If HAVE_BACK_ARG is defined, assert
298 that back is non-true.
299 * m4/iforeach.m4: Likewise.
300 * m4/ifunction-s.m4: Likewise.
301 * m4/ifunction.m4: Likewise.
302 * m4/maxloc0.m4: Include assert.h
303 * m4/minloc0.m4: Likewise.
304 * m4/maxloc0s.m4: #define HAVE_BACK_ARG.
305 * m4/minloc0s.m4: Likewise.
306 * m4/maxloc1s.m4: Likewise.
307 * m4/minloc1s.m4: Likewise.
308 * m4/maxloc1.m4: Include assert.h, #define HAVE_BACK_ARG.
309 * m4/minloc1.m4: Likewise.
310 * m4/maxloc2s.m4: Add assert.h, add back_arg, assert that
312 * m4/minloc2s.m4: Likewise.
313 * generated/iall_i1.c: Regenerated.
314 * generated/iall_i16.c: Regenerated.
315 * generated/iall_i2.c: Regenerated.
316 * generated/iall_i4.c: Regenerated.
317 * generated/iall_i8.c: Regenerated.
318 * generated/iany_i1.c: Regenerated.
319 * generated/iany_i16.c: Regenerated.
320 * generated/iany_i2.c: Regenerated.
321 * generated/iany_i4.c: Regenerated.
322 * generated/iany_i8.c: Regenerated.
323 * generated/iparity_i1.c: Regenerated.
324 * generated/iparity_i16.c: Regenerated.
325 * generated/iparity_i2.c: Regenerated.
326 * generated/iparity_i4.c: Regenerated.
327 * generated/iparity_i8.c: Regenerated.
328 * generated/maxloc0_16_i1.c: Regenerated.
329 * generated/maxloc0_16_i16.c: Regenerated.
330 * generated/maxloc0_16_i2.c: Regenerated.
331 * generated/maxloc0_16_i4.c: Regenerated.
332 * generated/maxloc0_16_i8.c: Regenerated.
333 * generated/maxloc0_16_r10.c: Regenerated.
334 * generated/maxloc0_16_r16.c: Regenerated.
335 * generated/maxloc0_16_r4.c: Regenerated.
336 * generated/maxloc0_16_r8.c: Regenerated.
337 * generated/maxloc0_16_s1.c: Regenerated.
338 * generated/maxloc0_16_s4.c: Regenerated.
339 * generated/maxloc0_4_i1.c: Regenerated.
340 * generated/maxloc0_4_i16.c: Regenerated.
341 * generated/maxloc0_4_i2.c: Regenerated.
342 * generated/maxloc0_4_i4.c: Regenerated.
343 * generated/maxloc0_4_i8.c: Regenerated.
344 * generated/maxloc0_4_r10.c: Regenerated.
345 * generated/maxloc0_4_r16.c: Regenerated.
346 * generated/maxloc0_4_r4.c: Regenerated.
347 * generated/maxloc0_4_r8.c: Regenerated.
348 * generated/maxloc0_4_s1.c: Regenerated.
349 * generated/maxloc0_4_s4.c: Regenerated.
350 * generated/maxloc0_8_i1.c: Regenerated.
351 * generated/maxloc0_8_i16.c: Regenerated.
352 * generated/maxloc0_8_i2.c: Regenerated.
353 * generated/maxloc0_8_i4.c: Regenerated.
354 * generated/maxloc0_8_i8.c: Regenerated.
355 * generated/maxloc0_8_r10.c: Regenerated.
356 * generated/maxloc0_8_r16.c: Regenerated.
357 * generated/maxloc0_8_r4.c: Regenerated.
358 * generated/maxloc0_8_r8.c: Regenerated.
359 * generated/maxloc0_8_s1.c: Regenerated.
360 * generated/maxloc0_8_s4.c: Regenerated.
361 * generated/maxloc1_16_i1.c: Regenerated.
362 * generated/maxloc1_16_i16.c: Regenerated.
363 * generated/maxloc1_16_i2.c: Regenerated.
364 * generated/maxloc1_16_i4.c: Regenerated.
365 * generated/maxloc1_16_i8.c: Regenerated.
366 * generated/maxloc1_16_r10.c: Regenerated.
367 * generated/maxloc1_16_r16.c: Regenerated.
368 * generated/maxloc1_16_r4.c: Regenerated.
369 * generated/maxloc1_16_r8.c: Regenerated.
370 * generated/maxloc1_16_s1.c: Regenerated.
371 * generated/maxloc1_16_s4.c: Regenerated.
372 * generated/maxloc1_4_i1.c: Regenerated.
373 * generated/maxloc1_4_i16.c: Regenerated.
374 * generated/maxloc1_4_i2.c: Regenerated.
375 * generated/maxloc1_4_i4.c: Regenerated.
376 * generated/maxloc1_4_i8.c: Regenerated.
377 * generated/maxloc1_4_r10.c: Regenerated.
378 * generated/maxloc1_4_r16.c: Regenerated.
379 * generated/maxloc1_4_r4.c: Regenerated.
380 * generated/maxloc1_4_r8.c: Regenerated.
381 * generated/maxloc1_4_s1.c: Regenerated.
382 * generated/maxloc1_4_s4.c: Regenerated.
383 * generated/maxloc1_8_i1.c: Regenerated.
384 * generated/maxloc1_8_i16.c: Regenerated.
385 * generated/maxloc1_8_i2.c: Regenerated.
386 * generated/maxloc1_8_i4.c: Regenerated.
387 * generated/maxloc1_8_i8.c: Regenerated.
388 * generated/maxloc1_8_r10.c: Regenerated.
389 * generated/maxloc1_8_r16.c: Regenerated.
390 * generated/maxloc1_8_r4.c: Regenerated.
391 * generated/maxloc1_8_r8.c: Regenerated.
392 * generated/maxloc1_8_s1.c: Regenerated.
393 * generated/maxloc1_8_s4.c: Regenerated.
394 * generated/maxval_i1.c: Regenerated.
395 * generated/maxval_i16.c: Regenerated.
396 * generated/maxval_i2.c: Regenerated.
397 * generated/maxval_i4.c: Regenerated.
398 * generated/maxval_i8.c: Regenerated.
399 * generated/maxval_r10.c: Regenerated.
400 * generated/maxval_r16.c: Regenerated.
401 * generated/maxval_r4.c: Regenerated.
402 * generated/maxval_r8.c: Regenerated.
403 * generated/minloc0_16_i1.c: Regenerated.
404 * generated/minloc0_16_i16.c: Regenerated.
405 * generated/minloc0_16_i2.c: Regenerated.
406 * generated/minloc0_16_i4.c: Regenerated.
407 * generated/minloc0_16_i8.c: Regenerated.
408 * generated/minloc0_16_r10.c: Regenerated.
409 * generated/minloc0_16_r16.c: Regenerated.
410 * generated/minloc0_16_r4.c: Regenerated.
411 * generated/minloc0_16_r8.c: Regenerated.
412 * generated/minloc0_16_s1.c: Regenerated.
413 * generated/minloc0_16_s4.c: Regenerated.
414 * generated/minloc0_4_i1.c: Regenerated.
415 * generated/minloc0_4_i16.c: Regenerated.
416 * generated/minloc0_4_i2.c: Regenerated.
417 * generated/minloc0_4_i4.c: Regenerated.
418 * generated/minloc0_4_i8.c: Regenerated.
419 * generated/minloc0_4_r10.c: Regenerated.
420 * generated/minloc0_4_r16.c: Regenerated.
421 * generated/minloc0_4_r4.c: Regenerated.
422 * generated/minloc0_4_r8.c: Regenerated.
423 * generated/minloc0_4_s1.c: Regenerated.
424 * generated/minloc0_4_s4.c: Regenerated.
425 * generated/minloc0_8_i1.c: Regenerated.
426 * generated/minloc0_8_i16.c: Regenerated.
427 * generated/minloc0_8_i2.c: Regenerated.
428 * generated/minloc0_8_i4.c: Regenerated.
429 * generated/minloc0_8_i8.c: Regenerated.
430 * generated/minloc0_8_r10.c: Regenerated.
431 * generated/minloc0_8_r16.c: Regenerated.
432 * generated/minloc0_8_r4.c: Regenerated.
433 * generated/minloc0_8_r8.c: Regenerated.
434 * generated/minloc0_8_s1.c: Regenerated.
435 * generated/minloc0_8_s4.c: Regenerated.
436 * generated/minloc1_16_i1.c: Regenerated.
437 * generated/minloc1_16_i16.c: Regenerated.
438 * generated/minloc1_16_i2.c: Regenerated.
439 * generated/minloc1_16_i4.c: Regenerated.
440 * generated/minloc1_16_i8.c: Regenerated.
441 * generated/minloc1_16_r10.c: Regenerated.
442 * generated/minloc1_16_r16.c: Regenerated.
443 * generated/minloc1_16_r4.c: Regenerated.
444 * generated/minloc1_16_r8.c: Regenerated.
445 * generated/minloc1_16_s1.c: Regenerated.
446 * generated/minloc1_16_s4.c: Regenerated.
447 * generated/minloc1_4_i1.c: Regenerated.
448 * generated/minloc1_4_i16.c: Regenerated.
449 * generated/minloc1_4_i2.c: Regenerated.
450 * generated/minloc1_4_i4.c: Regenerated.
451 * generated/minloc1_4_i8.c: Regenerated.
452 * generated/minloc1_4_r10.c: Regenerated.
453 * generated/minloc1_4_r16.c: Regenerated.
454 * generated/minloc1_4_r4.c: Regenerated.
455 * generated/minloc1_4_r8.c: Regenerated.
456 * generated/minloc1_4_s1.c: Regenerated.
457 * generated/minloc1_4_s4.c: Regenerated.
458 * generated/minloc1_8_i1.c: Regenerated.
459 * generated/minloc1_8_i16.c: Regenerated.
460 * generated/minloc1_8_i2.c: Regenerated.
461 * generated/minloc1_8_i4.c: Regenerated.
462 * generated/minloc1_8_i8.c: Regenerated.
463 * generated/minloc1_8_r10.c: Regenerated.
464 * generated/minloc1_8_r16.c: Regenerated.
465 * generated/minloc1_8_r4.c: Regenerated.
466 * generated/minloc1_8_r8.c: Regenerated.
467 * generated/minloc1_8_s1.c: Regenerated.
468 * generated/minloc1_8_s4.c: Regenerated.
469 * generated/minval_i1.c: Regenerated.
470 * generated/minval_i16.c: Regenerated.
471 * generated/minval_i2.c: Regenerated.
472 * generated/minval_i4.c: Regenerated.
473 * generated/minval_i8.c: Regenerated.
474 * generated/minval_r10.c: Regenerated.
475 * generated/minval_r16.c: Regenerated.
476 * generated/minval_r4.c: Regenerated.
477 * generated/minval_r8.c: Regenerated.
478 * generated/norm2_r10.c: Regenerated.
479 * generated/norm2_r16.c: Regenerated.
480 * generated/norm2_r4.c: Regenerated.
481 * generated/norm2_r8.c: Regenerated.
482 * generated/parity_l1.c: Regenerated.
483 * generated/parity_l16.c: Regenerated.
484 * generated/parity_l2.c: Regenerated.
485 * generated/parity_l4.c: Regenerated.
486 * generated/parity_l8.c: Regenerated.
487 * generated/product_c10.c: Regenerated.
488 * generated/product_c16.c: Regenerated.
489 * generated/product_c4.c: Regenerated.
490 * generated/product_c8.c: Regenerated.
491 * generated/product_i1.c: Regenerated.
492 * generated/product_i16.c: Regenerated.
493 * generated/product_i2.c: Regenerated.
494 * generated/product_i4.c: Regenerated.
495 * generated/product_i8.c: Regenerated.
496 * generated/product_r10.c: Regenerated.
497 * generated/product_r16.c: Regenerated.
498 * generated/product_r4.c: Regenerated.
499 * generated/product_r8.c: Regenerated.
500 * generated/sum_c10.c: Regenerated.
501 * generated/sum_c16.c: Regenerated.
502 * generated/sum_c4.c: Regenerated.
503 * generated/sum_c8.c: Regenerated.
504 * generated/sum_i1.c: Regenerated.
505 * generated/sum_i16.c: Regenerated.
506 * generated/sum_i2.c: Regenerated.
507 * generated/sum_i4.c: Regenerated.
508 * generated/sum_i8.c: Regenerated.
509 * generated/sum_r10.c: Regenerated.
510 * generated/sum_r16.c: Regenerated.
511 * generated/sum_r4.c: Regenerated.
512 * generated/sum_r8.c: Regenerated.
514 2018-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
517 * write.c (select_buffer): Adjust buffer size up by 1.
519 2018-01-08 Janne Blomqvist <jb@gcc.gnu.org>
521 PR 78534, bugfix for r256322
522 * io/transfer.c (next_record_w): Use correct type for return value
523 of next_array_record.
525 2018-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
527 * libgfortran.h (GFC_DTYPE_COPY): New macro.
528 (GFC_DTYPE_COPY_SETRANK): New macro.
529 (GFC_DTYPE_IS_UNSET): New macro.
530 * intrinsics/cshift0.c (cshift0): Use new macros.
531 * intrinsics/eoshift0.c (eoshift0): Likewise.
532 * intrinsics/eoshift2.c (eoshift2): Likewise.
533 * intrinsics/move_alloc.c (move_alloc): Likewise.
534 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
535 * intrinsics/spread_generic.c (spread_internal): Likewise.
536 * intrinsics/spread_generic.c (spread_scalar): Likewise.
537 * intrinsics/spread_generic.c (spread_char_scalar): Likewise.
538 * intrinsics/spread_generic.c (spread_char4_scalar): Likewise.
539 * intrinsics/unpack_generic.c (unpack0): Likewise.
540 * intrinsics/unpack_generic.c (unpack0_char): Likewise.
541 * intrinsics/unpack_generic.c (unpack0_char4): Likewise.
542 * m4/cshift1.m4 (cshift1): Likewise.
543 * m4/eoshift1.m4 (eoshift1): Likewise.
544 * m4/eoshift3.m4 (eoshift3): Likewise.
545 * m4/iforeach-s.m4: Likewise.
546 * m4/iforeach.m4: Likewise.
547 * m4/ifunction-s.m4: Likewise.
548 * m4/ifunction-s2.m4: Likewise.
549 * m4/ifunction.m4: Likewise.
550 * m4/ifunction_logical.m4: Likewise.
551 * m4/reshape.m4: Likewise.
552 * m4/spread.m4: Likewise.
553 * generated/all_l1.c : Regenerated.
554 * generated/all_l16.c : Regenerated.
555 * generated/all_l2.c : Regenerated.
556 * generated/all_l4.c : Regenerated.
557 * generated/all_l8.c : Regenerated.
558 * generated/any_l1.c : Regenerated.
559 * generated/any_l16.c : Regenerated.
560 * generated/any_l2.c : Regenerated.
561 * generated/any_l4.c : Regenerated.
562 * generated/any_l8.c : Regenerated.
563 * generated/count_16_l.c : Regenerated.
564 * generated/count_1_l.c : Regenerated.
565 * generated/count_2_l.c : Regenerated.
566 * generated/count_4_l.c : Regenerated.
567 * generated/count_8_l.c : Regenerated.
568 * generated/cshift1_16.c : Regenerated.
569 * generated/cshift1_4.c : Regenerated.
570 * generated/cshift1_8.c : Regenerated.
571 * generated/eoshift1_16.c : Regenerated.
572 * generated/eoshift1_4.c : Regenerated.
573 * generated/eoshift1_8.c : Regenerated.
574 * generated/eoshift3_16.c : Regenerated.
575 * generated/eoshift3_4.c : Regenerated.
576 * generated/eoshift3_8.c : Regenerated.
577 * generated/iall_i1.c : Regenerated.
578 * generated/iall_i16.c : Regenerated.
579 * generated/iall_i2.c : Regenerated.
580 * generated/iall_i4.c : Regenerated.
581 * generated/iall_i8.c : Regenerated.
582 * generated/iany_i1.c : Regenerated.
583 * generated/iany_i16.c : Regenerated.
584 * generated/iany_i2.c : Regenerated.
585 * generated/iany_i4.c : Regenerated.
586 * generated/iany_i8.c : Regenerated.
587 * generated/iparity_i1.c : Regenerated.
588 * generated/iparity_i16.c : Regenerated.
589 * generated/iparity_i2.c : Regenerated.
590 * generated/iparity_i4.c : Regenerated.
591 * generated/iparity_i8.c : Regenerated.
592 * generated/maxloc0_16_i1.c : Regenerated.
593 * generated/maxloc0_16_i16.c : Regenerated.
594 * generated/maxloc0_16_i2.c : Regenerated.
595 * generated/maxloc0_16_i4.c : Regenerated.
596 * generated/maxloc0_16_i8.c : Regenerated.
597 * generated/maxloc0_16_r10.c : Regenerated.
598 * generated/maxloc0_16_r16.c : Regenerated.
599 * generated/maxloc0_16_r4.c : Regenerated.
600 * generated/maxloc0_16_r8.c : Regenerated.
601 * generated/maxloc0_16_s1.c : Regenerated.
602 * generated/maxloc0_16_s4.c : Regenerated.
603 * generated/maxloc0_4_i1.c : Regenerated.
604 * generated/maxloc0_4_i16.c : Regenerated.
605 * generated/maxloc0_4_i2.c : Regenerated.
606 * generated/maxloc0_4_i4.c : Regenerated.
607 * generated/maxloc0_4_i8.c : Regenerated.
608 * generated/maxloc0_4_r10.c : Regenerated.
609 * generated/maxloc0_4_r16.c : Regenerated.
610 * generated/maxloc0_4_r4.c : Regenerated.
611 * generated/maxloc0_4_r8.c : Regenerated.
612 * generated/maxloc0_4_s1.c : Regenerated.
613 * generated/maxloc0_4_s4.c : Regenerated.
614 * generated/maxloc0_8_i1.c : Regenerated.
615 * generated/maxloc0_8_i16.c : Regenerated.
616 * generated/maxloc0_8_i2.c : Regenerated.
617 * generated/maxloc0_8_i4.c : Regenerated.
618 * generated/maxloc0_8_i8.c : Regenerated.
619 * generated/maxloc0_8_r10.c : Regenerated.
620 * generated/maxloc0_8_r16.c : Regenerated.
621 * generated/maxloc0_8_r4.c : Regenerated.
622 * generated/maxloc0_8_r8.c : Regenerated.
623 * generated/maxloc0_8_s1.c : Regenerated.
624 * generated/maxloc0_8_s4.c : Regenerated.
625 * generated/maxloc1_16_i1.c : Regenerated.
626 * generated/maxloc1_16_i16.c : Regenerated.
627 * generated/maxloc1_16_i2.c : Regenerated.
628 * generated/maxloc1_16_i4.c : Regenerated.
629 * generated/maxloc1_16_i8.c : Regenerated.
630 * generated/maxloc1_16_r10.c : Regenerated.
631 * generated/maxloc1_16_r16.c : Regenerated.
632 * generated/maxloc1_16_r4.c : Regenerated.
633 * generated/maxloc1_16_r8.c : Regenerated.
634 * generated/maxloc1_16_s1.c : Regenerated.
635 * generated/maxloc1_16_s4.c : Regenerated.
636 * generated/maxloc1_4_i1.c : Regenerated.
637 * generated/maxloc1_4_i16.c : Regenerated.
638 * generated/maxloc1_4_i2.c : Regenerated.
639 * generated/maxloc1_4_i4.c : Regenerated.
640 * generated/maxloc1_4_i8.c : Regenerated.
641 * generated/maxloc1_4_r10.c : Regenerated.
642 * generated/maxloc1_4_r16.c : Regenerated.
643 * generated/maxloc1_4_r4.c : Regenerated.
644 * generated/maxloc1_4_r8.c : Regenerated.
645 * generated/maxloc1_4_s1.c : Regenerated.
646 * generated/maxloc1_4_s4.c : Regenerated.
647 * generated/maxloc1_8_i1.c : Regenerated.
648 * generated/maxloc1_8_i16.c : Regenerated.
649 * generated/maxloc1_8_i2.c : Regenerated.
650 * generated/maxloc1_8_i4.c : Regenerated.
651 * generated/maxloc1_8_i8.c : Regenerated.
652 * generated/maxloc1_8_r10.c : Regenerated.
653 * generated/maxloc1_8_r16.c : Regenerated.
654 * generated/maxloc1_8_r4.c : Regenerated.
655 * generated/maxloc1_8_r8.c : Regenerated.
656 * generated/maxloc1_8_s1.c : Regenerated.
657 * generated/maxloc1_8_s4.c : Regenerated.
658 * generated/maxval1_s1.c : Regenerated.
659 * generated/maxval1_s4.c : Regenerated.
660 * generated/maxval_i1.c : Regenerated.
661 * generated/maxval_i16.c : Regenerated.
662 * generated/maxval_i2.c : Regenerated.
663 * generated/maxval_i4.c : Regenerated.
664 * generated/maxval_i8.c : Regenerated.
665 * generated/maxval_r10.c : Regenerated.
666 * generated/maxval_r16.c : Regenerated.
667 * generated/maxval_r4.c : Regenerated.
668 * generated/maxval_r8.c : Regenerated.
669 * generated/minloc0_16_i1.c : Regenerated.
670 * generated/minloc0_16_i16.c : Regenerated.
671 * generated/minloc0_16_i2.c : Regenerated.
672 * generated/minloc0_16_i4.c : Regenerated.
673 * generated/minloc0_16_i8.c : Regenerated.
674 * generated/minloc0_16_r10.c : Regenerated.
675 * generated/minloc0_16_r16.c : Regenerated.
676 * generated/minloc0_16_r4.c : Regenerated.
677 * generated/minloc0_16_r8.c : Regenerated.
678 * generated/minloc0_16_s1.c : Regenerated.
679 * generated/minloc0_16_s4.c : Regenerated.
680 * generated/minloc0_4_i1.c : Regenerated.
681 * generated/minloc0_4_i16.c : Regenerated.
682 * generated/minloc0_4_i2.c : Regenerated.
683 * generated/minloc0_4_i4.c : Regenerated.
684 * generated/minloc0_4_i8.c : Regenerated.
685 * generated/minloc0_4_r10.c : Regenerated.
686 * generated/minloc0_4_r16.c : Regenerated.
687 * generated/minloc0_4_r4.c : Regenerated.
688 * generated/minloc0_4_r8.c : Regenerated.
689 * generated/minloc0_4_s1.c : Regenerated.
690 * generated/minloc0_4_s4.c : Regenerated.
691 * generated/minloc0_8_i1.c : Regenerated.
692 * generated/minloc0_8_i16.c : Regenerated.
693 * generated/minloc0_8_i2.c : Regenerated.
694 * generated/minloc0_8_i4.c : Regenerated.
695 * generated/minloc0_8_i8.c : Regenerated.
696 * generated/minloc0_8_r10.c : Regenerated.
697 * generated/minloc0_8_r16.c : Regenerated.
698 * generated/minloc0_8_r4.c : Regenerated.
699 * generated/minloc0_8_r8.c : Regenerated.
700 * generated/minloc0_8_s1.c : Regenerated.
701 * generated/minloc0_8_s4.c : Regenerated.
702 * generated/minloc1_16_i1.c : Regenerated.
703 * generated/minloc1_16_i16.c : Regenerated.
704 * generated/minloc1_16_i2.c : Regenerated.
705 * generated/minloc1_16_i4.c : Regenerated.
706 * generated/minloc1_16_i8.c : Regenerated.
707 * generated/minloc1_16_r10.c : Regenerated.
708 * generated/minloc1_16_r16.c : Regenerated.
709 * generated/minloc1_16_r4.c : Regenerated.
710 * generated/minloc1_16_r8.c : Regenerated.
711 * generated/minloc1_16_s1.c : Regenerated.
712 * generated/minloc1_16_s4.c : Regenerated.
713 * generated/minloc1_4_i1.c : Regenerated.
714 * generated/minloc1_4_i16.c : Regenerated.
715 * generated/minloc1_4_i2.c : Regenerated.
716 * generated/minloc1_4_i4.c : Regenerated.
717 * generated/minloc1_4_i8.c : Regenerated.
718 * generated/minloc1_4_r10.c : Regenerated.
719 * generated/minloc1_4_r16.c : Regenerated.
720 * generated/minloc1_4_r4.c : Regenerated.
721 * generated/minloc1_4_r8.c : Regenerated.
722 * generated/minloc1_4_s1.c : Regenerated.
723 * generated/minloc1_4_s4.c : Regenerated.
724 * generated/minloc1_8_i1.c : Regenerated.
725 * generated/minloc1_8_i16.c : Regenerated.
726 * generated/minloc1_8_i2.c : Regenerated.
727 * generated/minloc1_8_i4.c : Regenerated.
728 * generated/minloc1_8_i8.c : Regenerated.
729 * generated/minloc1_8_r10.c : Regenerated.
730 * generated/minloc1_8_r16.c : Regenerated.
731 * generated/minloc1_8_r4.c : Regenerated.
732 * generated/minloc1_8_r8.c : Regenerated.
733 * generated/minloc1_8_s1.c : Regenerated.
734 * generated/minloc1_8_s4.c : Regenerated.
735 * generated/minval1_s1.c : Regenerated.
736 * generated/minval1_s4.c : Regenerated.
737 * generated/minval_i1.c : Regenerated.
738 * generated/minval_i16.c : Regenerated.
739 * generated/minval_i2.c : Regenerated.
740 * generated/minval_i4.c : Regenerated.
741 * generated/minval_i8.c : Regenerated.
742 * generated/minval_r10.c : Regenerated.
743 * generated/minval_r16.c : Regenerated.
744 * generated/minval_r4.c : Regenerated.
745 * generated/minval_r8.c : Regenerated.
746 * generated/norm2_r10.c : Regenerated.
747 * generated/norm2_r16.c : Regenerated.
748 * generated/norm2_r4.c : Regenerated.
749 * generated/norm2_r8.c : Regenerated.
750 * generated/parity_l1.c : Regenerated.
751 * generated/parity_l16.c : Regenerated.
752 * generated/parity_l2.c : Regenerated.
753 * generated/parity_l4.c : Regenerated.
754 * generated/parity_l8.c : Regenerated.
755 * generated/product_c10.c : Regenerated.
756 * generated/product_c16.c : Regenerated.
757 * generated/product_c4.c : Regenerated.
758 * generated/product_c8.c : Regenerated.
759 * generated/product_i1.c : Regenerated.
760 * generated/product_i16.c : Regenerated.
761 * generated/product_i2.c : Regenerated.
762 * generated/product_i4.c : Regenerated.
763 * generated/product_i8.c : Regenerated.
764 * generated/product_r10.c : Regenerated.
765 * generated/product_r16.c : Regenerated.
766 * generated/product_r4.c : Regenerated.
767 * generated/product_r8.c : Regenerated.
768 * generated/reshape_c10.c : Regenerated.
769 * generated/reshape_c16.c : Regenerated.
770 * generated/reshape_c4.c : Regenerated.
771 * generated/reshape_c8.c : Regenerated.
772 * generated/reshape_i16.c : Regenerated.
773 * generated/reshape_i4.c : Regenerated.
774 * generated/reshape_i8.c : Regenerated.
775 * generated/reshape_r10.c : Regenerated.
776 * generated/reshape_r16.c : Regenerated.
777 * generated/reshape_r4.c : Regenerated.
778 * generated/reshape_r8.c : Regenerated.
779 * generated/spread_c10.c : Regenerated.
780 * generated/spread_c16.c : Regenerated.
781 * generated/spread_c4.c : Regenerated.
782 * generated/spread_c8.c : Regenerated.
783 * generated/spread_i1.c : Regenerated.
784 * generated/spread_i16.c : Regenerated.
785 * generated/spread_i2.c : Regenerated.
786 * generated/spread_i4.c : Regenerated.
787 * generated/spread_i8.c : Regenerated.
788 * generated/spread_r10.c : Regenerated.
789 * generated/spread_r16.c : Regenerated.
790 * generated/spread_r4.c : Regenerated.
791 * generated/spread_r8.c : Regenerated.
792 * generated/sum_c10.c : Regenerated.
793 * generated/sum_c16.c : Regenerated.
794 * generated/sum_c4.c : Regenerated.
795 * generated/sum_c8.c : Regenerated.
796 * generated/sum_i1.c : Regenerated.
797 * generated/sum_i16.c : Regenerated.
798 * generated/sum_i2.c : Regenerated.
799 * generated/sum_i4.c : Regenerated.
800 * generated/sum_i8.c : Regenerated.
801 * generated/sum_r10.c : Regenerated.
802 * generated/sum_r16.c : Regenerated.
803 * generated/sum_r4.c : Regenerated.
804 * generated/sum_r8.c : Regenerated.
806 2018-01-07 Janne Blomqvist <jb@gcc.gnu.org>
810 * io/fbuf.c (fbuf_init): Use size_t instead of int for length.
811 (fbuf_debug): Convert debug output to unsigned long.
812 (fbuf_reset): Use ptrdiff_t for return value.
813 (fbuf_alloc): Use size_t for length argument.
814 (fbuf_flush): Handle large buffers.
815 (fbuf_flush_list): Likewise.
816 (fbuf_seek): Use ptrdiff_t for offset and return value.
817 (fbuf_read): Use size_t for length argument.
818 (fbuf_getc_refill): Use size_t to match fbuf_read.
819 * io/fbuf.h (struct fbuf): Use size_t for lengths.
820 (fbuf_init): Use size_t instead of int for length.
821 (fbuf_reset): Use ptrdiff_t for return value.
822 (fbuf_alloc): Use size_t for length argument.
823 (fbuf_seek): Use ptrdiff_t for offset and return value.
824 (fbuf_read): Use size_t for length argument.
825 * io/io.h (read_block_form): Likewise.
826 (read_block_form4): Likewise.
827 (write_block): Likewise.
829 (read_a_char4): Likewise.
832 (write_a_char4): Likewise.
833 * io/list_read.c (list_formatted_read_scalar): Use size_t to
834 handle large buffers.
835 * io/read.c (read_l): Likewise.
836 (read_utf8): Likewise.
837 (read_utf8_char1): Likewise.
838 (read_default_char1): Likewise.
839 (read_utf8_char4): Likewise.
840 (read_default_char4): Likewise.
842 (read_a_char4): Likewise.
843 (eat_leading_spaces): Likewise.
844 (next_char): Likewise.
845 (read_decimal): Likewise.
846 (read_radix): Likewise.
849 * io/transfer.c (read_sf_internal): Likewise.
851 (read_block_form): Likewise.
852 (read_block_form4): Likewise.
853 (write_block): Likewise.
854 (formatted_transfer_scalar_write): Likewise.
855 (next_record_w): Likewise.
856 * io/unix.c (mem_alloc_r): Likewise.
857 (mem_alloc_r4): Likewise.
858 (mem_alloc_w): Likewise.
859 (mem_alloc_w4): Likewise.
860 (mem_read): Likewise.
861 (mem_read4): Likewise.
862 (mem_write): Likewise.
863 (mem_write4): Likewise.
864 (open_internal): Likewise.
865 (open_internal4): Likewise.
866 * io/unix.h (open_internal): Likewise.
867 (open_internal4): Likewise.
868 (mem_alloc_w): Likewise.
869 (mem_alloc_r): Likewise.
870 (mem_alloc_w4): Likewise.
871 (mem_alloc_r4): Likewise.
872 * io/write.c (write_check_cc): Likewise.
873 (write_cc): Likewise.
875 (write_a_char4): Likewise.
877 2018-01-06 Janne Blomqvist <jb@gcc.gnu.org>
879 * io/write.c (namelist_write): Remove unused variable "i".
881 2018-01-06 Dominique d'Humieres <dominiq@lps.ens.fr>
882 Janne Blomqvist <jb@gcc.gnu.org>
885 * io/write.c (write_character): Use size_t instead of int for
888 2018-01-05 Janne Blomqvist <jb@gcc.gnu.org>
891 * intrinsics/args.c (getarg_i4): Use gfc_charlen_type.
892 (get_command_argument_i4): Likewise.
893 (get_command_i4): Likewise.
894 * intrinsics/chmod.c (chmod_internal): Likewise.
895 * intrinsics/env.c (get_environment_variable_i4): Likewise.
896 * intrinsics/extends_type_of.c (struct vtype): Use size_t for size
898 * intrinsics/gerror.c (gerror): Use gfc_charlen_type.
899 * intrinsics/getlog.c (getlog): Likewise.
900 * intrinsics/hostnm.c (hostnm_0): Likewise.
901 * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to
902 work if gfc_charlen_type is unsigned.
903 (string_scan): Likewise.
904 * io/transfer.c (transfer_character): Modify prototype.
905 (transfer_character_write): Likewise.
906 (transfer_character_wide): Likewise.
907 (transfer_character_wide_write): Likewise.
908 (transfer_array): Typecast to avoid signed-unsigned comparison.
909 * io/unit.c (is_trim_ok): Use gfc_charlen_type.
910 * io/write.c (namelist_write): Likewise.
911 * libgfortran.h (gfc_charlen_type): Change typedef to size_t.
913 2018-01-03 Jakub Jelinek <jakub@redhat.com>
915 Update copyright years.
917 2018-01-02 Janne Blomqvist <jb@gcc.gnu.org>
920 * io/unix.c (MAX_CHUNK): New define.
921 (raw_read): For reads larger than MAX_CHUNK, loop.
922 (raw_write): Write no more than MAX_CHUNK bytes per iteration.
924 Copyright (C) 2018 Free Software Foundation, Inc.
926 Copying and distribution of this file, with or without modification,
927 are permitted in any medium without royalty provided the copyright
928 notice and this notice are preserved.