1 2018-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
4 * m4/iparm.m4: Add back_arg macro if in minloc or maxloc.
5 * m4/iforeach-s.m4: Add optional argument back with back_arg
6 macro. Improve m4 quoting. If HAVE_BACK_ARG is defined, assert
8 * m4/iforeach.m4: Likewise.
9 * m4/ifunction-s.m4: Likewise.
10 * m4/ifunction.m4: Likewise.
11 * m4/maxloc0.m4: Include assert.h
12 * m4/minloc0.m4: Likewise.
13 * m4/maxloc0s.m4: #define HAVE_BACK_ARG.
14 * m4/minloc0s.m4: Likewise.
15 * m4/maxloc1s.m4: Likewise.
16 * m4/minloc1s.m4: Likewise.
17 * m4/maxloc1.m4: Include assert.h, #define HAVE_BACK_ARG.
18 * m4/minloc1.m4: Likewise.
19 * m4/maxloc2s.m4: Add assert.h, add back_arg, assert that
21 * m4/minloc2s.m4: Likewise.
22 * generated/iall_i1.c: Regenerated.
23 * generated/iall_i16.c: Regenerated.
24 * generated/iall_i2.c: Regenerated.
25 * generated/iall_i4.c: Regenerated.
26 * generated/iall_i8.c: Regenerated.
27 * generated/iany_i1.c: Regenerated.
28 * generated/iany_i16.c: Regenerated.
29 * generated/iany_i2.c: Regenerated.
30 * generated/iany_i4.c: Regenerated.
31 * generated/iany_i8.c: Regenerated.
32 * generated/iparity_i1.c: Regenerated.
33 * generated/iparity_i16.c: Regenerated.
34 * generated/iparity_i2.c: Regenerated.
35 * generated/iparity_i4.c: Regenerated.
36 * generated/iparity_i8.c: Regenerated.
37 * generated/maxloc0_16_i1.c: Regenerated.
38 * generated/maxloc0_16_i16.c: Regenerated.
39 * generated/maxloc0_16_i2.c: Regenerated.
40 * generated/maxloc0_16_i4.c: Regenerated.
41 * generated/maxloc0_16_i8.c: Regenerated.
42 * generated/maxloc0_16_r10.c: Regenerated.
43 * generated/maxloc0_16_r16.c: Regenerated.
44 * generated/maxloc0_16_r4.c: Regenerated.
45 * generated/maxloc0_16_r8.c: Regenerated.
46 * generated/maxloc0_16_s1.c: Regenerated.
47 * generated/maxloc0_16_s4.c: Regenerated.
48 * generated/maxloc0_4_i1.c: Regenerated.
49 * generated/maxloc0_4_i16.c: Regenerated.
50 * generated/maxloc0_4_i2.c: Regenerated.
51 * generated/maxloc0_4_i4.c: Regenerated.
52 * generated/maxloc0_4_i8.c: Regenerated.
53 * generated/maxloc0_4_r10.c: Regenerated.
54 * generated/maxloc0_4_r16.c: Regenerated.
55 * generated/maxloc0_4_r4.c: Regenerated.
56 * generated/maxloc0_4_r8.c: Regenerated.
57 * generated/maxloc0_4_s1.c: Regenerated.
58 * generated/maxloc0_4_s4.c: Regenerated.
59 * generated/maxloc0_8_i1.c: Regenerated.
60 * generated/maxloc0_8_i16.c: Regenerated.
61 * generated/maxloc0_8_i2.c: Regenerated.
62 * generated/maxloc0_8_i4.c: Regenerated.
63 * generated/maxloc0_8_i8.c: Regenerated.
64 * generated/maxloc0_8_r10.c: Regenerated.
65 * generated/maxloc0_8_r16.c: Regenerated.
66 * generated/maxloc0_8_r4.c: Regenerated.
67 * generated/maxloc0_8_r8.c: Regenerated.
68 * generated/maxloc0_8_s1.c: Regenerated.
69 * generated/maxloc0_8_s4.c: Regenerated.
70 * generated/maxloc1_16_i1.c: Regenerated.
71 * generated/maxloc1_16_i16.c: Regenerated.
72 * generated/maxloc1_16_i2.c: Regenerated.
73 * generated/maxloc1_16_i4.c: Regenerated.
74 * generated/maxloc1_16_i8.c: Regenerated.
75 * generated/maxloc1_16_r10.c: Regenerated.
76 * generated/maxloc1_16_r16.c: Regenerated.
77 * generated/maxloc1_16_r4.c: Regenerated.
78 * generated/maxloc1_16_r8.c: Regenerated.
79 * generated/maxloc1_16_s1.c: Regenerated.
80 * generated/maxloc1_16_s4.c: Regenerated.
81 * generated/maxloc1_4_i1.c: Regenerated.
82 * generated/maxloc1_4_i16.c: Regenerated.
83 * generated/maxloc1_4_i2.c: Regenerated.
84 * generated/maxloc1_4_i4.c: Regenerated.
85 * generated/maxloc1_4_i8.c: Regenerated.
86 * generated/maxloc1_4_r10.c: Regenerated.
87 * generated/maxloc1_4_r16.c: Regenerated.
88 * generated/maxloc1_4_r4.c: Regenerated.
89 * generated/maxloc1_4_r8.c: Regenerated.
90 * generated/maxloc1_4_s1.c: Regenerated.
91 * generated/maxloc1_4_s4.c: Regenerated.
92 * generated/maxloc1_8_i1.c: Regenerated.
93 * generated/maxloc1_8_i16.c: Regenerated.
94 * generated/maxloc1_8_i2.c: Regenerated.
95 * generated/maxloc1_8_i4.c: Regenerated.
96 * generated/maxloc1_8_i8.c: Regenerated.
97 * generated/maxloc1_8_r10.c: Regenerated.
98 * generated/maxloc1_8_r16.c: Regenerated.
99 * generated/maxloc1_8_r4.c: Regenerated.
100 * generated/maxloc1_8_r8.c: Regenerated.
101 * generated/maxloc1_8_s1.c: Regenerated.
102 * generated/maxloc1_8_s4.c: Regenerated.
103 * generated/maxval_i1.c: Regenerated.
104 * generated/maxval_i16.c: Regenerated.
105 * generated/maxval_i2.c: Regenerated.
106 * generated/maxval_i4.c: Regenerated.
107 * generated/maxval_i8.c: Regenerated.
108 * generated/maxval_r10.c: Regenerated.
109 * generated/maxval_r16.c: Regenerated.
110 * generated/maxval_r4.c: Regenerated.
111 * generated/maxval_r8.c: Regenerated.
112 * generated/minloc0_16_i1.c: Regenerated.
113 * generated/minloc0_16_i16.c: Regenerated.
114 * generated/minloc0_16_i2.c: Regenerated.
115 * generated/minloc0_16_i4.c: Regenerated.
116 * generated/minloc0_16_i8.c: Regenerated.
117 * generated/minloc0_16_r10.c: Regenerated.
118 * generated/minloc0_16_r16.c: Regenerated.
119 * generated/minloc0_16_r4.c: Regenerated.
120 * generated/minloc0_16_r8.c: Regenerated.
121 * generated/minloc0_16_s1.c: Regenerated.
122 * generated/minloc0_16_s4.c: Regenerated.
123 * generated/minloc0_4_i1.c: Regenerated.
124 * generated/minloc0_4_i16.c: Regenerated.
125 * generated/minloc0_4_i2.c: Regenerated.
126 * generated/minloc0_4_i4.c: Regenerated.
127 * generated/minloc0_4_i8.c: Regenerated.
128 * generated/minloc0_4_r10.c: Regenerated.
129 * generated/minloc0_4_r16.c: Regenerated.
130 * generated/minloc0_4_r4.c: Regenerated.
131 * generated/minloc0_4_r8.c: Regenerated.
132 * generated/minloc0_4_s1.c: Regenerated.
133 * generated/minloc0_4_s4.c: Regenerated.
134 * generated/minloc0_8_i1.c: Regenerated.
135 * generated/minloc0_8_i16.c: Regenerated.
136 * generated/minloc0_8_i2.c: Regenerated.
137 * generated/minloc0_8_i4.c: Regenerated.
138 * generated/minloc0_8_i8.c: Regenerated.
139 * generated/minloc0_8_r10.c: Regenerated.
140 * generated/minloc0_8_r16.c: Regenerated.
141 * generated/minloc0_8_r4.c: Regenerated.
142 * generated/minloc0_8_r8.c: Regenerated.
143 * generated/minloc0_8_s1.c: Regenerated.
144 * generated/minloc0_8_s4.c: Regenerated.
145 * generated/minloc1_16_i1.c: Regenerated.
146 * generated/minloc1_16_i16.c: Regenerated.
147 * generated/minloc1_16_i2.c: Regenerated.
148 * generated/minloc1_16_i4.c: Regenerated.
149 * generated/minloc1_16_i8.c: Regenerated.
150 * generated/minloc1_16_r10.c: Regenerated.
151 * generated/minloc1_16_r16.c: Regenerated.
152 * generated/minloc1_16_r4.c: Regenerated.
153 * generated/minloc1_16_r8.c: Regenerated.
154 * generated/minloc1_16_s1.c: Regenerated.
155 * generated/minloc1_16_s4.c: Regenerated.
156 * generated/minloc1_4_i1.c: Regenerated.
157 * generated/minloc1_4_i16.c: Regenerated.
158 * generated/minloc1_4_i2.c: Regenerated.
159 * generated/minloc1_4_i4.c: Regenerated.
160 * generated/minloc1_4_i8.c: Regenerated.
161 * generated/minloc1_4_r10.c: Regenerated.
162 * generated/minloc1_4_r16.c: Regenerated.
163 * generated/minloc1_4_r4.c: Regenerated.
164 * generated/minloc1_4_r8.c: Regenerated.
165 * generated/minloc1_4_s1.c: Regenerated.
166 * generated/minloc1_4_s4.c: Regenerated.
167 * generated/minloc1_8_i1.c: Regenerated.
168 * generated/minloc1_8_i16.c: Regenerated.
169 * generated/minloc1_8_i2.c: Regenerated.
170 * generated/minloc1_8_i4.c: Regenerated.
171 * generated/minloc1_8_i8.c: Regenerated.
172 * generated/minloc1_8_r10.c: Regenerated.
173 * generated/minloc1_8_r16.c: Regenerated.
174 * generated/minloc1_8_r4.c: Regenerated.
175 * generated/minloc1_8_r8.c: Regenerated.
176 * generated/minloc1_8_s1.c: Regenerated.
177 * generated/minloc1_8_s4.c: Regenerated.
178 * generated/minval_i1.c: Regenerated.
179 * generated/minval_i16.c: Regenerated.
180 * generated/minval_i2.c: Regenerated.
181 * generated/minval_i4.c: Regenerated.
182 * generated/minval_i8.c: Regenerated.
183 * generated/minval_r10.c: Regenerated.
184 * generated/minval_r16.c: Regenerated.
185 * generated/minval_r4.c: Regenerated.
186 * generated/minval_r8.c: Regenerated.
187 * generated/norm2_r10.c: Regenerated.
188 * generated/norm2_r16.c: Regenerated.
189 * generated/norm2_r4.c: Regenerated.
190 * generated/norm2_r8.c: Regenerated.
191 * generated/parity_l1.c: Regenerated.
192 * generated/parity_l16.c: Regenerated.
193 * generated/parity_l2.c: Regenerated.
194 * generated/parity_l4.c: Regenerated.
195 * generated/parity_l8.c: Regenerated.
196 * generated/product_c10.c: Regenerated.
197 * generated/product_c16.c: Regenerated.
198 * generated/product_c4.c: Regenerated.
199 * generated/product_c8.c: Regenerated.
200 * generated/product_i1.c: Regenerated.
201 * generated/product_i16.c: Regenerated.
202 * generated/product_i2.c: Regenerated.
203 * generated/product_i4.c: Regenerated.
204 * generated/product_i8.c: Regenerated.
205 * generated/product_r10.c: Regenerated.
206 * generated/product_r16.c: Regenerated.
207 * generated/product_r4.c: Regenerated.
208 * generated/product_r8.c: Regenerated.
209 * generated/sum_c10.c: Regenerated.
210 * generated/sum_c16.c: Regenerated.
211 * generated/sum_c4.c: Regenerated.
212 * generated/sum_c8.c: Regenerated.
213 * generated/sum_i1.c: Regenerated.
214 * generated/sum_i16.c: Regenerated.
215 * generated/sum_i2.c: Regenerated.
216 * generated/sum_i4.c: Regenerated.
217 * generated/sum_i8.c: Regenerated.
218 * generated/sum_r10.c: Regenerated.
219 * generated/sum_r16.c: Regenerated.
220 * generated/sum_r4.c: Regenerated.
221 * generated/sum_r8.c: Regenerated.
223 2018-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
226 * write.c (select_buffer): Adjust buffer size up by 1.
228 2018-01-08 Janne Blomqvist <jb@gcc.gnu.org>
230 PR 78534, bugfix for r256322
231 * io/transfer.c (next_record_w): Use correct type for return value
232 of next_array_record.
234 2018-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
236 * libgfortran.h (GFC_DTYPE_COPY): New macro.
237 (GFC_DTYPE_COPY_SETRANK): New macro.
238 (GFC_DTYPE_IS_UNSET): New macro.
239 * intrinsics/cshift0.c (cshift0): Use new macros.
240 * intrinsics/eoshift0.c (eoshift0): Likewise.
241 * intrinsics/eoshift2.c (eoshift2): Likewise.
242 * intrinsics/move_alloc.c (move_alloc): Likewise.
243 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
244 * intrinsics/spread_generic.c (spread_internal): Likewise.
245 * intrinsics/spread_generic.c (spread_scalar): Likewise.
246 * intrinsics/spread_generic.c (spread_char_scalar): Likewise.
247 * intrinsics/spread_generic.c (spread_char4_scalar): Likewise.
248 * intrinsics/unpack_generic.c (unpack0): Likewise.
249 * intrinsics/unpack_generic.c (unpack0_char): Likewise.
250 * intrinsics/unpack_generic.c (unpack0_char4): Likewise.
251 * m4/cshift1.m4 (cshift1): Likewise.
252 * m4/eoshift1.m4 (eoshift1): Likewise.
253 * m4/eoshift3.m4 (eoshift3): Likewise.
254 * m4/iforeach-s.m4: Likewise.
255 * m4/iforeach.m4: Likewise.
256 * m4/ifunction-s.m4: Likewise.
257 * m4/ifunction-s2.m4: Likewise.
258 * m4/ifunction.m4: Likewise.
259 * m4/ifunction_logical.m4: Likewise.
260 * m4/reshape.m4: Likewise.
261 * m4/spread.m4: Likewise.
262 * generated/all_l1.c : Regenerated.
263 * generated/all_l16.c : Regenerated.
264 * generated/all_l2.c : Regenerated.
265 * generated/all_l4.c : Regenerated.
266 * generated/all_l8.c : Regenerated.
267 * generated/any_l1.c : Regenerated.
268 * generated/any_l16.c : Regenerated.
269 * generated/any_l2.c : Regenerated.
270 * generated/any_l4.c : Regenerated.
271 * generated/any_l8.c : Regenerated.
272 * generated/count_16_l.c : Regenerated.
273 * generated/count_1_l.c : Regenerated.
274 * generated/count_2_l.c : Regenerated.
275 * generated/count_4_l.c : Regenerated.
276 * generated/count_8_l.c : Regenerated.
277 * generated/cshift1_16.c : Regenerated.
278 * generated/cshift1_4.c : Regenerated.
279 * generated/cshift1_8.c : Regenerated.
280 * generated/eoshift1_16.c : Regenerated.
281 * generated/eoshift1_4.c : Regenerated.
282 * generated/eoshift1_8.c : Regenerated.
283 * generated/eoshift3_16.c : Regenerated.
284 * generated/eoshift3_4.c : Regenerated.
285 * generated/eoshift3_8.c : Regenerated.
286 * generated/iall_i1.c : Regenerated.
287 * generated/iall_i16.c : Regenerated.
288 * generated/iall_i2.c : Regenerated.
289 * generated/iall_i4.c : Regenerated.
290 * generated/iall_i8.c : Regenerated.
291 * generated/iany_i1.c : Regenerated.
292 * generated/iany_i16.c : Regenerated.
293 * generated/iany_i2.c : Regenerated.
294 * generated/iany_i4.c : Regenerated.
295 * generated/iany_i8.c : Regenerated.
296 * generated/iparity_i1.c : Regenerated.
297 * generated/iparity_i16.c : Regenerated.
298 * generated/iparity_i2.c : Regenerated.
299 * generated/iparity_i4.c : Regenerated.
300 * generated/iparity_i8.c : Regenerated.
301 * generated/maxloc0_16_i1.c : Regenerated.
302 * generated/maxloc0_16_i16.c : Regenerated.
303 * generated/maxloc0_16_i2.c : Regenerated.
304 * generated/maxloc0_16_i4.c : Regenerated.
305 * generated/maxloc0_16_i8.c : Regenerated.
306 * generated/maxloc0_16_r10.c : Regenerated.
307 * generated/maxloc0_16_r16.c : Regenerated.
308 * generated/maxloc0_16_r4.c : Regenerated.
309 * generated/maxloc0_16_r8.c : Regenerated.
310 * generated/maxloc0_16_s1.c : Regenerated.
311 * generated/maxloc0_16_s4.c : Regenerated.
312 * generated/maxloc0_4_i1.c : Regenerated.
313 * generated/maxloc0_4_i16.c : Regenerated.
314 * generated/maxloc0_4_i2.c : Regenerated.
315 * generated/maxloc0_4_i4.c : Regenerated.
316 * generated/maxloc0_4_i8.c : Regenerated.
317 * generated/maxloc0_4_r10.c : Regenerated.
318 * generated/maxloc0_4_r16.c : Regenerated.
319 * generated/maxloc0_4_r4.c : Regenerated.
320 * generated/maxloc0_4_r8.c : Regenerated.
321 * generated/maxloc0_4_s1.c : Regenerated.
322 * generated/maxloc0_4_s4.c : Regenerated.
323 * generated/maxloc0_8_i1.c : Regenerated.
324 * generated/maxloc0_8_i16.c : Regenerated.
325 * generated/maxloc0_8_i2.c : Regenerated.
326 * generated/maxloc0_8_i4.c : Regenerated.
327 * generated/maxloc0_8_i8.c : Regenerated.
328 * generated/maxloc0_8_r10.c : Regenerated.
329 * generated/maxloc0_8_r16.c : Regenerated.
330 * generated/maxloc0_8_r4.c : Regenerated.
331 * generated/maxloc0_8_r8.c : Regenerated.
332 * generated/maxloc0_8_s1.c : Regenerated.
333 * generated/maxloc0_8_s4.c : Regenerated.
334 * generated/maxloc1_16_i1.c : Regenerated.
335 * generated/maxloc1_16_i16.c : Regenerated.
336 * generated/maxloc1_16_i2.c : Regenerated.
337 * generated/maxloc1_16_i4.c : Regenerated.
338 * generated/maxloc1_16_i8.c : Regenerated.
339 * generated/maxloc1_16_r10.c : Regenerated.
340 * generated/maxloc1_16_r16.c : Regenerated.
341 * generated/maxloc1_16_r4.c : Regenerated.
342 * generated/maxloc1_16_r8.c : Regenerated.
343 * generated/maxloc1_16_s1.c : Regenerated.
344 * generated/maxloc1_16_s4.c : Regenerated.
345 * generated/maxloc1_4_i1.c : Regenerated.
346 * generated/maxloc1_4_i16.c : Regenerated.
347 * generated/maxloc1_4_i2.c : Regenerated.
348 * generated/maxloc1_4_i4.c : Regenerated.
349 * generated/maxloc1_4_i8.c : Regenerated.
350 * generated/maxloc1_4_r10.c : Regenerated.
351 * generated/maxloc1_4_r16.c : Regenerated.
352 * generated/maxloc1_4_r4.c : Regenerated.
353 * generated/maxloc1_4_r8.c : Regenerated.
354 * generated/maxloc1_4_s1.c : Regenerated.
355 * generated/maxloc1_4_s4.c : Regenerated.
356 * generated/maxloc1_8_i1.c : Regenerated.
357 * generated/maxloc1_8_i16.c : Regenerated.
358 * generated/maxloc1_8_i2.c : Regenerated.
359 * generated/maxloc1_8_i4.c : Regenerated.
360 * generated/maxloc1_8_i8.c : Regenerated.
361 * generated/maxloc1_8_r10.c : Regenerated.
362 * generated/maxloc1_8_r16.c : Regenerated.
363 * generated/maxloc1_8_r4.c : Regenerated.
364 * generated/maxloc1_8_r8.c : Regenerated.
365 * generated/maxloc1_8_s1.c : Regenerated.
366 * generated/maxloc1_8_s4.c : Regenerated.
367 * generated/maxval1_s1.c : Regenerated.
368 * generated/maxval1_s4.c : Regenerated.
369 * generated/maxval_i1.c : Regenerated.
370 * generated/maxval_i16.c : Regenerated.
371 * generated/maxval_i2.c : Regenerated.
372 * generated/maxval_i4.c : Regenerated.
373 * generated/maxval_i8.c : Regenerated.
374 * generated/maxval_r10.c : Regenerated.
375 * generated/maxval_r16.c : Regenerated.
376 * generated/maxval_r4.c : Regenerated.
377 * generated/maxval_r8.c : Regenerated.
378 * generated/minloc0_16_i1.c : Regenerated.
379 * generated/minloc0_16_i16.c : Regenerated.
380 * generated/minloc0_16_i2.c : Regenerated.
381 * generated/minloc0_16_i4.c : Regenerated.
382 * generated/minloc0_16_i8.c : Regenerated.
383 * generated/minloc0_16_r10.c : Regenerated.
384 * generated/minloc0_16_r16.c : Regenerated.
385 * generated/minloc0_16_r4.c : Regenerated.
386 * generated/minloc0_16_r8.c : Regenerated.
387 * generated/minloc0_16_s1.c : Regenerated.
388 * generated/minloc0_16_s4.c : Regenerated.
389 * generated/minloc0_4_i1.c : Regenerated.
390 * generated/minloc0_4_i16.c : Regenerated.
391 * generated/minloc0_4_i2.c : Regenerated.
392 * generated/minloc0_4_i4.c : Regenerated.
393 * generated/minloc0_4_i8.c : Regenerated.
394 * generated/minloc0_4_r10.c : Regenerated.
395 * generated/minloc0_4_r16.c : Regenerated.
396 * generated/minloc0_4_r4.c : Regenerated.
397 * generated/minloc0_4_r8.c : Regenerated.
398 * generated/minloc0_4_s1.c : Regenerated.
399 * generated/minloc0_4_s4.c : Regenerated.
400 * generated/minloc0_8_i1.c : Regenerated.
401 * generated/minloc0_8_i16.c : Regenerated.
402 * generated/minloc0_8_i2.c : Regenerated.
403 * generated/minloc0_8_i4.c : Regenerated.
404 * generated/minloc0_8_i8.c : Regenerated.
405 * generated/minloc0_8_r10.c : Regenerated.
406 * generated/minloc0_8_r16.c : Regenerated.
407 * generated/minloc0_8_r4.c : Regenerated.
408 * generated/minloc0_8_r8.c : Regenerated.
409 * generated/minloc0_8_s1.c : Regenerated.
410 * generated/minloc0_8_s4.c : Regenerated.
411 * generated/minloc1_16_i1.c : Regenerated.
412 * generated/minloc1_16_i16.c : Regenerated.
413 * generated/minloc1_16_i2.c : Regenerated.
414 * generated/minloc1_16_i4.c : Regenerated.
415 * generated/minloc1_16_i8.c : Regenerated.
416 * generated/minloc1_16_r10.c : Regenerated.
417 * generated/minloc1_16_r16.c : Regenerated.
418 * generated/minloc1_16_r4.c : Regenerated.
419 * generated/minloc1_16_r8.c : Regenerated.
420 * generated/minloc1_16_s1.c : Regenerated.
421 * generated/minloc1_16_s4.c : Regenerated.
422 * generated/minloc1_4_i1.c : Regenerated.
423 * generated/minloc1_4_i16.c : Regenerated.
424 * generated/minloc1_4_i2.c : Regenerated.
425 * generated/minloc1_4_i4.c : Regenerated.
426 * generated/minloc1_4_i8.c : Regenerated.
427 * generated/minloc1_4_r10.c : Regenerated.
428 * generated/minloc1_4_r16.c : Regenerated.
429 * generated/minloc1_4_r4.c : Regenerated.
430 * generated/minloc1_4_r8.c : Regenerated.
431 * generated/minloc1_4_s1.c : Regenerated.
432 * generated/minloc1_4_s4.c : Regenerated.
433 * generated/minloc1_8_i1.c : Regenerated.
434 * generated/minloc1_8_i16.c : Regenerated.
435 * generated/minloc1_8_i2.c : Regenerated.
436 * generated/minloc1_8_i4.c : Regenerated.
437 * generated/minloc1_8_i8.c : Regenerated.
438 * generated/minloc1_8_r10.c : Regenerated.
439 * generated/minloc1_8_r16.c : Regenerated.
440 * generated/minloc1_8_r4.c : Regenerated.
441 * generated/minloc1_8_r8.c : Regenerated.
442 * generated/minloc1_8_s1.c : Regenerated.
443 * generated/minloc1_8_s4.c : Regenerated.
444 * generated/minval1_s1.c : Regenerated.
445 * generated/minval1_s4.c : Regenerated.
446 * generated/minval_i1.c : Regenerated.
447 * generated/minval_i16.c : Regenerated.
448 * generated/minval_i2.c : Regenerated.
449 * generated/minval_i4.c : Regenerated.
450 * generated/minval_i8.c : Regenerated.
451 * generated/minval_r10.c : Regenerated.
452 * generated/minval_r16.c : Regenerated.
453 * generated/minval_r4.c : Regenerated.
454 * generated/minval_r8.c : Regenerated.
455 * generated/norm2_r10.c : Regenerated.
456 * generated/norm2_r16.c : Regenerated.
457 * generated/norm2_r4.c : Regenerated.
458 * generated/norm2_r8.c : Regenerated.
459 * generated/parity_l1.c : Regenerated.
460 * generated/parity_l16.c : Regenerated.
461 * generated/parity_l2.c : Regenerated.
462 * generated/parity_l4.c : Regenerated.
463 * generated/parity_l8.c : Regenerated.
464 * generated/product_c10.c : Regenerated.
465 * generated/product_c16.c : Regenerated.
466 * generated/product_c4.c : Regenerated.
467 * generated/product_c8.c : Regenerated.
468 * generated/product_i1.c : Regenerated.
469 * generated/product_i16.c : Regenerated.
470 * generated/product_i2.c : Regenerated.
471 * generated/product_i4.c : Regenerated.
472 * generated/product_i8.c : Regenerated.
473 * generated/product_r10.c : Regenerated.
474 * generated/product_r16.c : Regenerated.
475 * generated/product_r4.c : Regenerated.
476 * generated/product_r8.c : Regenerated.
477 * generated/reshape_c10.c : Regenerated.
478 * generated/reshape_c16.c : Regenerated.
479 * generated/reshape_c4.c : Regenerated.
480 * generated/reshape_c8.c : Regenerated.
481 * generated/reshape_i16.c : Regenerated.
482 * generated/reshape_i4.c : Regenerated.
483 * generated/reshape_i8.c : Regenerated.
484 * generated/reshape_r10.c : Regenerated.
485 * generated/reshape_r16.c : Regenerated.
486 * generated/reshape_r4.c : Regenerated.
487 * generated/reshape_r8.c : Regenerated.
488 * generated/spread_c10.c : Regenerated.
489 * generated/spread_c16.c : Regenerated.
490 * generated/spread_c4.c : Regenerated.
491 * generated/spread_c8.c : Regenerated.
492 * generated/spread_i1.c : Regenerated.
493 * generated/spread_i16.c : Regenerated.
494 * generated/spread_i2.c : Regenerated.
495 * generated/spread_i4.c : Regenerated.
496 * generated/spread_i8.c : Regenerated.
497 * generated/spread_r10.c : Regenerated.
498 * generated/spread_r16.c : Regenerated.
499 * generated/spread_r4.c : Regenerated.
500 * generated/spread_r8.c : Regenerated.
501 * generated/sum_c10.c : Regenerated.
502 * generated/sum_c16.c : Regenerated.
503 * generated/sum_c4.c : Regenerated.
504 * generated/sum_c8.c : Regenerated.
505 * generated/sum_i1.c : Regenerated.
506 * generated/sum_i16.c : Regenerated.
507 * generated/sum_i2.c : Regenerated.
508 * generated/sum_i4.c : Regenerated.
509 * generated/sum_i8.c : Regenerated.
510 * generated/sum_r10.c : Regenerated.
511 * generated/sum_r16.c : Regenerated.
512 * generated/sum_r4.c : Regenerated.
513 * generated/sum_r8.c : Regenerated.
515 2018-01-07 Janne Blomqvist <jb@gcc.gnu.org>
519 * io/fbuf.c (fbuf_init): Use size_t instead of int for length.
520 (fbuf_debug): Convert debug output to unsigned long.
521 (fbuf_reset): Use ptrdiff_t for return value.
522 (fbuf_alloc): Use size_t for length argument.
523 (fbuf_flush): Handle large buffers.
524 (fbuf_flush_list): Likewise.
525 (fbuf_seek): Use ptrdiff_t for offset and return value.
526 (fbuf_read): Use size_t for length argument.
527 (fbuf_getc_refill): Use size_t to match fbuf_read.
528 * io/fbuf.h (struct fbuf): Use size_t for lengths.
529 (fbuf_init): Use size_t instead of int for length.
530 (fbuf_reset): Use ptrdiff_t for return value.
531 (fbuf_alloc): Use size_t for length argument.
532 (fbuf_seek): Use ptrdiff_t for offset and return value.
533 (fbuf_read): Use size_t for length argument.
534 * io/io.h (read_block_form): Likewise.
535 (read_block_form4): Likewise.
536 (write_block): Likewise.
538 (read_a_char4): Likewise.
541 (write_a_char4): Likewise.
542 * io/list_read.c (list_formatted_read_scalar): Use size_t to
543 handle large buffers.
544 * io/read.c (read_l): Likewise.
545 (read_utf8): Likewise.
546 (read_utf8_char1): Likewise.
547 (read_default_char1): Likewise.
548 (read_utf8_char4): Likewise.
549 (read_default_char4): Likewise.
551 (read_a_char4): Likewise.
552 (eat_leading_spaces): Likewise.
553 (next_char): Likewise.
554 (read_decimal): Likewise.
555 (read_radix): Likewise.
558 * io/transfer.c (read_sf_internal): Likewise.
560 (read_block_form): Likewise.
561 (read_block_form4): Likewise.
562 (write_block): Likewise.
563 (formatted_transfer_scalar_write): Likewise.
564 (next_record_w): Likewise.
565 * io/unix.c (mem_alloc_r): Likewise.
566 (mem_alloc_r4): Likewise.
567 (mem_alloc_w): Likewise.
568 (mem_alloc_w4): Likewise.
569 (mem_read): Likewise.
570 (mem_read4): Likewise.
571 (mem_write): Likewise.
572 (mem_write4): Likewise.
573 (open_internal): Likewise.
574 (open_internal4): Likewise.
575 * io/unix.h (open_internal): Likewise.
576 (open_internal4): Likewise.
577 (mem_alloc_w): Likewise.
578 (mem_alloc_r): Likewise.
579 (mem_alloc_w4): Likewise.
580 (mem_alloc_r4): Likewise.
581 * io/write.c (write_check_cc): Likewise.
582 (write_cc): Likewise.
584 (write_a_char4): Likewise.
586 2018-01-06 Janne Blomqvist <jb@gcc.gnu.org>
588 * io/write.c (namelist_write): Remove unused variable "i".
590 2018-01-06 Dominique d'Humieres <dominiq@lps.ens.fr>
591 Janne Blomqvist <jb@gcc.gnu.org>
594 * io/write.c (write_character): Use size_t instead of int for
597 2018-01-05 Janne Blomqvist <jb@gcc.gnu.org>
600 * intrinsics/args.c (getarg_i4): Use gfc_charlen_type.
601 (get_command_argument_i4): Likewise.
602 (get_command_i4): Likewise.
603 * intrinsics/chmod.c (chmod_internal): Likewise.
604 * intrinsics/env.c (get_environment_variable_i4): Likewise.
605 * intrinsics/extends_type_of.c (struct vtype): Use size_t for size
607 * intrinsics/gerror.c (gerror): Use gfc_charlen_type.
608 * intrinsics/getlog.c (getlog): Likewise.
609 * intrinsics/hostnm.c (hostnm_0): Likewise.
610 * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to
611 work if gfc_charlen_type is unsigned.
612 (string_scan): Likewise.
613 * io/transfer.c (transfer_character): Modify prototype.
614 (transfer_character_write): Likewise.
615 (transfer_character_wide): Likewise.
616 (transfer_character_wide_write): Likewise.
617 (transfer_array): Typecast to avoid signed-unsigned comparison.
618 * io/unit.c (is_trim_ok): Use gfc_charlen_type.
619 * io/write.c (namelist_write): Likewise.
620 * libgfortran.h (gfc_charlen_type): Change typedef to size_t.
622 2018-01-03 Jakub Jelinek <jakub@redhat.com>
624 Update copyright years.
626 2018-01-02 Janne Blomqvist <jb@gcc.gnu.org>
629 * io/unix.c (MAX_CHUNK): New define.
630 (raw_read): For reads larger than MAX_CHUNK, loop.
631 (raw_write): Write no more than MAX_CHUNK bytes per iteration.
633 Copyright (C) 2018 Free Software Foundation, Inc.
635 Copying and distribution of this file, with or without modification,
636 are permitted in any medium without royalty provided the copyright
637 notice and this notice are preserved.