]>
Commit | Line | Data |
---|---|---|
22e05272 JM |
1 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
2 | ||
3 | PR bootstrap/82856 | |
4 | * Makefile.am: Include multilib.am. | |
5 | * configure.ac: Remove AC_PREREQ. | |
6 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
7 | ||
01ce9e31 TK |
8 | 2017-10-28 Thomas Koenig <tkoenig@gcc.gnu.org> |
9 | ||
10 | PR fortran/54613 | |
11 | * Makefile.am: Add files for findloc. | |
12 | * Makefile.in: Regenerated. | |
13 | * libgfortran.h (gfc_array_index_type): Add. | |
14 | (gfc_array_s1): Add using GFC_UINTEGER_1. | |
15 | (gfc_array_s4): Likewise. | |
16 | Replace unnecessary comment. | |
17 | (HAVE_GFC_UINTEGER_1): Define. | |
18 | (HAVE_GFC_UINTEGER_4): Define. | |
19 | * m4/findloc0.m4: New file. | |
20 | * m4/findloc0s.m4: New file. | |
21 | * m4/findloc1.m4: New file. | |
22 | * m4/findloc1s.m4: New file. | |
23 | * m4/findloc2s.m4: New file. | |
24 | * m4/ifindloc0.m4: New file. | |
25 | * m4/ifindloc1.m4: New file. | |
26 | * m4/ifindloc2.m4: New file. | |
27 | * m4/iparm.m4: Use unsigned integer for characters. | |
28 | * generated/findloc0_c16.c: New file. | |
29 | * generated/findloc0_c4.c: New file. | |
30 | * generated/findloc0_c8.c: New file. | |
31 | * generated/findloc0_i1.c: New file. | |
32 | * generated/findloc0_i16.c: New file. | |
33 | * generated/findloc0_i2.c: New file. | |
34 | * generated/findloc0_i4.c: New file. | |
35 | * generated/findloc0_i8.c: New file. | |
36 | * generated/findloc0_r16.c: New file. | |
37 | * generated/findloc0_r4.c: New file. | |
38 | * generated/findloc0_r8.c: New file. | |
39 | * generated/findloc0_s1.c: New file. | |
40 | * generated/findloc0_s4.c: New file. | |
41 | * generated/findloc1_c16.c: New file. | |
42 | * generated/findloc1_c4.c: New file. | |
43 | * generated/findloc1_c8.c: New file. | |
44 | * generated/findloc1_i1.c: New file. | |
45 | * generated/findloc1_i16.c: New file. | |
46 | * generated/findloc1_i2.c: New file. | |
47 | * generated/findloc1_i4.c: New file. | |
48 | * generated/findloc1_i8.c: New file. | |
49 | * generated/findloc1_r16.c: New file. | |
50 | * generated/findloc1_r4.c: New file. | |
51 | * generated/findloc1_r8.c: New file. | |
52 | * generated/findloc1_s1.c: New file. | |
53 | * generated/findloc1_s4.c: New file. | |
54 | * generated/findloc2_s1.c: New file. | |
55 | * generated/findloc2_s4.c: New file. | |
56 | * generated/maxloc0_16_s1.c: Regenerated. | |
57 | * generated/maxloc0_16_s4.c: Regenerated. | |
58 | * generated/maxloc0_4_s1.c: Regenerated. | |
59 | * generated/maxloc0_4_s4.c: Regenerated. | |
60 | * generated/maxloc0_8_s1.c: Regenerated. | |
61 | * generated/maxloc0_8_s4.c: Regenerated. | |
62 | * generated/maxloc1_16_s1.c: Regenerated. | |
63 | * generated/maxloc1_16_s4.c: Regenerated. | |
64 | * generated/maxloc1_4_s1.c: Regenerated. | |
65 | * generated/maxloc1_4_s4.c: Regenerated. | |
66 | * generated/maxloc1_8_s1.c: Regenerated. | |
67 | * generated/maxloc1_8_s4.c: Regenerated. | |
68 | * generated/maxloc2_16_s1.c: Regenerated. | |
69 | * generated/maxloc2_16_s4.c: Regenerated. | |
70 | * generated/maxloc2_4_s1.c: Regenerated. | |
71 | * generated/maxloc2_4_s4.c: Regenerated. | |
72 | * generated/maxloc2_8_s1.c: Regenerated. | |
73 | * generated/maxloc2_8_s4.c: Regenerated. | |
74 | * generated/maxval0_s1.c: Regenerated. | |
75 | * generated/maxval0_s4.c: Regenerated. | |
76 | * generated/maxval1_s1.c: Regenerated. | |
77 | * generated/maxval1_s4.c: Regenerated. | |
78 | * generated/minloc0_16_s1.c: Regenerated. | |
79 | * generated/minloc0_16_s4.c: Regenerated. | |
80 | * generated/minloc0_4_s1.c: Regenerated. | |
81 | * generated/minloc0_4_s4.c: Regenerated. | |
82 | * generated/minloc0_8_s1.c: Regenerated. | |
83 | * generated/minloc0_8_s4.c: Regenerated. | |
84 | * generated/minloc1_16_s1.c: Regenerated. | |
85 | * generated/minloc1_16_s4.c: Regenerated. | |
86 | * generated/minloc1_4_s1.c: Regenerated. | |
87 | * generated/minloc1_4_s4.c: Regenerated. | |
88 | * generated/minloc1_8_s1.c: Regenerated. | |
89 | * generated/minloc1_8_s4.c: Regenerated. | |
90 | * generated/minloc2_16_s1.c: Regenerated. | |
91 | * generated/minloc2_16_s4.c: Regenerated. | |
92 | * generated/minloc2_4_s1.c: Regenerated. | |
93 | * generated/minloc2_4_s4.c: Regenerated. | |
94 | * generated/minloc2_8_s1.c: Regenerated. | |
95 | * generated/minloc2_8_s4.c: Regenerated. | |
96 | * generated/minval0_s1.c: Regenerated. | |
97 | * generated/minval0_s4.c: Regenerated. | |
98 | * generated/minval1_s1.c: Regenerated. | |
99 | * generated/minval1_s4.c: Regenerated. | |
100 | ||
c0ab1530 JB |
101 | 2018-10-06 Janne Blomqvist <jb@gcc.gnu.org> |
102 | ||
103 | * io/unix.c (compare_file_filename): Use gfc_charlen_type instead | |
104 | of int for string length. | |
105 | (inquire_sequential): Likewise. | |
106 | (inquire_direct): Likewise. | |
107 | (inquire_formatted): Likewise. | |
108 | (inquire_unformatted): Likewise. | |
109 | (inquire_access): Likewise. | |
110 | (inquire_read): Likewise. | |
111 | (inquire_write): Likewise. | |
112 | (inquire_readwrite): Likewise. | |
113 | * io/unix.h (compare_file_filename): Likewise. | |
114 | (inquire_sequential): Likewise. | |
115 | (inquire_direct): Likewise. | |
116 | (inquire_formatted): Likewise. | |
117 | (inquire_unformatted): Likewise. | |
118 | (inquire_read): Likewise. | |
119 | (inquire_write): Likewise. | |
120 | (inquire_readwrite): Likewise. | |
121 | ||
ff504cc2 GP |
122 | 2018-10-02 Gerald Pfeifer <gerald@pfeifer.com> |
123 | ||
124 | * io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>. | |
125 | ||
edaaef60 JB |
126 | 2018-09-21 Janne Blomqvist <jb@gcc.gnu.org> |
127 | ||
128 | * config.h.in: Regenerated. | |
129 | * configure: Regenerated. | |
130 | * configure.ac: Check for writev and sys/uio.h. | |
131 | * libgfortran.h: Include sys/uio.h. | |
132 | (st_vprintf): Remove prototype. | |
133 | (struct iovec): Define if not available. | |
134 | (estr_writev): New prototype. | |
135 | * runtime/backtrace.c (error_callback): Use estr_writev. | |
136 | * runtime/error.c (ST_VPRINTF_SIZE): Remove. | |
137 | (estr_writev): New function. | |
138 | (st_vprintf): Remove. | |
139 | (gf_vsnprintf): New function. | |
140 | (ST_ERRBUF_SIZE): New macro. | |
141 | (st_printf): Use vsnprintf. | |
142 | (os_error): Use estr_writev. | |
143 | (runtime_error): Use vsnprintf and estr_writev. | |
144 | (runtime_error_at): Likewise. | |
145 | (runtime_warning_at): Likewise. | |
146 | (internal_error): Use estr_writev. | |
147 | (generate_error_common): Likewise. | |
148 | (generate_warning): Likewise. | |
149 | (notify_std): Likewise. | |
150 | * runtime/pause.c (pause_string): Likewise. | |
151 | * runtime/stop.c (report_exception): Likewise. | |
152 | (stop_string): Likewise. | |
153 | (error_stop_string): Likewise. | |
154 | ||
ed33417a TK |
155 | 2018-09-16 Thomas Koenig <tkoenig@gcc.gnu.org> |
156 | ||
157 | PR fortran/37802 | |
158 | * m4/matmul_internal.m4: Adjust error messages. | |
159 | * generated/matmul_c10.c: Regenerated. | |
160 | * generated/matmul_c16.c: Regenerated. | |
161 | * generated/matmul_c4.c: Regenerated. | |
162 | * generated/matmul_c8.c: Regenerated. | |
163 | * generated/matmul_i1.c: Regenerated. | |
164 | * generated/matmul_i16.c: Regenerated. | |
165 | * generated/matmul_i2.c: Regenerated. | |
166 | * generated/matmul_i4.c: Regenerated. | |
167 | * generated/matmul_i8.c: Regenerated. | |
168 | * generated/matmul_r10.c: Regenerated. | |
169 | * generated/matmul_r16.c: Regenerated. | |
170 | * generated/matmul_r4.c: Regenerated. | |
171 | * generated/matmul_r8.c: Regenerated. | |
172 | * generated/matmulavx128_c10.c: Regenerated. | |
173 | * generated/matmulavx128_c16.c: Regenerated. | |
174 | * generated/matmulavx128_c4.c: Regenerated. | |
175 | * generated/matmulavx128_c8.c: Regenerated. | |
176 | * generated/matmulavx128_i1.c: Regenerated. | |
177 | * generated/matmulavx128_i16.c: Regenerated. | |
178 | * generated/matmulavx128_i2.c: Regenerated. | |
179 | * generated/matmulavx128_i4.c: Regenerated. | |
180 | * generated/matmulavx128_i8.c: Regenerated. | |
181 | * generated/matmulavx128_r10.c: Regenerated. | |
182 | * generated/matmulavx128_r16.c: Regenerated. | |
183 | * generated/matmulavx128_r4.c: Regenerated. | |
184 | * generated/matmulavx128_r8.c: Regenerated. | |
185 | ||
ef5057c8 KT |
186 | 2018-09-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
187 | ||
188 | * io/unix.c (fallback_access): Avoid calling close on | |
189 | uninitialized file descriptor. | |
190 | ||
72ced874 KCY |
191 | 2018-09-12 Kwok Cheung Yeung <kcy@codesourcery.com> |
192 | ||
193 | * runtime/minimal.c (estr_write): Define in terms of write. | |
194 | ||
4986a956 AS |
195 | 2018-09-12 Andrew Stubbs <ams@codesourcery.com> |
196 | ||
197 | * runtime/minimal.c (exit): Only work around nvptx bugs on nvptx. | |
198 | ||
d4c0eb58 JB |
199 | 2018-09-07 Janne Blomqvist <jb@gcc.gnu.org> |
200 | ||
201 | * runtime/environ.c (init_unsigned_integer): Remove. | |
202 | ||
a7987858 HPN |
203 | 2018-09-05 Hans-Peter Nilsson <hp@axis.com> |
204 | ||
205 | * io/async.h: Use __gthread_mutex_t, not pthread_mutex_t. | |
206 | ||
636b78f0 JD |
207 | 2018-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
208 | ||
209 | * io/io.h: Change declaration of vlist type to | |
210 | gfc_full_array_i4 to eliminate warning for mismatched type. | |
211 | * io/format.c ((parse_format_list): Use gfc_full_array_i4. | |
212 | * io/io.h: Use gfc_full_array_i4. | |
213 | ||
4f4fabd7 TK |
214 | 2018-08-25 Thomas Koenig <tkoenig@gcc.gnu.org> |
215 | ||
216 | PR libfortran/86704 | |
217 | * m4/matmul_internal.m4: Correct calculation of needed buffer size | |
218 | for arrays of shape (1,n). | |
219 | * generated/matmul_c10.c: Regenerated | |
220 | * generated/matmul_c16.c: Regenerated | |
221 | * generated/matmul_c4.c: Regenerated | |
222 | * generated/matmul_c8.c: Regenerated | |
223 | * generated/matmul_i1.c: Regenerated | |
224 | * generated/matmul_i16.c: Regenerated | |
225 | * generated/matmul_i2.c: Regenerated | |
226 | * generated/matmul_i4.c: Regenerated | |
227 | * generated/matmul_i8.c: Regenerated | |
228 | * generated/matmul_r10.c: Regenerated | |
229 | * generated/matmul_r16.c: Regenerated | |
230 | * generated/matmul_r4.c: Regenerated | |
231 | * generated/matmul_r8.c: Regenerated | |
232 | * generated/matmulavx128_c10.c: Regenerated | |
233 | * generated/matmulavx128_c16.c: Regenerated | |
234 | * generated/matmulavx128_c4.c: Regenerated | |
235 | * generated/matmulavx128_c8.c: Regenerated | |
236 | * generated/matmulavx128_i1.c: Regenerated | |
237 | * generated/matmulavx128_i16.c: Regenerated | |
238 | * generated/matmulavx128_i2.c: Regenerated | |
239 | * generated/matmulavx128_i4.c: Regenerated | |
240 | * generated/matmulavx128_i8.c: Regenerated | |
241 | * generated/matmulavx128_r10.c: Regenerated | |
242 | * generated/matmulavx128_r16.c: Regenerated | |
243 | * generated/matmulavx128_r4.c: Regenerated | |
244 | * generated/matmulavx128_r8.c: Regenerated | |
245 | ||
464c1bd8 DE |
246 | 2018-08-23 David Edelsohn <dje.gcc@gmail.com> |
247 | ||
248 | * async.h (ASYNC_IO): Revert _AIX test. | |
249 | ||
2532f0f5 TK |
250 | 2018-08-22 Thomas Koenig <tkoenig@gcc.gnu.org> |
251 | ||
252 | * async.h: Set ASYNC_IO to zero if _AIX is defined. | |
253 | (struct adv_cond): If ASYNC_IO is zero, the struct has no members. | |
254 | (async_unit): If ASYNC_IO is zero, remove unneeded members. | |
255 | ||
2b4c9065 NK |
256 | 2018-08-21 Nicolas Koenig <koenigni@gcc.gnu.org> |
257 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
258 | ||
259 | PR fortran/25829 | |
260 | * Makefile.am: Add async.c to gfor_io_src. | |
261 | Add async.h to gfor_io_headers. | |
262 | * Makefile.in: Regenerated. | |
263 | * gfortran.map: Add _gfortran_st_wait_async. | |
264 | * io/async.c: New file. | |
265 | * io/async.h: New file. | |
266 | * io/close.c: Include async.h. | |
267 | (st_close): Call async_wait for an asynchronous unit. | |
268 | * io/file_pos.c (st_backspace): Likewise. | |
269 | (st_endfile): Likewise. | |
270 | (st_rewind): Likewise. | |
271 | (st_flush): Likewise. | |
272 | * io/inquire.c: Add handling for asynchronous PENDING | |
273 | and ID arguments. | |
274 | * io/io.h (st_parameter_dt): Add async bit. | |
275 | (st_parameter_wait): Correct. | |
276 | (gfc_unit): Add au pointer. | |
277 | (st_wait_async): Add prototype. | |
278 | (transfer_array_inner): Likewise. | |
279 | (st_write_done_worker): Likewise. | |
280 | * io/open.c: Include async.h. | |
281 | (new_unit): Initialize asynchronous unit. | |
282 | * io/transfer.c (async_opt): New struct. | |
283 | (wrap_scalar_transfer): New function. | |
284 | (transfer_integer): Call wrap_scalar_transfer to do the work. | |
285 | (transfer_real): Likewise. | |
286 | (transfer_real_write): Likewise. | |
287 | (transfer_character): Likewise. | |
288 | (transfer_character_wide): Likewise. | |
289 | (transfer_complex): Likewise. | |
290 | (transfer_array_inner): New function. | |
291 | (transfer_array): Call transfer_array_inner. | |
292 | (transfer_derived): Call wrap_scalar_transfer. | |
293 | (data_transfer_init): Check for asynchronous I/O. | |
294 | Perform a wait operation on any pending asynchronous I/O | |
295 | if the data transfer is synchronous. Copy PDT and enqueue | |
296 | thread for data transfer. | |
297 | (st_read_done_worker): New function. | |
298 | (st_read_done): Enqueue transfer or call st_read_done_worker. | |
299 | (st_write_done_worker): New function. | |
300 | (st_write_done): Enqueue transfer or call st_read_done_worker. | |
301 | (st_wait): Document as no-op for compatibility reasons. | |
302 | (st_wait_async): New function. | |
303 | * io/unit.c (insert_unit): Use macros LOCK, UNLOCK and TRYLOCK; | |
304 | add NOTE where necessary. | |
305 | (get_gfc_unit): Likewise. | |
306 | (init_units): Likewise. | |
307 | (close_unit_1): Likewise. Call async_close if asynchronous. | |
308 | (close_unit): Use macros LOCK and UNLOCK. | |
309 | (finish_last_advance_record): Likewise. | |
310 | (newunit_alloc): Likewise. | |
311 | * io/unix.c (find_file): Likewise. | |
312 | (flush_all_units_1): Likewise. | |
313 | (flush_all_units): Likewise. | |
314 | * libgfortran.h (generate_error_common): Add prototype. | |
315 | * runtime/error.c: Include io.h and async.h. | |
316 | (generate_error_common): New function. | |
317 | ||
864c28e1 RO |
318 | 2018-08-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
319 | ||
320 | * configure.ac: Check for <sys/random.h>. | |
321 | * configure, config.h.in: Regenerate. | |
322 | * intrinsics/random.c [HAVE_SYS_RANDOM_H]: Include <sys/random.h>. | |
323 | ||
d66d6d15 JB |
324 | 2018-08-13 Janne Blomqvist <jb@gcc.gnu.org> |
325 | ||
326 | * configure.ac: Check for getentropy. | |
327 | * intrinsics/random.c (getosrandom): Use getentropy if available. | |
328 | * config.h.in: Regenerated. | |
329 | * configure: Regenerated. | |
330 | ||
1d4a51cf AV |
331 | 2018-07-31 Andre Vieira <andre.simoesdiasvieira@arm.com> |
332 | ||
333 | Revert 'AsyncI/O patch committed' | |
334 | 2018-07-25 Nicolas Koenig <koenigni@gcc.gnu.org> | |
335 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
336 | ||
337 | PR fortran/25829 | |
338 | * Makefile.am: Add async.c to gfor_io_src. | |
339 | Add async.h to gfor_io_headers. | |
340 | * Makefile.in: Regenerated. | |
341 | * gfortran.map: Add _gfortran_st_wait_async. | |
342 | * io/async.c: New file. | |
343 | * io/async.h: New file. | |
344 | * io/close.c: Include async.h. | |
345 | (st_close): Call async_wait for an asynchronous unit. | |
346 | * io/file_pos.c (st_backspace): Likewise. | |
347 | (st_endfile): Likewise. | |
348 | (st_rewind): Likewise. | |
349 | (st_flush): Likewise. | |
350 | * io/inquire.c: Add handling for asynchronous PENDING | |
351 | and ID arguments. | |
352 | * io/io.h (st_parameter_dt): Add async bit. | |
353 | (st_parameter_wait): Correct. | |
354 | (gfc_unit): Add au pointer. | |
355 | (st_wait_async): Add prototype. | |
356 | (transfer_array_inner): Likewise. | |
357 | (st_write_done_worker): Likewise. | |
358 | * io/open.c: Include async.h. | |
359 | (new_unit): Initialize asynchronous unit. | |
360 | * io/transfer.c (async_opt): New struct. | |
361 | (wrap_scalar_transfer): New function. | |
362 | (transfer_integer): Call wrap_scalar_transfer to do the work. | |
363 | (transfer_real): Likewise. | |
364 | (transfer_real_write): Likewise. | |
365 | (transfer_character): Likewise. | |
366 | (transfer_character_wide): Likewise. | |
367 | (transfer_complex): Likewise. | |
368 | (transfer_array_inner): New function. | |
369 | (transfer_array): Call transfer_array_inner. | |
370 | (transfer_derived): Call wrap_scalar_transfer. | |
371 | (data_transfer_init): Check for asynchronous I/O. | |
372 | Perform a wait operation on any pending asynchronous I/O | |
373 | if the data transfer is synchronous. Copy PDT and enqueue | |
374 | thread for data transfer. | |
375 | (st_read_done_worker): New function. | |
376 | (st_read_done): Enqueue transfer or call st_read_done_worker. | |
377 | (st_write_done_worker): New function. | |
378 | (st_write_done): Enqueue transfer or call st_read_done_worker. | |
379 | (st_wait): Document as no-op for compatibility reasons. | |
380 | (st_wait_async): New function. | |
381 | * io/unit.c (insert_unit): Use macros LOCK, UNLOCK and TRYLOCK; | |
382 | add NOTE where necessary. | |
383 | (get_gfc_unit): Likewise. | |
384 | (init_units): Likewise. | |
385 | (close_unit_1): Likewise. Call async_close if asynchronous. | |
386 | (close_unit): Use macros LOCK and UNLOCK. | |
387 | (finish_last_advance_record): Likewise. | |
388 | (newunit_alloc): Likewise. | |
389 | * io/unix.c (find_file): Likewise. | |
390 | (flush_all_units_1): Likewise. | |
391 | (flush_all_units): Likewise. | |
392 | * libgfortran.h (generate_error_common): Add prototype. | |
393 | * runtime/error.c: Include io.h and async.h. | |
394 | (generate_error_common): New function. | |
395 | ||
b1f45884 NK |
396 | 2018-07-25 Nicolas Koenig <koenigni@gcc.gnu.org> |
397 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
398 | ||
399 | PR fortran/25829 | |
400 | * Makefile.am: Add async.c to gfor_io_src. | |
401 | Add async.h to gfor_io_headers. | |
402 | * Makefile.in: Regenerated. | |
403 | * gfortran.map: Add _gfortran_st_wait_async. | |
404 | * io/async.c: New file. | |
405 | * io/async.h: New file. | |
406 | * io/close.c: Include async.h. | |
407 | (st_close): Call async_wait for an asynchronous unit. | |
408 | * io/file_pos.c (st_backspace): Likewise. | |
409 | (st_endfile): Likewise. | |
410 | (st_rewind): Likewise. | |
411 | (st_flush): Likewise. | |
412 | * io/inquire.c: Add handling for asynchronous PENDING | |
413 | and ID arguments. | |
414 | * io/io.h (st_parameter_dt): Add async bit. | |
415 | (st_parameter_wait): Correct. | |
416 | (gfc_unit): Add au pointer. | |
417 | (st_wait_async): Add prototype. | |
418 | (transfer_array_inner): Likewise. | |
419 | (st_write_done_worker): Likewise. | |
420 | * io/open.c: Include async.h. | |
421 | (new_unit): Initialize asynchronous unit. | |
422 | * io/transfer.c (async_opt): New struct. | |
423 | (wrap_scalar_transfer): New function. | |
424 | (transfer_integer): Call wrap_scalar_transfer to do the work. | |
425 | (transfer_real): Likewise. | |
426 | (transfer_real_write): Likewise. | |
427 | (transfer_character): Likewise. | |
428 | (transfer_character_wide): Likewise. | |
429 | (transfer_complex): Likewise. | |
430 | (transfer_array_inner): New function. | |
431 | (transfer_array): Call transfer_array_inner. | |
432 | (transfer_derived): Call wrap_scalar_transfer. | |
433 | (data_transfer_init): Check for asynchronous I/O. | |
434 | Perform a wait operation on any pending asynchronous I/O | |
435 | if the data transfer is synchronous. Copy PDT and enqueue | |
436 | thread for data transfer. | |
437 | (st_read_done_worker): New function. | |
438 | (st_read_done): Enqueue transfer or call st_read_done_worker. | |
439 | (st_write_done_worker): New function. | |
440 | (st_write_done): Enqueue transfer or call st_read_done_worker. | |
441 | (st_wait): Document as no-op for compatibility reasons. | |
442 | (st_wait_async): New function. | |
443 | * io/unit.c (insert_unit): Use macros LOCK, UNLOCK and TRYLOCK; | |
444 | add NOTE where necessary. | |
445 | (get_gfc_unit): Likewise. | |
446 | (init_units): Likewise. | |
447 | (close_unit_1): Likewise. Call async_close if asynchronous. | |
448 | (close_unit): Use macros LOCK and UNLOCK. | |
449 | (finish_last_advance_record): Likewise. | |
450 | (newunit_alloc): Likewise. | |
451 | * io/unix.c (find_file): Likewise. | |
452 | (flush_all_units_1): Likewise. | |
453 | (flush_all_units): Likewise. | |
454 | * libgfortran.h (generate_error_common): Add prototype. | |
455 | * runtime/error.c: Include io.h and async.h. | |
456 | (generate_error_common): New function. | |
457 | ||
3a579cbe JD |
458 | 2018-06-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
459 | ||
460 | PR libgfortran/86070 | |
461 | * io/write_float.def (build_float_string): Initialize *len. | |
462 | ||
ca708a2b SK |
463 | 2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org> |
464 | ||
465 | PR fortran/85816 | |
466 | PR fortran/85975 | |
467 | * libgfortran.h: Remove the GFC_DTYPE_COPY_SETRANK macro. | |
468 | * intrinsics/reshape_generic.c: Directly assign rank. | |
469 | * intrinsics/spread_generic.c: Ditto. | |
470 | * m4/iforeach-s.m4: Ditto. | |
471 | * m4/iforeach.m4: Ditto. | |
472 | * m4/ifunction-s.m4: Ditto. | |
473 | * m4/ifunction-s2.m4: Ditto. | |
474 | * m4/ifunction.m4: Ditto. | |
475 | * m4/ifunction_logical.m4: Ditto. | |
476 | * m4/reshape.m4: Ditto. | |
477 | * m4/spread.m4: Ditto. | |
478 | * generated/all_l1.c: Regenerated from m4 files. | |
479 | * generated/all_l16.c: Ditto. | |
480 | * generated/all_l2.c: Ditto. | |
481 | * generated/all_l4.c: Ditto. | |
482 | * generated/all_l8.c: Ditto. | |
483 | * generated/any_l1.c: Ditto. | |
484 | * generated/any_l16.c: Ditto. | |
485 | * generated/any_l2.c: Ditto. | |
486 | * generated/any_l4.c: Ditto. | |
487 | * generated/any_l8.c: Ditto. | |
488 | * generated/count_16_l.c: Ditto. | |
489 | * generated/count_1_l.c: Ditto. | |
490 | * generated/count_2_l.c: Ditto. | |
491 | * generated/count_4_l.c: Ditto. | |
492 | * generated/count_8_l.c: Ditto. | |
493 | * generated/iall_i1.c: Ditto. | |
494 | * generated/iall_i16.c: Ditto. | |
495 | * generated/iall_i2.c: Ditto. | |
496 | * generated/iall_i4.c: Ditto. | |
497 | * generated/iall_i8.c: Ditto. | |
498 | * generated/iany_i1.c: Ditto. | |
499 | * generated/iany_i16.c: Ditto. | |
500 | * generated/iany_i2.c: Ditto. | |
501 | * generated/iany_i4.c: Ditto. | |
502 | * generated/iany_i8.c: Ditto. | |
503 | * generated/iparity_i1.c: Ditto. | |
504 | * generated/iparity_i16.c: Ditto. | |
505 | * generated/iparity_i2.c: Ditto. | |
506 | * generated/iparity_i4.c: Ditto. | |
507 | * generated/iparity_i8.c: Ditto. | |
508 | * generated/maxloc0_16_i1.c: Ditto. | |
509 | * generated/maxloc0_16_i16.c: Ditto. | |
510 | * generated/maxloc0_16_i2.c: Ditto. | |
511 | * generated/maxloc0_16_i4.c: Ditto. | |
512 | * generated/maxloc0_16_i8.c: Ditto. | |
513 | * generated/maxloc0_16_r10.c: Ditto. | |
514 | * generated/maxloc0_16_r16.c: Ditto. | |
515 | * generated/maxloc0_16_r4.c: Ditto. | |
516 | * generated/maxloc0_16_r8.c: Ditto. | |
517 | * generated/maxloc0_16_s1.c: Ditto. | |
518 | * generated/maxloc0_16_s4.c: Ditto. | |
519 | * generated/maxloc0_4_i1.c: Ditto. | |
520 | * generated/maxloc0_4_i16.c: Ditto. | |
521 | * generated/maxloc0_4_i2.c: Ditto. | |
522 | * generated/maxloc0_4_i4.c: Ditto. | |
523 | * generated/maxloc0_4_i8.c: Ditto. | |
524 | * generated/maxloc0_4_r10.c: Ditto. | |
525 | * generated/maxloc0_4_r16.c: Ditto. | |
526 | * generated/maxloc0_4_r4.c: Ditto. | |
527 | * generated/maxloc0_4_r8.c: Ditto. | |
528 | * generated/maxloc0_4_s1.c: Ditto. | |
529 | * generated/maxloc0_4_s4.c: Ditto. | |
530 | * generated/maxloc0_8_i1.c: Ditto. | |
531 | * generated/maxloc0_8_i16.c: Ditto. | |
532 | * generated/maxloc0_8_i2.c: Ditto. | |
533 | * generated/maxloc0_8_i4.c: Ditto. | |
534 | * generated/maxloc0_8_i8.c: Ditto. | |
535 | * generated/maxloc0_8_r10.c: Ditto. | |
536 | * generated/maxloc0_8_r16.c: Ditto. | |
537 | * generated/maxloc0_8_r4.c: Ditto. | |
538 | * generated/maxloc0_8_r8.c: Ditto. | |
539 | * generated/maxloc0_8_s1.c: Ditto. | |
540 | * generated/maxloc0_8_s4.c: Ditto. | |
541 | * generated/maxloc1_16_i1.c: Ditto. | |
542 | * generated/maxloc1_16_i16.c: Ditto. | |
543 | * generated/maxloc1_16_i2.c: Ditto. | |
544 | * generated/maxloc1_16_i4.c: Ditto. | |
545 | * generated/maxloc1_16_i8.c: Ditto. | |
546 | * generated/maxloc1_16_r10.c: Ditto. | |
547 | * generated/maxloc1_16_r16.c: Ditto. | |
548 | * generated/maxloc1_16_r4.c: Ditto. | |
549 | * generated/maxloc1_16_r8.c: Ditto. | |
550 | * generated/maxloc1_16_s1.c: Ditto. | |
551 | * generated/maxloc1_16_s4.c: Ditto. | |
552 | * generated/maxloc1_4_i1.c: Ditto. | |
553 | * generated/maxloc1_4_i16.c: Ditto. | |
554 | * generated/maxloc1_4_i2.c: Ditto. | |
555 | * generated/maxloc1_4_i4.c: Ditto. | |
556 | * generated/maxloc1_4_i8.c: Ditto. | |
557 | * generated/maxloc1_4_r10.c: Ditto. | |
558 | * generated/maxloc1_4_r16.c: Ditto. | |
559 | * generated/maxloc1_4_r4.c: Ditto. | |
560 | * generated/maxloc1_4_r8.c: Ditto. | |
561 | * generated/maxloc1_4_s1.c: Ditto. | |
562 | * generated/maxloc1_4_s4.c: Ditto. | |
563 | * generated/maxloc1_8_i1.c: Ditto. | |
564 | * generated/maxloc1_8_i16.c: Ditto. | |
565 | * generated/maxloc1_8_i2.c: Ditto. | |
566 | * generated/maxloc1_8_i4.c: Ditto. | |
567 | * generated/maxloc1_8_i8.c: Ditto. | |
568 | * generated/maxloc1_8_r10.c: Ditto. | |
569 | * generated/maxloc1_8_r16.c: Ditto. | |
570 | * generated/maxloc1_8_r4.c: Ditto. | |
571 | * generated/maxloc1_8_r8.c: Ditto. | |
572 | * generated/maxloc1_8_s1.c: Ditto. | |
573 | * generated/maxloc1_8_s4.c: Ditto. | |
574 | * generated/maxval1_s1.c: Ditto. | |
575 | * generated/maxval1_s4.c: Ditto. | |
576 | * generated/maxval_i1.c: Ditto. | |
577 | * generated/maxval_i16.c: Ditto. | |
578 | * generated/maxval_i2.c: Ditto. | |
579 | * generated/maxval_i4.c: Ditto. | |
580 | * generated/maxval_i8.c: Ditto. | |
581 | * generated/maxval_r10.c: Ditto. | |
582 | * generated/maxval_r16.c: Ditto. | |
583 | * generated/maxval_r4.c: Ditto. | |
584 | * generated/maxval_r8.c: Ditto. | |
585 | * generated/minloc0_16_i1.c: Ditto. | |
586 | * generated/minloc0_16_i16.c: Ditto. | |
587 | * generated/minloc0_16_i2.c: Ditto. | |
588 | * generated/minloc0_16_i4.c: Ditto. | |
589 | * generated/minloc0_16_i8.c: Ditto. | |
590 | * generated/minloc0_16_r10.c: Ditto. | |
591 | * generated/minloc0_16_r16.c: Ditto. | |
592 | * generated/minloc0_16_r4.c: Ditto. | |
593 | * generated/minloc0_16_r8.c: Ditto. | |
594 | * generated/minloc0_16_s1.c: Ditto. | |
595 | * generated/minloc0_16_s4.c: Ditto. | |
596 | * generated/minloc0_4_i1.c: Ditto. | |
597 | * generated/minloc0_4_i16.c: Ditto. | |
598 | * generated/minloc0_4_i2.c: Ditto. | |
599 | * generated/minloc0_4_i4.c: Ditto. | |
600 | * generated/minloc0_4_i8.c: Ditto. | |
601 | * generated/minloc0_4_r10.c: Ditto. | |
602 | * generated/minloc0_4_r16.c: Ditto. | |
603 | * generated/minloc0_4_r4.c: Ditto. | |
604 | * generated/minloc0_4_r8.c: Ditto. | |
605 | * generated/minloc0_4_s1.c: Ditto. | |
606 | * generated/minloc0_4_s4.c: Ditto. | |
607 | * generated/minloc0_8_i1.c: Ditto. | |
608 | * generated/minloc0_8_i16.c: Ditto. | |
609 | * generated/minloc0_8_i2.c: Ditto. | |
610 | * generated/minloc0_8_i4.c: Ditto. | |
611 | * generated/minloc0_8_i8.c: Ditto. | |
612 | * generated/minloc0_8_r10.c: Ditto. | |
613 | * generated/minloc0_8_r16.c: Ditto. | |
614 | * generated/minloc0_8_r4.c: Ditto. | |
615 | * generated/minloc0_8_r8.c: Ditto. | |
616 | * generated/minloc0_8_s1.c: Ditto. | |
617 | * generated/minloc0_8_s4.c: Ditto. | |
618 | * generated/minloc1_16_i1.c: Ditto. | |
619 | * generated/minloc1_16_i16.c: Ditto. | |
620 | * generated/minloc1_16_i2.c: Ditto. | |
621 | * generated/minloc1_16_i4.c: Ditto. | |
622 | * generated/minloc1_16_i8.c: Ditto. | |
623 | * generated/minloc1_16_r10.c: Ditto. | |
624 | * generated/minloc1_16_r16.c: Ditto. | |
625 | * generated/minloc1_16_r4.c: Ditto. | |
626 | * generated/minloc1_16_r8.c: Ditto. | |
627 | * generated/minloc1_16_s1.c: Ditto. | |
628 | * generated/minloc1_16_s4.c: Ditto. | |
629 | * generated/minloc1_4_i1.c: Ditto. | |
630 | * generated/minloc1_4_i16.c: Ditto. | |
631 | * generated/minloc1_4_i2.c: Ditto. | |
632 | * generated/minloc1_4_i4.c: Ditto. | |
633 | * generated/minloc1_4_i8.c: Ditto. | |
634 | * generated/minloc1_4_r10.c: Ditto. | |
635 | * generated/minloc1_4_r16.c: Ditto. | |
636 | * generated/minloc1_4_r4.c: Ditto. | |
637 | * generated/minloc1_4_r8.c: Ditto. | |
638 | * generated/minloc1_4_s1.c: Ditto. | |
639 | * generated/minloc1_4_s4.c: Ditto. | |
640 | * generated/minloc1_8_i1.c: Ditto. | |
641 | * generated/minloc1_8_i16.c: Ditto. | |
642 | * generated/minloc1_8_i2.c: Ditto. | |
643 | * generated/minloc1_8_i4.c: Ditto. | |
644 | * generated/minloc1_8_i8.c: Ditto. | |
645 | * generated/minloc1_8_r10.c: Ditto. | |
646 | * generated/minloc1_8_r16.c: Ditto. | |
647 | * generated/minloc1_8_r4.c: Ditto. | |
648 | * generated/minloc1_8_r8.c: Ditto. | |
649 | * generated/minloc1_8_s1.c: Ditto. | |
650 | * generated/minloc1_8_s4.c: Ditto. | |
651 | * generated/minval1_s1.c: Ditto. | |
652 | * generated/minval1_s4.c: Ditto. | |
653 | * generated/minval_i1.c: Ditto. | |
654 | * generated/minval_i16.c: Ditto. | |
655 | * generated/minval_i2.c: Ditto. | |
656 | * generated/minval_i4.c: Ditto. | |
657 | * generated/minval_i8.c: Ditto. | |
658 | * generated/minval_r10.c: Ditto. | |
659 | * generated/minval_r16.c: Ditto. | |
660 | * generated/minval_r4.c: Ditto. | |
661 | * generated/minval_r8.c: Ditto. | |
662 | * generated/norm2_r10.c: Ditto. | |
663 | * generated/norm2_r16.c: Ditto. | |
664 | * generated/norm2_r4.c: Ditto. | |
665 | * generated/norm2_r8.c: Ditto. | |
666 | * generated/parity_l1.c: Ditto. | |
667 | * generated/parity_l16.c: Ditto. | |
668 | * generated/parity_l2.c: Ditto. | |
669 | * generated/parity_l4.c: Ditto. | |
670 | * generated/parity_l8.c: Ditto. | |
671 | * generated/product_c10.c: Ditto. | |
672 | * generated/product_c16.c: Ditto. | |
673 | * generated/product_c4.c: Ditto. | |
674 | * generated/product_c8.c: Ditto. | |
675 | * generated/product_i1.c: Ditto. | |
676 | * generated/product_i16.c: Ditto. | |
677 | * generated/product_i2.c: Ditto. | |
678 | * generated/product_i4.c: Ditto. | |
679 | * generated/product_i8.c: Ditto. | |
680 | * generated/product_r10.c: Ditto. | |
681 | * generated/product_r16.c: Ditto. | |
682 | * generated/product_r4.c: Ditto. | |
683 | * generated/product_r8.c: Ditto. | |
684 | * generated/reshape_c10.c: Ditto. | |
685 | * generated/reshape_c16.c: Ditto. | |
686 | * generated/reshape_c4.c: Ditto. | |
687 | * generated/reshape_c8.c: Ditto. | |
688 | * generated/reshape_i16.c: Ditto. | |
689 | * generated/reshape_i4.c: Ditto. | |
690 | * generated/reshape_i8.c: Ditto. | |
691 | * generated/reshape_r10.c: Ditto. | |
692 | * generated/reshape_r16.c: Ditto. | |
693 | * generated/reshape_r4.c: Ditto. | |
694 | * generated/reshape_r8.c: Ditto. | |
695 | * generated/spread_c10.c: Ditto. | |
696 | * generated/spread_c16.c: Ditto. | |
697 | * generated/spread_c4.c: Ditto. | |
698 | * generated/spread_c8.c: Ditto. | |
699 | * generated/spread_i1.c: Ditto. | |
700 | * generated/spread_i16.c: Ditto. | |
701 | * generated/spread_i2.c: Ditto. | |
702 | * generated/spread_i4.c: Ditto. | |
703 | * generated/spread_i8.c: Ditto. | |
704 | * generated/spread_r10.c: Ditto. | |
705 | * generated/spread_r16.c: Ditto. | |
706 | * generated/spread_r4.c: Ditto. | |
707 | * generated/spread_r8.c: Ditto. | |
708 | * generated/sum_c10.c: Ditto. | |
709 | * generated/sum_c16.c: Ditto. | |
710 | * generated/sum_c4.c: Ditto. | |
711 | * generated/sum_c8.c: Ditto. | |
712 | * generated/sum_i1.c: Ditto. | |
713 | * generated/sum_i16.c: Ditto. | |
714 | * generated/sum_i2.c: Ditto. | |
715 | * generated/sum_i4.c: Ditto. | |
716 | * generated/sum_i8.c: Ditto. | |
717 | * generated/sum_r10.c: Ditto. | |
718 | * generated/sum_r16.c: Ditto. | |
719 | * generated/sum_r4.c: Ditto. | |
720 | * generated/sum_r8.c: Ditto. | |
721 | ||
ddd3e26e SK |
722 | 2018-06-01 Steven G. Kargl <kargl@gcc.gnu.org> |
723 | ||
724 | PR fortran/63570 | |
725 | * libgfortran/Makefile.am: Add random_init.f90 to build. | |
726 | * libgfortran/Makefile.in: Regenerated. | |
727 | * libgfortran/gfortran.map: Expose symbol for _gfortran_random_init. | |
728 | * libgfortran/intrinsics/random_init.f90: Implementation. | |
729 | ||
1f161c48 JD |
730 | 2018-05-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
731 | ||
732 | PR libgfortran/85840 | |
733 | * io/write.c (write_real, write_real_g0, write_complex): Use | |
734 | separate local variables for the float string length. | |
735 | ||
8cb19ee3 JD |
736 | 2018-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
737 | ||
80c820d8 | 738 | PR libgfortran/85906 |
8cb19ee3 JD |
739 | * io/write.c (write_integer): Initialise the fnode format to |
740 | FMT_NONE, used for list directed write. | |
741 | (BUF_STACK_SZ): Bump default buffer size up to avoid allocs on | |
742 | small stuff. | |
743 | ||
b61da1eb JD |
744 | 2018-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
745 | ||
746 | PR libgfortran/85840 | |
747 | * io/write.c (write_float_0): Use separate local variable for | |
748 | the float string length. | |
749 | ||
b573f931 TK |
750 | 2018-05-08 Thomas Koenig <tkoenig@gcc.gnu.org> |
751 | ||
752 | PR fortran/54613 | |
753 | * m4/iforeach-s.m4: Remove assertion that back is zero. | |
754 | * m4/iforeach.m4: Likewise. Remove leading 'do' | |
755 | before implementation start. | |
756 | * m4/ifunction-s.m4: Remove assertion that back is zero. | |
757 | * m4/ifunction.m4: Likewise. Remove for loop if HAVE_BACK_ARG | |
758 | is defined. | |
759 | * m4/maxloc0.m4: Reorganize loops. Split loops between >= and =, | |
760 | depending if back is true. Mark the condition of having | |
761 | found a value which exceeds the limit as unlikely. | |
762 | * m4/minloc0.m4: Likewise. | |
763 | * m4/maxloc1.m4: Likewise. | |
764 | * m4/minloc1.m4: Likewise. | |
765 | * m4/maxloc1s.m4: Handle back argument. | |
766 | * m4/minloc1s.m4: Likewise. | |
767 | * m4/maxloc2s.m4: Remove assertion that back is zero. | |
768 | Remove special handling of loop start. Handle back argument. | |
769 | * m4/minloc2s.m4: Likewise. | |
770 | * generated/iall_i1.c: Regenerated. | |
771 | * generated/iall_i16.c: Regenerated. | |
772 | * generated/iall_i2.c: Regenerated. | |
773 | * generated/iall_i4.c: Regenerated. | |
774 | * generated/iall_i8.c: Regenerated. | |
775 | * generated/iany_i1.c: Regenerated. | |
776 | * generated/iany_i16.c: Regenerated. | |
777 | * generated/iany_i2.c: Regenerated. | |
778 | * generated/iany_i4.c: Regenerated. | |
779 | * generated/iany_i8.c: Regenerated. | |
780 | * generated/iparity_i1.c: Regenerated. | |
781 | * generated/iparity_i16.c: Regenerated. | |
782 | * generated/iparity_i2.c: Regenerated. | |
783 | * generated/iparity_i4.c: Regenerated. | |
784 | * generated/iparity_i8.c: Regenerated. | |
785 | * generated/maxloc0_16_i1.c: Regenerated. | |
786 | * generated/maxloc0_16_i16.c: Regenerated. | |
787 | * generated/maxloc0_16_i2.c: Regenerated. | |
788 | * generated/maxloc0_16_i4.c: Regenerated. | |
789 | * generated/maxloc0_16_i8.c: Regenerated. | |
790 | * generated/maxloc0_16_r10.c: Regenerated. | |
791 | * generated/maxloc0_16_r16.c: Regenerated. | |
792 | * generated/maxloc0_16_r4.c: Regenerated. | |
793 | * generated/maxloc0_16_r8.c: Regenerated. | |
794 | * generated/maxloc0_16_s1.c: Regenerated. | |
795 | * generated/maxloc0_16_s4.c: Regenerated. | |
796 | * generated/maxloc0_4_i1.c: Regenerated. | |
797 | * generated/maxloc0_4_i16.c: Regenerated. | |
798 | * generated/maxloc0_4_i2.c: Regenerated. | |
799 | * generated/maxloc0_4_i4.c: Regenerated. | |
800 | * generated/maxloc0_4_i8.c: Regenerated. | |
801 | * generated/maxloc0_4_r10.c: Regenerated. | |
802 | * generated/maxloc0_4_r16.c: Regenerated. | |
803 | * generated/maxloc0_4_r4.c: Regenerated. | |
804 | * generated/maxloc0_4_r8.c: Regenerated. | |
805 | * generated/maxloc0_4_s1.c: Regenerated. | |
806 | * generated/maxloc0_4_s4.c: Regenerated. | |
807 | * generated/maxloc0_8_i1.c: Regenerated. | |
808 | * generated/maxloc0_8_i16.c: Regenerated. | |
809 | * generated/maxloc0_8_i2.c: Regenerated. | |
810 | * generated/maxloc0_8_i4.c: Regenerated. | |
811 | * generated/maxloc0_8_i8.c: Regenerated. | |
812 | * generated/maxloc0_8_r10.c: Regenerated. | |
813 | * generated/maxloc0_8_r16.c: Regenerated. | |
814 | * generated/maxloc0_8_r4.c: Regenerated. | |
815 | * generated/maxloc0_8_r8.c: Regenerated. | |
816 | * generated/maxloc0_8_s1.c: Regenerated. | |
817 | * generated/maxloc0_8_s4.c: Regenerated. | |
818 | * generated/maxloc1_16_i1.c: Regenerated. | |
819 | * generated/maxloc1_16_i16.c: Regenerated. | |
820 | * generated/maxloc1_16_i2.c: Regenerated. | |
821 | * generated/maxloc1_16_i4.c: Regenerated. | |
822 | * generated/maxloc1_16_i8.c: Regenerated. | |
823 | * generated/maxloc1_16_r10.c: Regenerated. | |
824 | * generated/maxloc1_16_r16.c: Regenerated. | |
825 | * generated/maxloc1_16_r4.c: Regenerated. | |
826 | * generated/maxloc1_16_r8.c: Regenerated. | |
827 | * generated/maxloc1_16_s1.c: Regenerated. | |
828 | * generated/maxloc1_16_s4.c: Regenerated. | |
829 | * generated/maxloc1_4_i1.c: Regenerated. | |
830 | * generated/maxloc1_4_i16.c: Regenerated. | |
831 | * generated/maxloc1_4_i2.c: Regenerated. | |
832 | * generated/maxloc1_4_i4.c: Regenerated. | |
833 | * generated/maxloc1_4_i8.c: Regenerated. | |
834 | * generated/maxloc1_4_r10.c: Regenerated. | |
835 | * generated/maxloc1_4_r16.c: Regenerated. | |
836 | * generated/maxloc1_4_r4.c: Regenerated. | |
837 | * generated/maxloc1_4_r8.c: Regenerated. | |
838 | * generated/maxloc1_4_s1.c: Regenerated. | |
839 | * generated/maxloc1_4_s4.c: Regenerated. | |
840 | * generated/maxloc1_8_i1.c: Regenerated. | |
841 | * generated/maxloc1_8_i16.c: Regenerated. | |
842 | * generated/maxloc1_8_i2.c: Regenerated. | |
843 | * generated/maxloc1_8_i4.c: Regenerated. | |
844 | * generated/maxloc1_8_i8.c: Regenerated. | |
845 | * generated/maxloc1_8_r10.c: Regenerated. | |
846 | * generated/maxloc1_8_r16.c: Regenerated. | |
847 | * generated/maxloc1_8_r4.c: Regenerated. | |
848 | * generated/maxloc1_8_r8.c: Regenerated. | |
849 | * generated/maxloc1_8_s1.c: Regenerated. | |
850 | * generated/maxloc1_8_s4.c: Regenerated. | |
851 | * generated/maxloc2_16_s1.c: Regenerated. | |
852 | * generated/maxloc2_16_s4.c: Regenerated. | |
853 | * generated/maxloc2_4_s1.c: Regenerated. | |
854 | * generated/maxloc2_4_s4.c: Regenerated. | |
855 | * generated/maxloc2_8_s1.c: Regenerated. | |
856 | * generated/maxloc2_8_s4.c: Regenerated. | |
857 | * generated/maxval_i1.c: Regenerated. | |
858 | * generated/maxval_i16.c: Regenerated. | |
859 | * generated/maxval_i2.c: Regenerated. | |
860 | * generated/maxval_i4.c: Regenerated. | |
861 | * generated/maxval_i8.c: Regenerated. | |
862 | * generated/maxval_r10.c: Regenerated. | |
863 | * generated/maxval_r16.c: Regenerated. | |
864 | * generated/maxval_r4.c: Regenerated. | |
865 | * generated/maxval_r8.c: Regenerated. | |
866 | * generated/minloc0_16_i1.c: Regenerated. | |
867 | * generated/minloc0_16_i16.c: Regenerated. | |
868 | * generated/minloc0_16_i2.c: Regenerated. | |
869 | * generated/minloc0_16_i4.c: Regenerated. | |
870 | * generated/minloc0_16_i8.c: Regenerated. | |
871 | * generated/minloc0_16_r10.c: Regenerated. | |
872 | * generated/minloc0_16_r16.c: Regenerated. | |
873 | * generated/minloc0_16_r4.c: Regenerated. | |
874 | * generated/minloc0_16_r8.c: Regenerated. | |
875 | * generated/minloc0_16_s1.c: Regenerated. | |
876 | * generated/minloc0_16_s4.c: Regenerated. | |
877 | * generated/minloc0_4_i1.c: Regenerated. | |
878 | * generated/minloc0_4_i16.c: Regenerated. | |
879 | * generated/minloc0_4_i2.c: Regenerated. | |
880 | * generated/minloc0_4_i4.c: Regenerated. | |
881 | * generated/minloc0_4_i8.c: Regenerated. | |
882 | * generated/minloc0_4_r10.c: Regenerated. | |
883 | * generated/minloc0_4_r16.c: Regenerated. | |
884 | * generated/minloc0_4_r4.c: Regenerated. | |
885 | * generated/minloc0_4_r8.c: Regenerated. | |
886 | * generated/minloc0_4_s1.c: Regenerated. | |
887 | * generated/minloc0_4_s4.c: Regenerated. | |
888 | * generated/minloc0_8_i1.c: Regenerated. | |
889 | * generated/minloc0_8_i16.c: Regenerated. | |
890 | * generated/minloc0_8_i2.c: Regenerated. | |
891 | * generated/minloc0_8_i4.c: Regenerated. | |
892 | * generated/minloc0_8_i8.c: Regenerated. | |
893 | * generated/minloc0_8_r10.c: Regenerated. | |
894 | * generated/minloc0_8_r16.c: Regenerated. | |
895 | * generated/minloc0_8_r4.c: Regenerated. | |
896 | * generated/minloc0_8_r8.c: Regenerated. | |
897 | * generated/minloc0_8_s1.c: Regenerated. | |
898 | * generated/minloc0_8_s4.c: Regenerated. | |
899 | * generated/minloc1_16_i1.c: Regenerated. | |
900 | * generated/minloc1_16_i16.c: Regenerated. | |
901 | * generated/minloc1_16_i2.c: Regenerated. | |
902 | * generated/minloc1_16_i4.c: Regenerated. | |
903 | * generated/minloc1_16_i8.c: Regenerated. | |
904 | * generated/minloc1_16_r10.c: Regenerated. | |
905 | * generated/minloc1_16_r16.c: Regenerated. | |
906 | * generated/minloc1_16_r4.c: Regenerated. | |
907 | * generated/minloc1_16_r8.c: Regenerated. | |
908 | * generated/minloc1_16_s1.c: Regenerated. | |
909 | * generated/minloc1_16_s4.c: Regenerated. | |
910 | * generated/minloc1_4_i1.c: Regenerated. | |
911 | * generated/minloc1_4_i16.c: Regenerated. | |
912 | * generated/minloc1_4_i2.c: Regenerated. | |
913 | * generated/minloc1_4_i4.c: Regenerated. | |
914 | * generated/minloc1_4_i8.c: Regenerated. | |
915 | * generated/minloc1_4_r10.c: Regenerated. | |
916 | * generated/minloc1_4_r16.c: Regenerated. | |
917 | * generated/minloc1_4_r4.c: Regenerated. | |
918 | * generated/minloc1_4_r8.c: Regenerated. | |
919 | * generated/minloc1_4_s1.c: Regenerated. | |
920 | * generated/minloc1_4_s4.c: Regenerated. | |
921 | * generated/minloc1_8_i1.c: Regenerated. | |
922 | * generated/minloc1_8_i16.c: Regenerated. | |
923 | * generated/minloc1_8_i2.c: Regenerated. | |
924 | * generated/minloc1_8_i4.c: Regenerated. | |
925 | * generated/minloc1_8_i8.c: Regenerated. | |
926 | * generated/minloc1_8_r10.c: Regenerated. | |
927 | * generated/minloc1_8_r16.c: Regenerated. | |
928 | * generated/minloc1_8_r4.c: Regenerated. | |
929 | * generated/minloc1_8_r8.c: Regenerated. | |
930 | * generated/minloc1_8_s1.c: Regenerated. | |
931 | * generated/minloc1_8_s4.c: Regenerated. | |
932 | * generated/minloc2_16_s1.c: Regenerated. | |
933 | * generated/minloc2_16_s4.c: Regenerated. | |
934 | * generated/minloc2_4_s1.c: Regenerated. | |
935 | * generated/minloc2_4_s4.c: Regenerated. | |
936 | * generated/minloc2_8_s1.c: Regenerated. | |
937 | * generated/minloc2_8_s4.c: Regenerated. | |
938 | * generated/minval_i1.c: Regenerated. | |
939 | * generated/minval_i16.c: Regenerated. | |
940 | * generated/minval_i2.c: Regenerated. | |
941 | * generated/minval_i4.c: Regenerated. | |
942 | * generated/minval_i8.c: Regenerated. | |
943 | * generated/minval_r10.c: Regenerated. | |
944 | * generated/minval_r16.c: Regenerated. | |
945 | * generated/minval_r4.c: Regenerated. | |
946 | * generated/minval_r8.c: Regenerated. | |
947 | * generated/norm2_r10.c: Regenerated. | |
948 | * generated/norm2_r16.c: Regenerated. | |
949 | * generated/norm2_r4.c: Regenerated. | |
950 | * generated/norm2_r8.c: Regenerated. | |
951 | * generated/parity_l1.c: Regenerated. | |
952 | * generated/parity_l16.c: Regenerated. | |
953 | * generated/parity_l2.c: Regenerated. | |
954 | * generated/parity_l4.c: Regenerated. | |
955 | * generated/parity_l8.c: Regenerated. | |
956 | * generated/product_c10.c: Regenerated. | |
957 | * generated/product_c16.c: Regenerated. | |
958 | * generated/product_c4.c: Regenerated. | |
959 | * generated/product_c8.c: Regenerated. | |
960 | * generated/product_i1.c: Regenerated. | |
961 | * generated/product_i16.c: Regenerated. | |
962 | * generated/product_i2.c: Regenerated. | |
963 | * generated/product_i4.c: Regenerated. | |
964 | * generated/product_i8.c: Regenerated. | |
965 | * generated/product_r10.c: Regenerated. | |
966 | * generated/product_r16.c: Regenerated. | |
967 | * generated/product_r4.c: Regenerated. | |
968 | * generated/product_r8.c: Regenerated. | |
969 | * generated/sum_c10.c: Regenerated. | |
970 | * generated/sum_c16.c: Regenerated. | |
971 | * generated/sum_c4.c: Regenerated. | |
972 | * generated/sum_c8.c: Regenerated. | |
973 | * generated/sum_i1.c: Regenerated. | |
974 | * generated/sum_i16.c: Regenerated. | |
975 | * generated/sum_i2.c: Regenerated. | |
976 | * generated/sum_i4.c: Regenerated. | |
977 | * generated/sum_i8.c: Regenerated. | |
978 | * generated/sum_r10.c: Regenerated. | |
979 | * generated/sum_r16.c: Regenerated. | |
980 | * generated/sum_r4.c: Regenerated. | |
981 | * generated/sum_r8.c: Regenerated. | |
982 | ||
7b47ecf2 L |
983 | 2018-04-24 H.J. Lu <hongjiu.lu@intel.com> |
984 | ||
985 | * configure: Regenerated. | |
986 | ||
6e0d40b6 TS |
987 | 2018-04-19 Thomas Schwinge <thomas@codesourcery.com> |
988 | ||
989 | PR libfortran/85166 | |
990 | PR libgomp/85463 | |
991 | * runtime/minimal.c (stop_numeric): Reimplement. | |
992 | (stop_string, error_stop_string, error_stop_numeric): New | |
993 | functions. | |
994 | ||
a0e1df88 JJ |
995 | 2018-04-19 Jakub Jelinek <jakub@redhat.com> |
996 | ||
997 | * configure: Regenerated. | |
998 | ||
001ddaa8 DM |
999 | 2018-04-18 David Malcolm <dmalcolm@redhat.com> |
1000 | ||
1001 | PR jit/85384 | |
1002 | * configure: Regenerate. | |
1003 | ||
e889aa0a TK |
1004 | 2018-04-06 Thomas Koenig <tkoenig@gcc.gnu.org> |
1005 | ||
1006 | PR libfortran/85253 | |
1007 | * m4/matmul_internal.m4: If ycount == 1, add one more row to | |
1008 | the internal buffer. | |
1009 | * generated/matmul_c10.c: Regenerated. | |
1010 | * generated/matmul_c16.c: Regenerated. | |
1011 | * generated/matmul_c4.c: Regenerated. | |
1012 | * generated/matmul_c8.c: Regenerated. | |
1013 | * generated/matmul_i1.c: Regenerated. | |
1014 | * generated/matmul_i16.c: Regenerated. | |
1015 | * generated/matmul_i2.c: Regenerated. | |
1016 | * generated/matmul_i4.c: Regenerated. | |
1017 | * generated/matmul_i8.c: Regenerated. | |
1018 | * generated/matmul_r10.c: Regenerated. | |
1019 | * generated/matmul_r16.c: Regenerated. | |
1020 | * generated/matmul_r4.c: Regenerated. | |
1021 | * generated/matmul_r8.c: Regenerated. | |
1022 | * generated/matmulavx128_c10.c: Regenerated. | |
1023 | * generated/matmulavx128_c16.c: Regenerated. | |
1024 | * generated/matmulavx128_c4.c: Regenerated. | |
1025 | * generated/matmulavx128_c8.c: Regenerated. | |
1026 | * generated/matmulavx128_i1.c: Regenerated. | |
1027 | * generated/matmulavx128_i16.c: Regenerated. | |
1028 | * generated/matmulavx128_i2.c: Regenerated. | |
1029 | * generated/matmulavx128_i4.c: Regenerated. | |
1030 | * generated/matmulavx128_i8.c: Regenerated. | |
1031 | * generated/matmulavx128_r10.c: Regenerated. | |
1032 | * generated/matmulavx128_r16.c: Regenerated. | |
1033 | * generated/matmulavx128_r4.c: Regenerated. | |
1034 | * generated/matmulavx128_r8.c: Regenerated. | |
1035 | ||
bb347ee2 TK |
1036 | 2018-04-04 Thomas Koenig <tkoenig@gcc.gnu.org> |
1037 | ||
1038 | PR libfortran/85166 | |
1039 | * runtime/minimal.c (stop_numeric): Add new function in order to | |
1040 | implement numeric stop on minimal targets. | |
1041 | ||
7ee4f6f3 JJ |
1042 | 2018-03-28 Jakub Jelinek <jakub@redhat.com> |
1043 | ||
1044 | * io/io.h (IOPARM_DT_DEFAULT_EXP): Rename to ... | |
1045 | (IOPARM_DT_DEC_EXT): ... this. | |
1046 | * io/list_read.c (parse_real): Adjust for IOPARM_DT_DEFAULT_EXP | |
1047 | renaming to IOPARM_DT_DEC_EXT. | |
1048 | (read_real): Likewise. | |
1049 | * io/read.c (read_f): Likewise. | |
1050 | ||
724ad4a3 JJ |
1051 | 2018-03-15 Jakub Jelinek <jakub@redhat.com> |
1052 | ||
1053 | PR libgfortran/84880 | |
1054 | * intrinsics/kill.c (kill): Rename to... | |
1055 | (PREFIX (kill)): ... this. Use export_proto_np instead of export_proto. | |
1056 | ||
17164de4 SK |
1057 | 2018-03-13 Steven G. Kargl <kargl@gcc.gnu.org> |
1058 | ||
1059 | * libgfortran/gfortran.map: Remove _gfortran_kill_i4, | |
1060 | _gfortran_kill_i4_sub, _gfortran_kill_i8, and _gfortran_kill_i8_sub. | |
1061 | Add _gfortran_kill and _gfortran_kill_sub. | |
1062 | * libgfortran/intrinsics/kill.c: Eliminate _gfortran_kill_i4, | |
1063 | _gfortran_kill_i4_sub, _gfortran_kill_i8, and _gfortran_kill_i8_sub. | |
1064 | Add _gfortran_kill and _gfortran_kill_sub. | |
1065 | ||
99b4a565 JB |
1066 | 2018-02-23 Janne Blomqvist <jb@gcc.gnu.org> |
1067 | ||
1068 | PR fortran/84519 | |
1069 | * caf/libcaf.h (_gfortran_caf_stop_numeric): Add bool argument. | |
1070 | (_gfortran_caf_stop_str): Likewise. | |
1071 | (_gfortran_caf_error_stop_str): Likewise. | |
1072 | (_gfortran_caf_error_stop): Likewise. | |
1073 | * caf/mpi.c (_gfortran_caf_error_stop_str): Handle new argument. | |
1074 | (_gfortran_caf_error_stop): Likewise. | |
1075 | * caf/single.c (_gfortran_caf_stop_numeric): Likewise. | |
1076 | (_gfortran_caf_stop_str): Likewise. | |
1077 | (_gfortran_caf_error_stop_str): Likewise. | |
1078 | (_gfortran_caf_error_stop): Likewise. | |
1079 | (_gfortran_caf_lock): Likewise. | |
1080 | (_gfortran_caf_unlock): Likewise. | |
1081 | * libgfortran.h (stop_string): Add bool argument. | |
1082 | * runtime/pause.c (do_pause): Add false argument. | |
1083 | * runtime/stop.c (stop_numeric): Handle new argument. | |
1084 | (stop_string): Likewise. | |
1085 | (error_stop_string): Likewise. | |
1086 | (error_stop_numeric): Likewise. | |
1087 | ||
6cc22cf4 JB |
1088 | 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org> |
1089 | ||
1090 | PR 78534 | |
1091 | PR 84509 | |
1092 | * runtime/pause.c (pause_numeric): Modify to take GFC_INTEGER_8 | |
1093 | argument. | |
1094 | (pause_string): Modify to take size_t character length argument. | |
1095 | ||
3f5fabc0 JB |
1096 | 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org> |
1097 | ||
1098 | * libgfortran.h (stop_string): Use size_t for character length. | |
1099 | * runtime/stop.c (stop_string): Likewise. | |
1100 | (error_stop_string): Likewise. | |
1101 | (stop_numeric): Use int for exit code. | |
1102 | (error_stop_numeric): Likewise. | |
1103 | * caf/libcaf.h: Remove stdint.h include. | |
1104 | (_gfortran_caf_register): Use size_t for character length. | |
1105 | (_gfortran_caf_deregister): Likewise. | |
1106 | (_gfortran_caf_sync_all): Likewise. | |
1107 | (_gfortran_caf_sync_memory): Likewise. | |
1108 | (_gfortran_caf_sync_images): Likewise. | |
1109 | (_gfortran_caf_stop_numeric): Use int for exit code. | |
1110 | (_gfortran_caf_stop_str): Use size_t for character length. | |
1111 | (_gfortran_caf_error_stop_str): Likewise. | |
1112 | (_gfortran_caf_error_stop): Use int for exit code. | |
1113 | (_gfortran_caf_co_broadcast): Use size_t for character length. | |
1114 | (_gfortran_caf_co_sum): Likewise. | |
1115 | (_gfortran_caf_co_min): Likewise. | |
1116 | (_gfortran_caf_co_max): Likewise. | |
1117 | (_gfortran_caf_co_reduce): Likewise. | |
1118 | (_gfortran_caf_lock): Likewise. | |
1119 | (_gfortran_caf_unlock): Likewise. | |
1120 | (_gfortran_caf_event_post): Likewise. | |
1121 | (_gfortran_caf_event_wait): Likewise. | |
1122 | * caf/mpi.c (_gfortran_caf_register): Update implementation to | |
1123 | match prototype. | |
1124 | (_gfortran_caf_deregister): Likewise. | |
1125 | (_gfortran_caf_sync_all): Likewise. | |
1126 | (_gfortran_caf_sync_images): Likewise. | |
1127 | (_gfortran_caf_error_stop_str): Likewise. | |
1128 | (_gfortran_caf_error_stop): Likewise. | |
1129 | * caf/single.c (caf_internal_error): Likewise. | |
1130 | (_gfortran_caf_register): Likewise. | |
1131 | (_gfortran_caf_deregister): Likewise. | |
1132 | (_gfortran_caf_sync_all): Likewise. | |
1133 | (_gfortran_caf_sync_memory): Likewise. | |
1134 | (_gfortran_caf_sync_images): Likewise. | |
1135 | (_gfortran_caf_stop_numeric): Likewise. | |
1136 | (_gfortran_caf_stop_str): Likewise. | |
1137 | (_gfortran_caf_error_stop_str): Likewise. | |
1138 | (_gfortran_caf_error_stop): Likewise. | |
1139 | (_gfortran_caf_co_broadcast): Likewise. | |
1140 | (_gfortran_caf_co_sum): Likewise. | |
1141 | (_gfortran_caf_co_min): Likewise. | |
1142 | (_gfortran_caf_co_max): Likewise. | |
1143 | (_gfortran_caf_co_reduce): Likewise. | |
1144 | (_gfortran_caf_event_post): Likewise. | |
1145 | (_gfortran_caf_event_wait): Likewise. | |
1146 | (_gfortran_caf_lock): Likewise. | |
1147 | (_gfortran_caf_unlock): Likewise. | |
1148 | ||
87e8aa3b AV |
1149 | 2018-02-19 Andre Vehreschild <vehre@gcc.gnu.org> |
1150 | ||
1151 | * caf/libcaf.h: Add type parameters to the caf_*_by_ref prototypes. | |
1152 | * caf/single.c (get_for_ref): Simplifications and now respecting | |
1153 | the type argument. | |
1154 | (_gfortran_caf_get_by_ref): Added source type handing to get_for_ref(). | |
1155 | (send_by_ref): Simplifications and respecting the dst_type now. | |
1156 | (_gfortran_caf_send_by_ref): Added destination type hand over to | |
1157 | send_by_ref(). | |
1158 | (_gfortran_caf_sendget_by_ref): Added general support and fixed stack | |
1159 | corruption. The function is now really usable. | |
1160 | ||
14e335ed IT |
1161 | 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com> |
1162 | ||
1163 | PR target/84148 | |
1164 | * configure: Regenerate. | |
1165 | ||
d5efbf3f JD |
1166 | 2018-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
1167 | ||
1168 | PR libgfortran/84412 | |
1169 | * io/transfer.c (finalize_transfer): After completng an internal unit | |
1170 | I/O operation, clear internal_unit_kind. | |
1171 | ||
e9bfdf18 TK |
1172 | 2018-02-12 Thomas Koenig <tkoenig@gcc.gnu.org> |
1173 | ||
1174 | * libgfortran.h (GFC_ARRAY_DESCRIPTOR): Remove dimension | |
1175 | of descriptor to use vaiable members for dim. | |
1176 | Change usage of GFC_ARRAY_DESCRIPTOR accordingly. | |
1177 | (GFC_FILL_ARRAY_DESCRIPTOR): New macro. | |
1178 | (gfc_full_array_i4): New type. | |
1179 | * intrinsics/date_and_time.c (secnds): Use sizeof | |
1180 | (gfc_array_i4) + sizeof (descriptor_dimension) for memory | |
1181 | allocation. | |
1182 | * intrinsics/reshape_generic.c: Use GFC_FULL_ARRAY_DESCRIPTOR. | |
1183 | * io/format.c: Use sizeof (gfc_array_i4) + sizeof | |
1184 | (descriptor_dimension) for memoy allocation. | |
1185 | * io/list_read.c (list_formatted_read_scalar): Use | |
1186 | gfc_full_array_i4 for variable. | |
1187 | (nml_read_obj): Likewise. | |
1188 | * io/write.c (list_formatted_write_scalar): Likewise. | |
1189 | (nml_write_obj): Likewise. | |
1190 | * m4/reshape.m4: Use GFC_FULL_ARRAY_DESCRIPTOR. | |
1191 | * generated/reshape_c10.c: Regenerated. | |
1192 | * generated/reshape_c16.c: Regenerated. | |
1193 | * generated/reshape_c4.c: Regenerated. | |
1194 | * generated/reshape_c8.c: Regenerated. | |
1195 | * generated/reshape_i16.c: Regenerated. | |
1196 | * generated/reshape_i4.c: Regenerated. | |
1197 | * generated/reshape_i8.c: Regenerated. | |
1198 | * generated/reshape_r10.c: Regenerated. | |
1199 | * generated/reshape_r16.c: Regenerated. | |
1200 | * generated/reshape_r4.c: Regenerated. | |
1201 | * generated/reshape_r8.c: Regenerated. | |
1202 | ||
7a157266 JB |
1203 | 2018-01-31 Janne Blomqvist <jb@gcc.gnu.org> |
1204 | ||
1205 | * generated/cshift1_16.c (cshift1): Regenerated. | |
1206 | * generated/cshift1_4.c (cshift1): Regenerated. | |
1207 | * generated/cshift1_8.c (cshift1): Regenerated. | |
1208 | * generated/eoshift1_16.c (eoshift1): Regenerated. | |
1209 | * generated/eoshift1_4.c (eoshift1): Regenerated. | |
1210 | * generated/eoshift1_8.c (eoshift1): Regenerated. | |
1211 | * generated/eoshift3_16.c (eoshift3): Regenerated. | |
1212 | * generated/eoshift3_4.c (eoshift3): Regenerated. | |
1213 | * generated/eoshift3_8.c (eoshift3): Regenerated. | |
1214 | * generated/in_pack_c10.c (internal_pack_c10): Regenerated. | |
1215 | * generated/in_pack_c16.c (internal_pack_c16): Regenerated. | |
1216 | * generated/in_pack_c4.c (internal_pack_c4): Regenerated. | |
1217 | * generated/in_pack_c8.c (internal_pack_c8): Regenerated. | |
1218 | * generated/in_pack_i1.c (internal_pack_1): Regenerated. | |
1219 | * generated/in_pack_i16.c (internal_pack_16): Regenerated. | |
1220 | * generated/in_pack_i2.c (internal_pack_2): Regenerated. | |
1221 | * generated/in_pack_i4.c (internal_pack_4): Regenerated. | |
1222 | * generated/in_pack_i8.c (internal_pack_8): Regenerated. | |
1223 | * generated/in_pack_r10.c (internal_pack_r10): Regenerated. | |
1224 | * generated/in_pack_r16.c (internal_pack_r16): Regenerated. | |
1225 | * generated/in_pack_r4.c (internal_pack_r4): Regenerated. | |
1226 | * generated/in_pack_r8.c (internal_pack_r8): Regenerated. | |
1227 | * generated/in_unpack_c10.c (internal_unpack_c10): Regenerated. | |
1228 | * generated/in_unpack_c16.c (internal_unpack_c16): Regenerated. | |
1229 | * generated/in_unpack_c4.c (internal_unpack_c4): Regenerated. | |
1230 | * generated/in_unpack_c8.c (internal_unpack_c8): Regenerated. | |
1231 | * generated/in_unpack_i1.c (internal_unpack_1): Regenerated. | |
1232 | * generated/in_unpack_i16.c (internal_unpack_16): Regenerated. | |
1233 | * generated/in_unpack_i2.c (internal_unpack_2): Regenerated. | |
1234 | * generated/in_unpack_i4.c (internal_unpack_4): Regenerated. | |
1235 | * generated/in_unpack_i8.c (internal_unpack_8): Regenerated. | |
1236 | * generated/in_unpack_r10.c (internal_unpack_r10): Regenerated. | |
1237 | * generated/in_unpack_r16.c (internal_unpack_r16): Regenerated. | |
1238 | * generated/in_unpack_r4.c (internal_unpack_r4): Regenerated. | |
1239 | * generated/in_unpack_r8.c (internal_unpack_r8): Regenerated. | |
1240 | * generated/reshape_c10.c (reshape_c10): Regenerated. | |
1241 | * generated/reshape_c16.c (reshape_c16): Regenerated. | |
1242 | * generated/reshape_c4.c (reshape_c4): Regenerated. | |
1243 | * generated/reshape_c8.c (reshape_c8): Regenerated. | |
1244 | * generated/reshape_i16.c (reshape_16): Regenerated. | |
1245 | * generated/reshape_i4.c (reshape_4): Regenerated. | |
1246 | * generated/reshape_i8.c (reshape_8): Regenerated. | |
1247 | * generated/reshape_r10.c (reshape_r10): Regenerated. | |
1248 | * generated/reshape_r16.c (reshape_r16): Regenerated. | |
1249 | * generated/reshape_r4.c (reshape_r4): Regenerated. | |
1250 | * generated/reshape_r8.c (reshape_r8): Regenerated. | |
1251 | * generated/shape_i1.c (shape_1): Regenerated. | |
1252 | * generated/shape_i16.c (shape_16): Regenerated. | |
1253 | * generated/shape_i2.c (shape_2): Regenerated. | |
1254 | * generated/shape_i4.c (shape_4): Regenerated. | |
1255 | * generated/shape_i8.c (shape_8): Regenerated. | |
1256 | * generated/spread_c10.c (spread_scalar_c10): Regenerated. | |
1257 | * generated/spread_c16.c (spread_scalar_c16): Regenerated. | |
1258 | * generated/spread_c4.c (spread_scalar_c4): Regenerated. | |
1259 | * generated/spread_c8.c (spread_scalar_c8): Regenerated. | |
1260 | * generated/spread_i1.c (spread_scalar_i1): Regenerated. | |
1261 | * generated/spread_i16.c (spread_scalar_i16): Regenerated. | |
1262 | * generated/spread_i2.c (spread_scalar_i2): Regenerated. | |
1263 | * generated/spread_i4.c (spread_scalar_i4): Regenerated. | |
1264 | * generated/spread_i8.c (spread_scalar_i8): Regenerated. | |
1265 | * generated/spread_r10.c (spread_scalar_r10): Regenerated. | |
1266 | * generated/spread_r16.c (spread_scalar_r16): Regenerated. | |
1267 | * generated/spread_r4.c (spread_scalar_r4): Regenerated. | |
1268 | * generated/spread_r8.c (spread_scalar_r8): Regenerated. | |
1269 | * intrinsics/random.c (jump): Use size_t for array index in loop. | |
1270 | (getosrandom): Likewise. | |
1271 | (arandom_r4): Make n an index_type. | |
1272 | (arandom_r8): Likewise. | |
1273 | (arandom_r10): Likewise. | |
1274 | (arandom_r16): Likewise. | |
1275 | (scramble_seed): Use size_t for array index in loop. | |
1276 | * m4/cshift1.m4: Make i an index_type. | |
1277 | * m4/eoshift1.m4: Likewise. | |
1278 | * m4/eoshift3.m4: Likewise. | |
1279 | * m4/in_pack.m4: Make n an index_type. | |
1280 | * m4/in_unpack.m4: Likewise. | |
1281 | * m4/reshape.m4: Make n and dim index_type's. | |
1282 | * m4/shape.m4: Make n an index_type. | |
1283 | * m4/spread.m4: Likewise, use index_type argument rather than | |
1284 | copying to int. | |
1285 | * runtime/bounds.c (bounds_ifunction_return): Make n an | |
1286 | index_type. | |
1287 | * runtime/in_pack_generic.c (internal_pack): Likewise. | |
1288 | * runtime/in_unpack_generic.c (internal_unpack): Make n and size | |
1289 | index_type's. | |
1290 | ||
b6019ab1 TK |
1291 | 2018-01-30 Thomas Koenig <tkoenig@gcc.gnu.org> |
1292 | ||
1293 | PR fortran/37577 | |
1294 | * libgfortran.h: Remove GFC_DTYPE_DERIVED_1, GFC_DTYPE_DERIVED_2, | |
1295 | GFC_DTYPE_DERIVED_4, GFC_DTYPE_DERIVED_8 and GFC_DTYPE_DERIVED_16. | |
1296 | * m4/cshift1.m4: Remove GFC_DTYPE_DERIVED_1. | |
1297 | * generated/cshift1_16.c: Regenerated. | |
1298 | * generated/cshift1_4.c: Regenerated. | |
1299 | * generated/cshift1_8.c: Regenerated. | |
1300 | * intrinsics/cshift0.c: Remove GFC_DTYPE_DERIVED_1. | |
1301 | * intrinsics/pack_generic.c (pack): Move handling of other types | |
1302 | into separate switch statement. | |
1303 | * intrinsics/spread_generic.c (spread): Likewise. | |
1304 | (spread_scalar): Likewise. | |
1305 | * intrinsics/unpack_generic.c (unpack1): Likewise. | |
1306 | (unpack0): Likewise. | |
1307 | * runtime/in_pack_generic.c (internal_pack): Likewise. | |
1308 | * runtime/in_unpack_generic.c (internal_unpack): Likewise. | |
1309 | ||
1310 | 2018-01-25 Paul Thomas <pault@gcc.gnu.org> | |
7fb43006 PT |
1311 | |
1312 | PR fortran/37577 | |
1313 | * caf/single.c (_gfortran_caf_failed_images): Access the 'type' | |
1314 | and 'elem_len' fields of the dtype instead of the shifts. | |
1315 | (_gfortran_caf_stopped_images): Likewise. | |
1316 | * intrinsics/associated.c (associated): Compare the 'type' and | |
1317 | 'elem_len' fields instead of the dtype. | |
1318 | * caf/date_and_time.c : Access the dtype fields rather using | |
1319 | shifts and masks. | |
1320 | * io/transfer.c (transfer_array ): Comment on item count. | |
1321 | (set_nml_var,st_set_nml_var): Change dtype type and use fields. | |
1322 | (st_set_nml_dtio_var): Likewise. | |
1323 | * libgfortran.h : Change definition of GFC_ARRAY_DESCRIPTOR and | |
1324 | add a typedef for the dtype_type. Change the GFC_DTYPE_* macros | |
1325 | to access the dtype fields. | |
1326 | ||
64b1806b TK |
1327 | 2018-01-15 Thomas Koenig <tkoenig@gcc.gnu.org> |
1328 | ||
1329 | PR fortran/54613 | |
1330 | * m4/iparm.m4: Add back_arg macro if in minloc or maxloc. | |
1331 | * m4/iforeach-s.m4: Add optional argument back with back_arg | |
1332 | macro. Improve m4 quoting. If HAVE_BACK_ARG is defined, assert | |
1333 | that back is non-true. | |
1334 | * m4/iforeach.m4: Likewise. | |
1335 | * m4/ifunction-s.m4: Likewise. | |
1336 | * m4/ifunction.m4: Likewise. | |
1337 | * m4/maxloc0.m4: Include assert.h | |
1338 | * m4/minloc0.m4: Likewise. | |
1339 | * m4/maxloc0s.m4: #define HAVE_BACK_ARG. | |
1340 | * m4/minloc0s.m4: Likewise. | |
1341 | * m4/maxloc1s.m4: Likewise. | |
1342 | * m4/minloc1s.m4: Likewise. | |
1343 | * m4/maxloc1.m4: Include assert.h, #define HAVE_BACK_ARG. | |
1344 | * m4/minloc1.m4: Likewise. | |
1345 | * m4/maxloc2s.m4: Add assert.h, add back_arg, assert that | |
1346 | back is non-true. | |
1347 | * m4/minloc2s.m4: Likewise. | |
1348 | * generated/iall_i1.c: Regenerated. | |
1349 | * generated/iall_i16.c: Regenerated. | |
1350 | * generated/iall_i2.c: Regenerated. | |
1351 | * generated/iall_i4.c: Regenerated. | |
1352 | * generated/iall_i8.c: Regenerated. | |
1353 | * generated/iany_i1.c: Regenerated. | |
1354 | * generated/iany_i16.c: Regenerated. | |
1355 | * generated/iany_i2.c: Regenerated. | |
1356 | * generated/iany_i4.c: Regenerated. | |
1357 | * generated/iany_i8.c: Regenerated. | |
1358 | * generated/iparity_i1.c: Regenerated. | |
1359 | * generated/iparity_i16.c: Regenerated. | |
1360 | * generated/iparity_i2.c: Regenerated. | |
1361 | * generated/iparity_i4.c: Regenerated. | |
1362 | * generated/iparity_i8.c: Regenerated. | |
1363 | * generated/maxloc0_16_i1.c: Regenerated. | |
1364 | * generated/maxloc0_16_i16.c: Regenerated. | |
1365 | * generated/maxloc0_16_i2.c: Regenerated. | |
1366 | * generated/maxloc0_16_i4.c: Regenerated. | |
1367 | * generated/maxloc0_16_i8.c: Regenerated. | |
1368 | * generated/maxloc0_16_r10.c: Regenerated. | |
1369 | * generated/maxloc0_16_r16.c: Regenerated. | |
1370 | * generated/maxloc0_16_r4.c: Regenerated. | |
1371 | * generated/maxloc0_16_r8.c: Regenerated. | |
1372 | * generated/maxloc0_16_s1.c: Regenerated. | |
1373 | * generated/maxloc0_16_s4.c: Regenerated. | |
1374 | * generated/maxloc0_4_i1.c: Regenerated. | |
1375 | * generated/maxloc0_4_i16.c: Regenerated. | |
1376 | * generated/maxloc0_4_i2.c: Regenerated. | |
1377 | * generated/maxloc0_4_i4.c: Regenerated. | |
1378 | * generated/maxloc0_4_i8.c: Regenerated. | |
1379 | * generated/maxloc0_4_r10.c: Regenerated. | |
1380 | * generated/maxloc0_4_r16.c: Regenerated. | |
1381 | * generated/maxloc0_4_r4.c: Regenerated. | |
1382 | * generated/maxloc0_4_r8.c: Regenerated. | |
1383 | * generated/maxloc0_4_s1.c: Regenerated. | |
1384 | * generated/maxloc0_4_s4.c: Regenerated. | |
1385 | * generated/maxloc0_8_i1.c: Regenerated. | |
1386 | * generated/maxloc0_8_i16.c: Regenerated. | |
1387 | * generated/maxloc0_8_i2.c: Regenerated. | |
1388 | * generated/maxloc0_8_i4.c: Regenerated. | |
1389 | * generated/maxloc0_8_i8.c: Regenerated. | |
1390 | * generated/maxloc0_8_r10.c: Regenerated. | |
1391 | * generated/maxloc0_8_r16.c: Regenerated. | |
1392 | * generated/maxloc0_8_r4.c: Regenerated. | |
1393 | * generated/maxloc0_8_r8.c: Regenerated. | |
1394 | * generated/maxloc0_8_s1.c: Regenerated. | |
1395 | * generated/maxloc0_8_s4.c: Regenerated. | |
1396 | * generated/maxloc1_16_i1.c: Regenerated. | |
1397 | * generated/maxloc1_16_i16.c: Regenerated. | |
1398 | * generated/maxloc1_16_i2.c: Regenerated. | |
1399 | * generated/maxloc1_16_i4.c: Regenerated. | |
1400 | * generated/maxloc1_16_i8.c: Regenerated. | |
1401 | * generated/maxloc1_16_r10.c: Regenerated. | |
1402 | * generated/maxloc1_16_r16.c: Regenerated. | |
1403 | * generated/maxloc1_16_r4.c: Regenerated. | |
1404 | * generated/maxloc1_16_r8.c: Regenerated. | |
1405 | * generated/maxloc1_16_s1.c: Regenerated. | |
1406 | * generated/maxloc1_16_s4.c: Regenerated. | |
1407 | * generated/maxloc1_4_i1.c: Regenerated. | |
1408 | * generated/maxloc1_4_i16.c: Regenerated. | |
1409 | * generated/maxloc1_4_i2.c: Regenerated. | |
1410 | * generated/maxloc1_4_i4.c: Regenerated. | |
1411 | * generated/maxloc1_4_i8.c: Regenerated. | |
1412 | * generated/maxloc1_4_r10.c: Regenerated. | |
1413 | * generated/maxloc1_4_r16.c: Regenerated. | |
1414 | * generated/maxloc1_4_r4.c: Regenerated. | |
1415 | * generated/maxloc1_4_r8.c: Regenerated. | |
1416 | * generated/maxloc1_4_s1.c: Regenerated. | |
1417 | * generated/maxloc1_4_s4.c: Regenerated. | |
1418 | * generated/maxloc1_8_i1.c: Regenerated. | |
1419 | * generated/maxloc1_8_i16.c: Regenerated. | |
1420 | * generated/maxloc1_8_i2.c: Regenerated. | |
1421 | * generated/maxloc1_8_i4.c: Regenerated. | |
1422 | * generated/maxloc1_8_i8.c: Regenerated. | |
1423 | * generated/maxloc1_8_r10.c: Regenerated. | |
1424 | * generated/maxloc1_8_r16.c: Regenerated. | |
1425 | * generated/maxloc1_8_r4.c: Regenerated. | |
1426 | * generated/maxloc1_8_r8.c: Regenerated. | |
1427 | * generated/maxloc1_8_s1.c: Regenerated. | |
1428 | * generated/maxloc1_8_s4.c: Regenerated. | |
1429 | * generated/maxval_i1.c: Regenerated. | |
1430 | * generated/maxval_i16.c: Regenerated. | |
1431 | * generated/maxval_i2.c: Regenerated. | |
1432 | * generated/maxval_i4.c: Regenerated. | |
1433 | * generated/maxval_i8.c: Regenerated. | |
1434 | * generated/maxval_r10.c: Regenerated. | |
1435 | * generated/maxval_r16.c: Regenerated. | |
1436 | * generated/maxval_r4.c: Regenerated. | |
1437 | * generated/maxval_r8.c: Regenerated. | |
1438 | * generated/minloc0_16_i1.c: Regenerated. | |
1439 | * generated/minloc0_16_i16.c: Regenerated. | |
1440 | * generated/minloc0_16_i2.c: Regenerated. | |
1441 | * generated/minloc0_16_i4.c: Regenerated. | |
1442 | * generated/minloc0_16_i8.c: Regenerated. | |
1443 | * generated/minloc0_16_r10.c: Regenerated. | |
1444 | * generated/minloc0_16_r16.c: Regenerated. | |
1445 | * generated/minloc0_16_r4.c: Regenerated. | |
1446 | * generated/minloc0_16_r8.c: Regenerated. | |
1447 | * generated/minloc0_16_s1.c: Regenerated. | |
1448 | * generated/minloc0_16_s4.c: Regenerated. | |
1449 | * generated/minloc0_4_i1.c: Regenerated. | |
1450 | * generated/minloc0_4_i16.c: Regenerated. | |
1451 | * generated/minloc0_4_i2.c: Regenerated. | |
1452 | * generated/minloc0_4_i4.c: Regenerated. | |
1453 | * generated/minloc0_4_i8.c: Regenerated. | |
1454 | * generated/minloc0_4_r10.c: Regenerated. | |
1455 | * generated/minloc0_4_r16.c: Regenerated. | |
1456 | * generated/minloc0_4_r4.c: Regenerated. | |
1457 | * generated/minloc0_4_r8.c: Regenerated. | |
1458 | * generated/minloc0_4_s1.c: Regenerated. | |
1459 | * generated/minloc0_4_s4.c: Regenerated. | |
1460 | * generated/minloc0_8_i1.c: Regenerated. | |
1461 | * generated/minloc0_8_i16.c: Regenerated. | |
1462 | * generated/minloc0_8_i2.c: Regenerated. | |
1463 | * generated/minloc0_8_i4.c: Regenerated. | |
1464 | * generated/minloc0_8_i8.c: Regenerated. | |
1465 | * generated/minloc0_8_r10.c: Regenerated. | |
1466 | * generated/minloc0_8_r16.c: Regenerated. | |
1467 | * generated/minloc0_8_r4.c: Regenerated. | |
1468 | * generated/minloc0_8_r8.c: Regenerated. | |
1469 | * generated/minloc0_8_s1.c: Regenerated. | |
1470 | * generated/minloc0_8_s4.c: Regenerated. | |
1471 | * generated/minloc1_16_i1.c: Regenerated. | |
1472 | * generated/minloc1_16_i16.c: Regenerated. | |
1473 | * generated/minloc1_16_i2.c: Regenerated. | |
1474 | * generated/minloc1_16_i4.c: Regenerated. | |
1475 | * generated/minloc1_16_i8.c: Regenerated. | |
1476 | * generated/minloc1_16_r10.c: Regenerated. | |
1477 | * generated/minloc1_16_r16.c: Regenerated. | |
1478 | * generated/minloc1_16_r4.c: Regenerated. | |
1479 | * generated/minloc1_16_r8.c: Regenerated. | |
1480 | * generated/minloc1_16_s1.c: Regenerated. | |
1481 | * generated/minloc1_16_s4.c: Regenerated. | |
1482 | * generated/minloc1_4_i1.c: Regenerated. | |
1483 | * generated/minloc1_4_i16.c: Regenerated. | |
1484 | * generated/minloc1_4_i2.c: Regenerated. | |
1485 | * generated/minloc1_4_i4.c: Regenerated. | |
1486 | * generated/minloc1_4_i8.c: Regenerated. | |
1487 | * generated/minloc1_4_r10.c: Regenerated. | |
1488 | * generated/minloc1_4_r16.c: Regenerated. | |
1489 | * generated/minloc1_4_r4.c: Regenerated. | |
1490 | * generated/minloc1_4_r8.c: Regenerated. | |
1491 | * generated/minloc1_4_s1.c: Regenerated. | |
1492 | * generated/minloc1_4_s4.c: Regenerated. | |
1493 | * generated/minloc1_8_i1.c: Regenerated. | |
1494 | * generated/minloc1_8_i16.c: Regenerated. | |
1495 | * generated/minloc1_8_i2.c: Regenerated. | |
1496 | * generated/minloc1_8_i4.c: Regenerated. | |
1497 | * generated/minloc1_8_i8.c: Regenerated. | |
1498 | * generated/minloc1_8_r10.c: Regenerated. | |
1499 | * generated/minloc1_8_r16.c: Regenerated. | |
1500 | * generated/minloc1_8_r4.c: Regenerated. | |
1501 | * generated/minloc1_8_r8.c: Regenerated. | |
1502 | * generated/minloc1_8_s1.c: Regenerated. | |
1503 | * generated/minloc1_8_s4.c: Regenerated. | |
1504 | * generated/minval_i1.c: Regenerated. | |
1505 | * generated/minval_i16.c: Regenerated. | |
1506 | * generated/minval_i2.c: Regenerated. | |
1507 | * generated/minval_i4.c: Regenerated. | |
1508 | * generated/minval_i8.c: Regenerated. | |
1509 | * generated/minval_r10.c: Regenerated. | |
1510 | * generated/minval_r16.c: Regenerated. | |
1511 | * generated/minval_r4.c: Regenerated. | |
1512 | * generated/minval_r8.c: Regenerated. | |
1513 | * generated/norm2_r10.c: Regenerated. | |
1514 | * generated/norm2_r16.c: Regenerated. | |
1515 | * generated/norm2_r4.c: Regenerated. | |
1516 | * generated/norm2_r8.c: Regenerated. | |
1517 | * generated/parity_l1.c: Regenerated. | |
1518 | * generated/parity_l16.c: Regenerated. | |
1519 | * generated/parity_l2.c: Regenerated. | |
1520 | * generated/parity_l4.c: Regenerated. | |
1521 | * generated/parity_l8.c: Regenerated. | |
1522 | * generated/product_c10.c: Regenerated. | |
1523 | * generated/product_c16.c: Regenerated. | |
1524 | * generated/product_c4.c: Regenerated. | |
1525 | * generated/product_c8.c: Regenerated. | |
1526 | * generated/product_i1.c: Regenerated. | |
1527 | * generated/product_i16.c: Regenerated. | |
1528 | * generated/product_i2.c: Regenerated. | |
1529 | * generated/product_i4.c: Regenerated. | |
1530 | * generated/product_i8.c: Regenerated. | |
1531 | * generated/product_r10.c: Regenerated. | |
1532 | * generated/product_r16.c: Regenerated. | |
1533 | * generated/product_r4.c: Regenerated. | |
1534 | * generated/product_r8.c: Regenerated. | |
1535 | * generated/sum_c10.c: Regenerated. | |
1536 | * generated/sum_c16.c: Regenerated. | |
1537 | * generated/sum_c4.c: Regenerated. | |
1538 | * generated/sum_c8.c: Regenerated. | |
1539 | * generated/sum_i1.c: Regenerated. | |
1540 | * generated/sum_i16.c: Regenerated. | |
1541 | * generated/sum_i2.c: Regenerated. | |
1542 | * generated/sum_i4.c: Regenerated. | |
1543 | * generated/sum_i8.c: Regenerated. | |
1544 | * generated/sum_r10.c: Regenerated. | |
1545 | * generated/sum_r16.c: Regenerated. | |
1546 | * generated/sum_r4.c: Regenerated. | |
1547 | * generated/sum_r8.c: Regenerated. | |
1548 | ||
511f5ccf | 1549 | 2018-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
33b2b069 JD |
1550 | |
1551 | PR libgfortran/83811 | |
1552 | * write.c (select_buffer): Adjust buffer size up by 1. | |
1553 | ||
4135a21f JB |
1554 | 2018-01-08 Janne Blomqvist <jb@gcc.gnu.org> |
1555 | ||
1556 | PR 78534, bugfix for r256322 | |
1557 | * io/transfer.c (next_record_w): Use correct type for return value | |
1558 | of next_array_record. | |
1559 | ||
fa3c4d47 TK |
1560 | 2018-01-07 Thomas Koenig <tkoenig@gcc.gnu.org> |
1561 | ||
1562 | * libgfortran.h (GFC_DTYPE_COPY): New macro. | |
1563 | (GFC_DTYPE_COPY_SETRANK): New macro. | |
1564 | (GFC_DTYPE_IS_UNSET): New macro. | |
1565 | * intrinsics/cshift0.c (cshift0): Use new macros. | |
1566 | * intrinsics/eoshift0.c (eoshift0): Likewise. | |
1567 | * intrinsics/eoshift2.c (eoshift2): Likewise. | |
1568 | * intrinsics/move_alloc.c (move_alloc): Likewise. | |
1569 | * intrinsics/reshape_generic.c (reshape_internal): Likewise. | |
1570 | * intrinsics/spread_generic.c (spread_internal): Likewise. | |
1571 | * intrinsics/spread_generic.c (spread_scalar): Likewise. | |
1572 | * intrinsics/spread_generic.c (spread_char_scalar): Likewise. | |
1573 | * intrinsics/spread_generic.c (spread_char4_scalar): Likewise. | |
1574 | * intrinsics/unpack_generic.c (unpack0): Likewise. | |
1575 | * intrinsics/unpack_generic.c (unpack0_char): Likewise. | |
1576 | * intrinsics/unpack_generic.c (unpack0_char4): Likewise. | |
1577 | * m4/cshift1.m4 (cshift1): Likewise. | |
1578 | * m4/eoshift1.m4 (eoshift1): Likewise. | |
1579 | * m4/eoshift3.m4 (eoshift3): Likewise. | |
1580 | * m4/iforeach-s.m4: Likewise. | |
1581 | * m4/iforeach.m4: Likewise. | |
1582 | * m4/ifunction-s.m4: Likewise. | |
1583 | * m4/ifunction-s2.m4: Likewise. | |
1584 | * m4/ifunction.m4: Likewise. | |
1585 | * m4/ifunction_logical.m4: Likewise. | |
1586 | * m4/reshape.m4: Likewise. | |
1587 | * m4/spread.m4: Likewise. | |
1588 | * generated/all_l1.c : Regenerated. | |
1589 | * generated/all_l16.c : Regenerated. | |
1590 | * generated/all_l2.c : Regenerated. | |
1591 | * generated/all_l4.c : Regenerated. | |
1592 | * generated/all_l8.c : Regenerated. | |
1593 | * generated/any_l1.c : Regenerated. | |
1594 | * generated/any_l16.c : Regenerated. | |
1595 | * generated/any_l2.c : Regenerated. | |
1596 | * generated/any_l4.c : Regenerated. | |
1597 | * generated/any_l8.c : Regenerated. | |
1598 | * generated/count_16_l.c : Regenerated. | |
1599 | * generated/count_1_l.c : Regenerated. | |
1600 | * generated/count_2_l.c : Regenerated. | |
1601 | * generated/count_4_l.c : Regenerated. | |
1602 | * generated/count_8_l.c : Regenerated. | |
1603 | * generated/cshift1_16.c : Regenerated. | |
1604 | * generated/cshift1_4.c : Regenerated. | |
1605 | * generated/cshift1_8.c : Regenerated. | |
1606 | * generated/eoshift1_16.c : Regenerated. | |
1607 | * generated/eoshift1_4.c : Regenerated. | |
1608 | * generated/eoshift1_8.c : Regenerated. | |
1609 | * generated/eoshift3_16.c : Regenerated. | |
1610 | * generated/eoshift3_4.c : Regenerated. | |
1611 | * generated/eoshift3_8.c : Regenerated. | |
1612 | * generated/iall_i1.c : Regenerated. | |
1613 | * generated/iall_i16.c : Regenerated. | |
1614 | * generated/iall_i2.c : Regenerated. | |
1615 | * generated/iall_i4.c : Regenerated. | |
1616 | * generated/iall_i8.c : Regenerated. | |
1617 | * generated/iany_i1.c : Regenerated. | |
1618 | * generated/iany_i16.c : Regenerated. | |
1619 | * generated/iany_i2.c : Regenerated. | |
1620 | * generated/iany_i4.c : Regenerated. | |
1621 | * generated/iany_i8.c : Regenerated. | |
1622 | * generated/iparity_i1.c : Regenerated. | |
1623 | * generated/iparity_i16.c : Regenerated. | |
1624 | * generated/iparity_i2.c : Regenerated. | |
1625 | * generated/iparity_i4.c : Regenerated. | |
1626 | * generated/iparity_i8.c : Regenerated. | |
1627 | * generated/maxloc0_16_i1.c : Regenerated. | |
1628 | * generated/maxloc0_16_i16.c : Regenerated. | |
1629 | * generated/maxloc0_16_i2.c : Regenerated. | |
1630 | * generated/maxloc0_16_i4.c : Regenerated. | |
1631 | * generated/maxloc0_16_i8.c : Regenerated. | |
1632 | * generated/maxloc0_16_r10.c : Regenerated. | |
1633 | * generated/maxloc0_16_r16.c : Regenerated. | |
1634 | * generated/maxloc0_16_r4.c : Regenerated. | |
1635 | * generated/maxloc0_16_r8.c : Regenerated. | |
1636 | * generated/maxloc0_16_s1.c : Regenerated. | |
1637 | * generated/maxloc0_16_s4.c : Regenerated. | |
1638 | * generated/maxloc0_4_i1.c : Regenerated. | |
1639 | * generated/maxloc0_4_i16.c : Regenerated. | |
1640 | * generated/maxloc0_4_i2.c : Regenerated. | |
1641 | * generated/maxloc0_4_i4.c : Regenerated. | |
1642 | * generated/maxloc0_4_i8.c : Regenerated. | |
1643 | * generated/maxloc0_4_r10.c : Regenerated. | |
1644 | * generated/maxloc0_4_r16.c : Regenerated. | |
1645 | * generated/maxloc0_4_r4.c : Regenerated. | |
1646 | * generated/maxloc0_4_r8.c : Regenerated. | |
1647 | * generated/maxloc0_4_s1.c : Regenerated. | |
1648 | * generated/maxloc0_4_s4.c : Regenerated. | |
1649 | * generated/maxloc0_8_i1.c : Regenerated. | |
1650 | * generated/maxloc0_8_i16.c : Regenerated. | |
1651 | * generated/maxloc0_8_i2.c : Regenerated. | |
1652 | * generated/maxloc0_8_i4.c : Regenerated. | |
1653 | * generated/maxloc0_8_i8.c : Regenerated. | |
1654 | * generated/maxloc0_8_r10.c : Regenerated. | |
1655 | * generated/maxloc0_8_r16.c : Regenerated. | |
1656 | * generated/maxloc0_8_r4.c : Regenerated. | |
1657 | * generated/maxloc0_8_r8.c : Regenerated. | |
1658 | * generated/maxloc0_8_s1.c : Regenerated. | |
1659 | * generated/maxloc0_8_s4.c : Regenerated. | |
1660 | * generated/maxloc1_16_i1.c : Regenerated. | |
1661 | * generated/maxloc1_16_i16.c : Regenerated. | |
1662 | * generated/maxloc1_16_i2.c : Regenerated. | |
1663 | * generated/maxloc1_16_i4.c : Regenerated. | |
1664 | * generated/maxloc1_16_i8.c : Regenerated. | |
1665 | * generated/maxloc1_16_r10.c : Regenerated. | |
1666 | * generated/maxloc1_16_r16.c : Regenerated. | |
1667 | * generated/maxloc1_16_r4.c : Regenerated. | |
1668 | * generated/maxloc1_16_r8.c : Regenerated. | |
1669 | * generated/maxloc1_16_s1.c : Regenerated. | |
1670 | * generated/maxloc1_16_s4.c : Regenerated. | |
1671 | * generated/maxloc1_4_i1.c : Regenerated. | |
1672 | * generated/maxloc1_4_i16.c : Regenerated. | |
1673 | * generated/maxloc1_4_i2.c : Regenerated. | |
1674 | * generated/maxloc1_4_i4.c : Regenerated. | |
1675 | * generated/maxloc1_4_i8.c : Regenerated. | |
1676 | * generated/maxloc1_4_r10.c : Regenerated. | |
1677 | * generated/maxloc1_4_r16.c : Regenerated. | |
1678 | * generated/maxloc1_4_r4.c : Regenerated. | |
1679 | * generated/maxloc1_4_r8.c : Regenerated. | |
1680 | * generated/maxloc1_4_s1.c : Regenerated. | |
1681 | * generated/maxloc1_4_s4.c : Regenerated. | |
1682 | * generated/maxloc1_8_i1.c : Regenerated. | |
1683 | * generated/maxloc1_8_i16.c : Regenerated. | |
1684 | * generated/maxloc1_8_i2.c : Regenerated. | |
1685 | * generated/maxloc1_8_i4.c : Regenerated. | |
1686 | * generated/maxloc1_8_i8.c : Regenerated. | |
1687 | * generated/maxloc1_8_r10.c : Regenerated. | |
1688 | * generated/maxloc1_8_r16.c : Regenerated. | |
1689 | * generated/maxloc1_8_r4.c : Regenerated. | |
1690 | * generated/maxloc1_8_r8.c : Regenerated. | |
1691 | * generated/maxloc1_8_s1.c : Regenerated. | |
1692 | * generated/maxloc1_8_s4.c : Regenerated. | |
1693 | * generated/maxval1_s1.c : Regenerated. | |
1694 | * generated/maxval1_s4.c : Regenerated. | |
1695 | * generated/maxval_i1.c : Regenerated. | |
1696 | * generated/maxval_i16.c : Regenerated. | |
1697 | * generated/maxval_i2.c : Regenerated. | |
1698 | * generated/maxval_i4.c : Regenerated. | |
1699 | * generated/maxval_i8.c : Regenerated. | |
1700 | * generated/maxval_r10.c : Regenerated. | |
1701 | * generated/maxval_r16.c : Regenerated. | |
1702 | * generated/maxval_r4.c : Regenerated. | |
1703 | * generated/maxval_r8.c : Regenerated. | |
1704 | * generated/minloc0_16_i1.c : Regenerated. | |
1705 | * generated/minloc0_16_i16.c : Regenerated. | |
1706 | * generated/minloc0_16_i2.c : Regenerated. | |
1707 | * generated/minloc0_16_i4.c : Regenerated. | |
1708 | * generated/minloc0_16_i8.c : Regenerated. | |
1709 | * generated/minloc0_16_r10.c : Regenerated. | |
1710 | * generated/minloc0_16_r16.c : Regenerated. | |
1711 | * generated/minloc0_16_r4.c : Regenerated. | |
1712 | * generated/minloc0_16_r8.c : Regenerated. | |
1713 | * generated/minloc0_16_s1.c : Regenerated. | |
1714 | * generated/minloc0_16_s4.c : Regenerated. | |
1715 | * generated/minloc0_4_i1.c : Regenerated. | |
1716 | * generated/minloc0_4_i16.c : Regenerated. | |
1717 | * generated/minloc0_4_i2.c : Regenerated. | |
1718 | * generated/minloc0_4_i4.c : Regenerated. | |
1719 | * generated/minloc0_4_i8.c : Regenerated. | |
1720 | * generated/minloc0_4_r10.c : Regenerated. | |
1721 | * generated/minloc0_4_r16.c : Regenerated. | |
1722 | * generated/minloc0_4_r4.c : Regenerated. | |
1723 | * generated/minloc0_4_r8.c : Regenerated. | |
1724 | * generated/minloc0_4_s1.c : Regenerated. | |
1725 | * generated/minloc0_4_s4.c : Regenerated. | |
1726 | * generated/minloc0_8_i1.c : Regenerated. | |
1727 | * generated/minloc0_8_i16.c : Regenerated. | |
1728 | * generated/minloc0_8_i2.c : Regenerated. | |
1729 | * generated/minloc0_8_i4.c : Regenerated. | |
1730 | * generated/minloc0_8_i8.c : Regenerated. | |
1731 | * generated/minloc0_8_r10.c : Regenerated. | |
1732 | * generated/minloc0_8_r16.c : Regenerated. | |
1733 | * generated/minloc0_8_r4.c : Regenerated. | |
1734 | * generated/minloc0_8_r8.c : Regenerated. | |
1735 | * generated/minloc0_8_s1.c : Regenerated. | |
1736 | * generated/minloc0_8_s4.c : Regenerated. | |
1737 | * generated/minloc1_16_i1.c : Regenerated. | |
1738 | * generated/minloc1_16_i16.c : Regenerated. | |
1739 | * generated/minloc1_16_i2.c : Regenerated. | |
1740 | * generated/minloc1_16_i4.c : Regenerated. | |
1741 | * generated/minloc1_16_i8.c : Regenerated. | |
1742 | * generated/minloc1_16_r10.c : Regenerated. | |
1743 | * generated/minloc1_16_r16.c : Regenerated. | |
1744 | * generated/minloc1_16_r4.c : Regenerated. | |
1745 | * generated/minloc1_16_r8.c : Regenerated. | |
1746 | * generated/minloc1_16_s1.c : Regenerated. | |
1747 | * generated/minloc1_16_s4.c : Regenerated. | |
1748 | * generated/minloc1_4_i1.c : Regenerated. | |
1749 | * generated/minloc1_4_i16.c : Regenerated. | |
1750 | * generated/minloc1_4_i2.c : Regenerated. | |
1751 | * generated/minloc1_4_i4.c : Regenerated. | |
1752 | * generated/minloc1_4_i8.c : Regenerated. | |
1753 | * generated/minloc1_4_r10.c : Regenerated. | |
1754 | * generated/minloc1_4_r16.c : Regenerated. | |
1755 | * generated/minloc1_4_r4.c : Regenerated. | |
1756 | * generated/minloc1_4_r8.c : Regenerated. | |
1757 | * generated/minloc1_4_s1.c : Regenerated. | |
1758 | * generated/minloc1_4_s4.c : Regenerated. | |
1759 | * generated/minloc1_8_i1.c : Regenerated. | |
1760 | * generated/minloc1_8_i16.c : Regenerated. | |
1761 | * generated/minloc1_8_i2.c : Regenerated. | |
1762 | * generated/minloc1_8_i4.c : Regenerated. | |
1763 | * generated/minloc1_8_i8.c : Regenerated. | |
1764 | * generated/minloc1_8_r10.c : Regenerated. | |
1765 | * generated/minloc1_8_r16.c : Regenerated. | |
1766 | * generated/minloc1_8_r4.c : Regenerated. | |
1767 | * generated/minloc1_8_r8.c : Regenerated. | |
1768 | * generated/minloc1_8_s1.c : Regenerated. | |
1769 | * generated/minloc1_8_s4.c : Regenerated. | |
1770 | * generated/minval1_s1.c : Regenerated. | |
1771 | * generated/minval1_s4.c : Regenerated. | |
1772 | * generated/minval_i1.c : Regenerated. | |
1773 | * generated/minval_i16.c : Regenerated. | |
1774 | * generated/minval_i2.c : Regenerated. | |
1775 | * generated/minval_i4.c : Regenerated. | |
1776 | * generated/minval_i8.c : Regenerated. | |
1777 | * generated/minval_r10.c : Regenerated. | |
1778 | * generated/minval_r16.c : Regenerated. | |
1779 | * generated/minval_r4.c : Regenerated. | |
1780 | * generated/minval_r8.c : Regenerated. | |
1781 | * generated/norm2_r10.c : Regenerated. | |
1782 | * generated/norm2_r16.c : Regenerated. | |
1783 | * generated/norm2_r4.c : Regenerated. | |
1784 | * generated/norm2_r8.c : Regenerated. | |
1785 | * generated/parity_l1.c : Regenerated. | |
1786 | * generated/parity_l16.c : Regenerated. | |
1787 | * generated/parity_l2.c : Regenerated. | |
1788 | * generated/parity_l4.c : Regenerated. | |
1789 | * generated/parity_l8.c : Regenerated. | |
1790 | * generated/product_c10.c : Regenerated. | |
1791 | * generated/product_c16.c : Regenerated. | |
1792 | * generated/product_c4.c : Regenerated. | |
1793 | * generated/product_c8.c : Regenerated. | |
1794 | * generated/product_i1.c : Regenerated. | |
1795 | * generated/product_i16.c : Regenerated. | |
1796 | * generated/product_i2.c : Regenerated. | |
1797 | * generated/product_i4.c : Regenerated. | |
1798 | * generated/product_i8.c : Regenerated. | |
1799 | * generated/product_r10.c : Regenerated. | |
1800 | * generated/product_r16.c : Regenerated. | |
1801 | * generated/product_r4.c : Regenerated. | |
1802 | * generated/product_r8.c : Regenerated. | |
1803 | * generated/reshape_c10.c : Regenerated. | |
1804 | * generated/reshape_c16.c : Regenerated. | |
1805 | * generated/reshape_c4.c : Regenerated. | |
1806 | * generated/reshape_c8.c : Regenerated. | |
1807 | * generated/reshape_i16.c : Regenerated. | |
1808 | * generated/reshape_i4.c : Regenerated. | |
1809 | * generated/reshape_i8.c : Regenerated. | |
1810 | * generated/reshape_r10.c : Regenerated. | |
1811 | * generated/reshape_r16.c : Regenerated. | |
1812 | * generated/reshape_r4.c : Regenerated. | |
1813 | * generated/reshape_r8.c : Regenerated. | |
1814 | * generated/spread_c10.c : Regenerated. | |
1815 | * generated/spread_c16.c : Regenerated. | |
1816 | * generated/spread_c4.c : Regenerated. | |
1817 | * generated/spread_c8.c : Regenerated. | |
1818 | * generated/spread_i1.c : Regenerated. | |
1819 | * generated/spread_i16.c : Regenerated. | |
1820 | * generated/spread_i2.c : Regenerated. | |
1821 | * generated/spread_i4.c : Regenerated. | |
1822 | * generated/spread_i8.c : Regenerated. | |
1823 | * generated/spread_r10.c : Regenerated. | |
1824 | * generated/spread_r16.c : Regenerated. | |
1825 | * generated/spread_r4.c : Regenerated. | |
1826 | * generated/spread_r8.c : Regenerated. | |
1827 | * generated/sum_c10.c : Regenerated. | |
1828 | * generated/sum_c16.c : Regenerated. | |
1829 | * generated/sum_c4.c : Regenerated. | |
1830 | * generated/sum_c8.c : Regenerated. | |
1831 | * generated/sum_i1.c : Regenerated. | |
1832 | * generated/sum_i16.c : Regenerated. | |
1833 | * generated/sum_i2.c : Regenerated. | |
1834 | * generated/sum_i4.c : Regenerated. | |
1835 | * generated/sum_i8.c : Regenerated. | |
1836 | * generated/sum_r10.c : Regenerated. | |
1837 | * generated/sum_r16.c : Regenerated. | |
1838 | * generated/sum_r4.c : Regenerated. | |
1839 | * generated/sum_r8.c : Regenerated. | |
1840 | ||
ea99ec5b JB |
1841 | 2018-01-07 Janne Blomqvist <jb@gcc.gnu.org> |
1842 | ||
1843 | PR fortran/78534 | |
1844 | PR fortran/83704 | |
1845 | * io/fbuf.c (fbuf_init): Use size_t instead of int for length. | |
1846 | (fbuf_debug): Convert debug output to unsigned long. | |
1847 | (fbuf_reset): Use ptrdiff_t for return value. | |
1848 | (fbuf_alloc): Use size_t for length argument. | |
1849 | (fbuf_flush): Handle large buffers. | |
1850 | (fbuf_flush_list): Likewise. | |
1851 | (fbuf_seek): Use ptrdiff_t for offset and return value. | |
1852 | (fbuf_read): Use size_t for length argument. | |
1853 | (fbuf_getc_refill): Use size_t to match fbuf_read. | |
1854 | * io/fbuf.h (struct fbuf): Use size_t for lengths. | |
1855 | (fbuf_init): Use size_t instead of int for length. | |
1856 | (fbuf_reset): Use ptrdiff_t for return value. | |
1857 | (fbuf_alloc): Use size_t for length argument. | |
1858 | (fbuf_seek): Use ptrdiff_t for offset and return value. | |
1859 | (fbuf_read): Use size_t for length argument. | |
1860 | * io/io.h (read_block_form): Likewise. | |
1861 | (read_block_form4): Likewise. | |
1862 | (write_block): Likewise. | |
1863 | (read_a): Likewise. | |
1864 | (read_a_char4): Likewise. | |
1865 | (read_x): Likewise. | |
1866 | (write_a): Likewise. | |
1867 | (write_a_char4): Likewise. | |
1868 | * io/list_read.c (list_formatted_read_scalar): Use size_t to | |
1869 | handle large buffers. | |
1870 | * io/read.c (read_l): Likewise. | |
1871 | (read_utf8): Likewise. | |
1872 | (read_utf8_char1): Likewise. | |
1873 | (read_default_char1): Likewise. | |
1874 | (read_utf8_char4): Likewise. | |
1875 | (read_default_char4): Likewise. | |
1876 | (read_a): Likewise. | |
1877 | (read_a_char4): Likewise. | |
1878 | (eat_leading_spaces): Likewise. | |
1879 | (next_char): Likewise. | |
1880 | (read_decimal): Likewise. | |
1881 | (read_radix): Likewise. | |
1882 | (read_f): Likewise. | |
1883 | (read_x): Likewise. | |
1884 | * io/transfer.c (read_sf_internal): Likewise. | |
1885 | (read_sf): Likewise. | |
1886 | (read_block_form): Likewise. | |
1887 | (read_block_form4): Likewise. | |
1888 | (write_block): Likewise. | |
1889 | (formatted_transfer_scalar_write): Likewise. | |
1890 | (next_record_w): Likewise. | |
1891 | * io/unix.c (mem_alloc_r): Likewise. | |
1892 | (mem_alloc_r4): Likewise. | |
1893 | (mem_alloc_w): Likewise. | |
1894 | (mem_alloc_w4): Likewise. | |
1895 | (mem_read): Likewise. | |
1896 | (mem_read4): Likewise. | |
1897 | (mem_write): Likewise. | |
1898 | (mem_write4): Likewise. | |
1899 | (open_internal): Likewise. | |
1900 | (open_internal4): Likewise. | |
1901 | * io/unix.h (open_internal): Likewise. | |
1902 | (open_internal4): Likewise. | |
1903 | (mem_alloc_w): Likewise. | |
1904 | (mem_alloc_r): Likewise. | |
1905 | (mem_alloc_w4): Likewise. | |
1906 | (mem_alloc_r4): Likewise. | |
1907 | * io/write.c (write_check_cc): Likewise. | |
1908 | (write_cc): Likewise. | |
1909 | (write_a): Likewise. | |
1910 | (write_a_char4): Likewise. | |
1911 | ||
dd8b1ebf JB |
1912 | 2018-01-06 Janne Blomqvist <jb@gcc.gnu.org> |
1913 | ||
1914 | * io/write.c (namelist_write): Remove unused variable "i". | |
1915 | ||
d9bb51cd DH |
1916 | 2018-01-06 Dominique d'Humieres <dominiq@lps.ens.fr> |
1917 | Janne Blomqvist <jb@gcc.gnu.org> | |
1918 | ||
1919 | PR fortran/83704 | |
1920 | * io/write.c (write_character): Use size_t instead of int for | |
1921 | length. | |
1922 | ||
dd8b1ebf | 1923 | 2018-01-05 Janne Blomqvist <jb@gcc.gnu.org> |
b081a376 JB |
1924 | |
1925 | PR fortran/78534 | |
1926 | * intrinsics/args.c (getarg_i4): Use gfc_charlen_type. | |
1927 | (get_command_argument_i4): Likewise. | |
1928 | (get_command_i4): Likewise. | |
1929 | * intrinsics/chmod.c (chmod_internal): Likewise. | |
1930 | * intrinsics/env.c (get_environment_variable_i4): Likewise. | |
1931 | * intrinsics/extends_type_of.c (struct vtype): Use size_t for size | |
1932 | member. | |
1933 | * intrinsics/gerror.c (gerror): Use gfc_charlen_type. | |
1934 | * intrinsics/getlog.c (getlog): Likewise. | |
1935 | * intrinsics/hostnm.c (hostnm_0): Likewise. | |
1936 | * intrinsics/string_intrinsics_inc.c (string_len_trim): Rework to | |
1937 | work if gfc_charlen_type is unsigned. | |
1938 | (string_scan): Likewise. | |
1939 | * io/transfer.c (transfer_character): Modify prototype. | |
1940 | (transfer_character_write): Likewise. | |
1941 | (transfer_character_wide): Likewise. | |
1942 | (transfer_character_wide_write): Likewise. | |
1943 | (transfer_array): Typecast to avoid signed-unsigned comparison. | |
1944 | * io/unit.c (is_trim_ok): Use gfc_charlen_type. | |
1945 | * io/write.c (namelist_write): Likewise. | |
1946 | * libgfortran.h (gfc_charlen_type): Change typedef to size_t. | |
1947 | ||
85ec4feb JJ |
1948 | 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
1949 | ||
1950 | Update copyright years. | |
1951 | ||
2412750e JB |
1952 | 2018-01-02 Janne Blomqvist <jb@gcc.gnu.org> |
1953 | ||
1954 | PR libgfortran/83649 | |
1955 | * io/unix.c (MAX_CHUNK): New define. | |
1956 | (raw_read): For reads larger than MAX_CHUNK, loop. | |
1957 | (raw_write): Write no more than MAX_CHUNK bytes per iteration. | |
818ab71a | 1958 | \f |
85ec4feb | 1959 | Copyright (C) 2018 Free Software Foundation, Inc. |
982198d5 JB |
1960 | |
1961 | Copying and distribution of this file, with or without modification, | |
1962 | are permitted in any medium without royalty provided the copyright | |
1963 | notice and this notice are preserved. |