1 2017-11-22 Janne Blomqvist <jb@gcc.gnu.org>
4 * intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by
5 making a_ex and r_ex index_type instead of size_t.
7 2017-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
10 * io/io.h (newunit_free): Add declaration. Clean some whitespace.
11 * io/transfer.c (st_read_done, st_write_done): Call newunit_free.
12 * io/unit.c (newunit_free): Change type from static void to void.
14 2017-11-19 Janne Blomqvist <jb@gcc.gnu.org>
17 * io/transfer.c (skip_record): Use gfc_offset to handle large
19 (next_record_r): Likewise.
21 (next_record_w): Use gfc_offset/ptrdiff_t appropriately.
23 2017-11-18 Janne Blomqvist <jb@gcc.gnu.org>
26 * io/io.h: Make nextrec a GFC_IO_INT*.
28 2017-11-18 Janne Blomqvist <jb@gcc.gnu.org>
31 * io/io.h: Make recl_in a GC_IO_INT and recl_out a type
34 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
36 * acinclude.m4: Add enable.m4, cet.m4.
37 * Makefile.in: Regenerate.
38 * configure: Likewise.
39 * configure.ac: Set CET_FLAGS. Update AM_FCFLAGS,
42 2017-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
46 io/format.c (free_format_data): Don't try to free vlist
47 descriptors past the end of the fnode array.
49 2017-10-10 Thomas Koenig <tkoenig@gcc.gnu.org>
52 * intrinsics/execute_command_line.c (execute_command_line):
53 No call to runtime_error if cmdstat is present.
55 2017-09-24 Dominique d'Humieres <dominiq@lps.ens.fr>
58 * runtime/bounds.c: Use GFC_ASSERT.
60 2017-09-10 Paul Thomas <pault@gcc.gnu.org>
63 * libgfortran/libgfortran.h: Add span field to descriptor.
64 * libgfortran/libtool-version : Bump up version number to 5:0:0.
66 2017-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
69 * io/list_read.c (nml_read_obj): Remove use of stash.
70 * io/transfer.c (st_read_done, st_write_done): Likewise.
71 * io/unit.c (stash_internal_unit): Delete function.
72 (get_unit): Remove use of stash.
73 (init_units): Likewise.
74 (close_units): Likewise.
75 * io/write.c (nml_write_obj): Likewise:
77 2017-07-31 Thomas Koenig <tkoenig@gcc.gnu.org>
80 * m4/ifuntion.m4 (name`'rtype_qual`_'atype_code): Perform check
82 (`m'name`'rtype_qual`_'atype_code): Likewise. Change type of rank
83 and tim to index_type.
84 (`s'name`'rtype_qual`_'atype_code): Perform check for dim.
85 * generated/iall_i16.c: Regenerated.
86 * generated/iall_i1.c: Regenerated.
87 * generated/iall_i2.c: Regenerated.
88 * generated/iall_i4.c: Regenerated.
89 * generated/iall_i8.c: Regenerated.
90 * generated/iany_i16.c: Regenerated.
91 * generated/iany_i1.c: Regenerated.
92 * generated/iany_i2.c: Regenerated.
93 * generated/iany_i4.c: Regenerated.
94 * generated/iany_i8.c: Regenerated.
95 * generated/iparity_i16.c: Regenerated.
96 * generated/iparity_i1.c: Regenerated.
97 * generated/iparity_i2.c: Regenerated.
98 * generated/iparity_i4.c: Regenerated.
99 * generated/iparity_i8.c: Regenerated.
100 * generated/maxloc1_16_i16.c: Regenerated.
101 * generated/maxloc1_16_i1.c: Regenerated.
102 * generated/maxloc1_16_i2.c: Regenerated.
103 * generated/maxloc1_16_i4.c: Regenerated.
104 * generated/maxloc1_16_i8.c: Regenerated.
105 * generated/maxloc1_16_r10.c: Regenerated.
106 * generated/maxloc1_16_r16.c: Regenerated.
107 * generated/maxloc1_16_r4.c: Regenerated.
108 * generated/maxloc1_16_r8.c: Regenerated.
109 * generated/maxloc1_4_i16.c: Regenerated.
110 * generated/maxloc1_4_i1.c: Regenerated.
111 * generated/maxloc1_4_i2.c: Regenerated.
112 * generated/maxloc1_4_i4.c: Regenerated.
113 * generated/maxloc1_4_i8.c: Regenerated.
114 * generated/maxloc1_4_r10.c: Regenerated.
115 * generated/maxloc1_4_r16.c: Regenerated.
116 * generated/maxloc1_4_r4.c: Regenerated.
117 * generated/maxloc1_4_r8.c: Regenerated.
118 * generated/maxloc1_8_i16.c: Regenerated.
119 * generated/maxloc1_8_i1.c: Regenerated.
120 * generated/maxloc1_8_i2.c: Regenerated.
121 * generated/maxloc1_8_i4.c: Regenerated.
122 * generated/maxloc1_8_i8.c: Regenerated.
123 * generated/maxloc1_8_r10.c: Regenerated.
124 * generated/maxloc1_8_r16.c: Regenerated.
125 * generated/maxloc1_8_r4.c: Regenerated.
126 * generated/maxloc1_8_r8.c: Regenerated.
127 * generated/maxval_i16.c: Regenerated.
128 * generated/maxval_i1.c: Regenerated.
129 * generated/maxval_i2.c: Regenerated.
130 * generated/maxval_i4.c: Regenerated.
131 * generated/maxval_i8.c: Regenerated.
132 * generated/maxval_r10.c: Regenerated.
133 * generated/maxval_r16.c: Regenerated.
134 * generated/maxval_r4.c: Regenerated.
135 * generated/maxval_r8.c: Regenerated.
136 * generated/minloc1_16_i16.c: Regenerated.
137 * generated/minloc1_16_i1.c: Regenerated.
138 * generated/minloc1_16_i2.c: Regenerated.
139 * generated/minloc1_16_i4.c: Regenerated.
140 * generated/minloc1_16_i8.c: Regenerated.
141 * generated/minloc1_16_r10.c: Regenerated.
142 * generated/minloc1_16_r16.c: Regenerated.
143 * generated/minloc1_16_r4.c: Regenerated.
144 * generated/minloc1_16_r8.c: Regenerated.
145 * generated/minloc1_4_i16.c: Regenerated.
146 * generated/minloc1_4_i1.c: Regenerated.
147 * generated/minloc1_4_i2.c: Regenerated.
148 * generated/minloc1_4_i4.c: Regenerated.
149 * generated/minloc1_4_i8.c: Regenerated.
150 * generated/minloc1_4_r10.c: Regenerated.
151 * generated/minloc1_4_r16.c: Regenerated.
152 * generated/minloc1_4_r4.c: Regenerated.
153 * generated/minloc1_4_r8.c: Regenerated.
154 * generated/minloc1_8_i16.c: Regenerated.
155 * generated/minloc1_8_i1.c: Regenerated.
156 * generated/minloc1_8_i2.c: Regenerated.
157 * generated/minloc1_8_i4.c: Regenerated.
158 * generated/minloc1_8_i8.c: Regenerated.
159 * generated/minloc1_8_r10.c: Regenerated.
160 * generated/minloc1_8_r16.c: Regenerated.
161 * generated/minloc1_8_r4.c: Regenerated.
162 * generated/minloc1_8_r8.c: Regenerated.
163 * generated/minval_i16.c: Regenerated.
164 * generated/minval_i1.c: Regenerated.
165 * generated/minval_i2.c: Regenerated.
166 * generated/minval_i4.c: Regenerated.
167 * generated/minval_i8.c: Regenerated.
168 * generated/minval_r10.c: Regenerated.
169 * generated/minval_r16.c: Regenerated.
170 * generated/minval_r4.c: Regenerated.
171 * generated/minval_r8.c: Regenerated.
172 * generated/norm2_r10.c: Regenerated.
173 * generated/norm2_r16.c: Regenerated.
174 * generated/norm2_r4.c: Regenerated.
175 * generated/norm2_r8.c: Regenerated.
176 * generated/parity_l16.c: Regenerated.
177 * generated/parity_l1.c: Regenerated.
178 * generated/parity_l2.c: Regenerated.
179 * generated/parity_l4.c: Regenerated.
180 * generated/parity_l8.c: Regenerated.
181 * generated/product_c10.c: Regenerated.
182 * generated/product_c16.c: Regenerated.
183 * generated/product_c4.c: Regenerated.
184 * generated/product_c8.c: Regenerated.
185 * generated/product_i16.c: Regenerated.
186 * generated/product_i1.c: Regenerated.
187 * generated/product_i2.c: Regenerated.
188 * generated/product_i4.c: Regenerated.
189 * generated/product_i8.c: Regenerated.
190 * generated/product_r10.c: Regenerated.
191 * generated/product_r16.c: Regenerated.
192 * generated/product_r4.c: Regenerated.
193 * generated/product_r8.c: Regenerated.
194 * generated/sum_c10.c: Regenerated.
195 * generated/sum_c16.c: Regenerated.
196 * generated/sum_c4.c: Regenerated.
197 * generated/sum_c8.c: Regenerated.
198 * generated/sum_i16.c: Regenerated.
199 * generated/sum_i1.c: Regenerated.
200 * generated/sum_i2.c: Regenerated.
201 * generated/sum_i4.c: Regenerated.
202 * generated/sum_i8.c: Regenerated.
203 * generated/sum_r10.c: Regenerated.
204 * generated/sum_r16.c: Regenerated.
205 * generated/sum_r4.c: Regenerated.
206 * generated/sum_r8.c: Regenerated.
208 2017-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
211 * io/unix.c (buf_write): Return early if there is
214 2017-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
216 * intrinsics/eoshift2.c (eoshift2): Use memcpy
217 for innermost copy where possible.
218 * m4/eoshift1.m4 (eoshift1): Likewise.
219 * m4/eoshift3.m4 (eoshift3): Likewise.
220 * generated/eoshift1_16.c: Regenerated.
221 * generated/eoshift1_4.c: Regenerated.
222 * generated/eoshift1_8.c: Regenerated.
223 * generated/eoshift3_16.c: Regenerated.
224 * generated/eoshift3_4.c: Regenerated.
225 * generated/eoshift3_8.c: Regenerated.
227 2017-07-02 Thomas Koenig <tkoenig@gcc.gnu.org>
229 * intrinsics/eoshift0.c: For contiguous arrays, use
230 block algorithm. Use memcpy where possible.
232 2017-06-26 Jim Wilson <jim.wilson@r3-a15.aus-colo>
235 * io/unit.c (get_unit): Call __gthread_mutex_lock before newunit_stack
236 and newunit_tos references. Call __gthread_mutex_unlock afterward.
238 2017-06-24 Thomas Koenig <tkoenig@gcc.gnu.org>
241 * Makefile.am: Add i_cshift1a_c. Add rules to generate files
243 * Makefile.in: Regenerated.
244 * m4/cshift1a.m4: New file.
245 * m4/cshift.m4 (cshift1): Split up inner loop by removing
246 condition. Use memcpy where possible. Call helper functions
248 * libgfortran.h: Add prototypes for cshift1_16_c10,
249 cshift1_16_c16, cshift1_16_c4, cshift1_16_c8, cshift1_16_i1,
250 cshift1_16_i16, cshift1_16_i2, cshift1_16_i4, cshift1_16_i8,
251 cshift1_16_r10, cshift1_16_r16, cshift1_16_r4, cshift1_16_r8,
252 cshift1_4_c10, cshift1_4_c16, cshift1_4_c4, cshift1_4_c8,
253 cshift1_4_i1, cshift1_4_i16, cshift1_4_i2, cshift1_4_i4,
254 cshift1_4_i8, cshift1_4_r10, cshift1_4_r16, cshift1_4_r4,
255 cshift1_4_r8, cshift1_8_c10, cshift1_8_c16, cshift1_8_c4,
256 cshift1_8_c8, cshift1_8_i1, cshift1_8_i16, cshift1_8_i2,
257 cshift1_8_i4, cshift1_8_i8, cshift1_8_r10, cshift1_8_r16,
258 cshift1_8_r4 and cshift1_8_r8.
259 * generated/cshift1_16_c10.c: New file, generated from cshift1a.m4.
260 * generated/cshift1_16_c16.c: New file, generated from cshift1a.m4.
261 * generated/cshift1_16_c4.c: New file, generated from cshift1a.m4.
262 * generated/cshift1_16_c8.c: New file, generated from cshift1a.m4.
263 * generated/cshift1_16_i1.c: New file, generated from cshift1a.m4.
264 * generated/cshift1_16_i16.c: New file, generated from cshift1a.m4.
265 * generated/cshift1_16_i2.c: New file, generated from cshift1a.m4.
266 * generated/cshift1_16_i4.c: New file, generated from cshift1a.m4.
267 * generated/cshift1_16_i8.c: New file, generated from cshift1a.m4.
268 * generated/cshift1_16_r10.c: New file, generated from cshift1a.m4.
269 * generated/cshift1_16_r16.c: New file, generated from cshift1a.m4.
270 * generated/cshift1_16_r4.c: New file, generated from cshift1a.m4.
271 * generated/cshift1_16_r8.c: New file, generated from cshift1a.m4.
272 * generated/cshift1_4_c10.c: New file, generated from cshift1a.m4.
273 * generated/cshift1_4_c16.c: New file, generated from cshift1a.m4.
274 * generated/cshift1_4_c4.c: New file, generated from cshift1a.m4.
275 * generated/cshift1_4_c8.c: New file, generated from cshift1a.m4.
276 * generated/cshift1_4_i1.c: New file, generated from cshift1a.m4.
277 * generated/cshift1_4_i16.c: New file, generated from cshift1a.m4.
278 * generated/cshift1_4_i2.c: New file, generated from cshift1a.m4.
279 * generated/cshift1_4_i4.c: New file, generated from cshift1a.m4.
280 * generated/cshift1_4_i8.c: New file, generated from cshift1a.m4.
281 * generated/cshift1_4_r10.c: New file, generated from cshift1a.m4.
282 * generated/cshift1_4_r16.c: New file, generated from cshift1a.m4.
283 * generated/cshift1_4_r4.c: New file, generated from cshift1a.m4.
284 * generated/cshift1_4_r8.c: New file, generated from cshift1a.m4.
285 * generated/cshift1_8_c10.c: New file, generated from cshift1a.m4.
286 * generated/cshift1_8_c16.c: New file, generated from cshift1a.m4.
287 * generated/cshift1_8_c4.c: New file, generated from cshift1a.m4.
288 * generated/cshift1_8_c8.c: New file, generated from cshift1a.m4.
289 * generated/cshift1_8_i1.c: New file, generated from cshift1a.m4.
290 * generated/cshift1_8_i16.c: New file, generated from cshift1a.m4.
291 * generated/cshift1_8_i2.c: New file, generated from cshift1a.m4.
292 * generated/cshift1_8_i4.c: New file, generated from cshift1a.m4.
293 * generated/cshift1_8_i8.c: New file, generated from cshift1a.m4.
294 * generated/cshift1_8_r10.c: New file, generated from cshift1a.m4.
295 * generated/cshift1_8_r16.c: New file, generated from cshift1a.m4.
296 * generated/cshift1_8_r4.c: New file, generated from cshift1a.m4.
297 * generated/cshift1_8_r8.c: New file, generated from cshift1a.m4.
299 2017-06-18 Thomas Koenig <tkoenig@gcc.gnu.org>
302 * m4/cshift0.m4: For arrays that are contiguous up to
303 shift, implement blocked algorighm for cshift.
304 * generated/cshift0_c10.c: Regenerated.
305 * generated/cshift0_c16.c: Regenerated.
306 * generated/cshift0_c4.c: Regenerated.
307 * generated/cshift0_c8.c: Regenerated.
308 * generated/cshift0_i1.c: Regenerated.
309 * generated/cshift0_i16.c: Regenerated.
310 * generated/cshift0_i2.c: Regenerated.
311 * generated/cshift0_i4.c: Regenerated.
312 * generated/cshift0_i8.c: Regenerated.
313 * generated/cshift0_r10.c: Regenerated.
314 * generated/cshift0_r16.c: Regenerated.
315 * generated/cshift0_r4.c: Regenerated.
316 * generated/cshift0_r8.c: Regenerated.
318 2017-06-06 Thomas Koenig <tkoenig@gcc.gnu.org>
321 * m4/matmul_internal.m4: Move zeroing before early return.
322 * generated/matmul_c10.c: Regenerated.
323 * generated/matmul_c16.c: Regenerated.
324 * generated/matmul_c4.c: Regenerated.
325 * generated/matmul_c8.c: Regenerated.
326 * generated/matmul_i1.c: Regenerated.
327 * generated/matmul_i16.c: Regenerated.
328 * generated/matmul_i2.c: Regenerated.
329 * generated/matmul_i4.c: Regenerated.
330 * generated/matmul_i8.c: Regenerated.
331 * generated/matmul_r10.c: Regenerated.
332 * generated/matmul_r16.c: Regenerated.
333 * generated/matmul_r4.c: Regenerated.
334 * generated/matmul_r8.c: Regenerated.
335 * generated/matmulavx128_c10.c: Regenerated.
336 * generated/matmulavx128_c16.c: Regenerated.
337 * generated/matmulavx128_c4.c: Regenerated.
338 * generated/matmulavx128_c8.c: Regenerated.
339 * generated/matmulavx128_i1.c: Regenerated.
340 * generated/matmulavx128_i16.c: Regenerated.
341 * generated/matmulavx128_i2.c: Regenerated.
342 * generated/matmulavx128_i4.c: Regenerated.
343 * generated/matmulavx128_i8.c: Regenerated.
344 * generated/matmulavx128_r10.c: Regenerated.
345 * generated/matmulavx128_r16.c: Regenerated.
346 * generated/matmulavx128_r4.c: Regenerated.
347 * generated/matmulavx128_r8.c: Regenerated.
349 2017-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
352 * list_read.c (list_formatted_read_scala): Set the err return
353 value to the common.flags error values.
355 2017-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
357 * acinclude.m4 (LIBGFOR_CHECK_FMA3): Use test from
358 check_effective_target_fma in gcc.target/i386/i386.exp.
359 (LIBGFOR_CHECK_FMA4): Use test from check_effective_target_fma4.
360 * configure: Regenerate.
362 2017-05-26 Thomas Koenig <tkoenig@gcc.gnu.org>
365 * acinclude.m4: Also set HAVE_AVX128 on the false
366 branch of LIBGFOR_CHECK_AVX128.
367 * configure: Regenerated.
369 2017-05-25 Thomas Koenig <tkoenig@gcc.gnu.org>
372 * Makefile.am: Add generated/matmulavx128_*.c files.
373 Handle them for compiling and setting the right flags.
374 * acinclude.m4: Add tests for FMA3, FMA4 and AVX128.
375 * configure.ac: Call them.
376 * Makefile.in: Regenerated.
377 * config.h.in: Regenerated.
378 * configure: Regenerated.
379 * m4/matmul.m4: Handle AMD chips by calling 128-bit AVX
380 versions which use FMA3 or FMA4.
381 * m4/matmulavx128.m4: New file.
382 * generated/matmul_c10.c: Regenerated.
383 * generated/matmul_c16.c: Regenerated.
384 * generated/matmul_c4.c: Regenerated.
385 * generated/matmul_c8.c: Regenerated.
386 * generated/matmul_i1.c: Regenerated.
387 * generated/matmul_i16.c: Regenerated.
388 * generated/matmul_i2.c: Regenerated.
389 * generated/matmul_i4.c: Regenerated.
390 * generated/matmul_i8.c: Regenerated.
391 * generated/matmul_r10.c: Regenerated.
392 * generated/matmul_r16.c: Regenerated.
393 * generated/matmul_r4.c: Regenerated.
394 * generated/matmul_r8.c: Regenerated.
395 * generated/matmulavx128_c10.c: New file.
396 * generated/matmulavx128_c16.c: New file.
397 * generated/matmulavx128_c4.c: New file.
398 * generated/matmulavx128_c8.c: New file.
399 * generated/matmulavx128_i1.c: New file.
400 * generated/matmulavx128_i16.c: New file.
401 * generated/matmulavx128_i2.c: New file.
402 * generated/matmulavx128_i4.c: New file.
403 * generated/matmulavx128_i8.c: New file.
404 * generated/matmulavx128_r10.c: New file.
405 * generated/matmulavx128_r16.c: New file.
406 * generated/matmulavx128_r4.c: New file.
407 * generated/matmulavx128_r8.c: New file.
409 2017-05-19 Paul Thomas <pault@gcc.gnu.org>
410 Jerry DeLisle <jvdelisle@gcc.gnu.org>
413 * list_read.c (nml_read_obj): Compute pointer into class/type
414 arrays from the nl->dim information. Update it for each iteration
415 of the loop for the given object.
417 2017-05-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
420 * transfer.c (finalize_transfer): Reset last_char to 'empty'.
421 * file_pos.c (formatted_backspace): Likewise.
422 (st_endfile): Likewise.
423 (st_rewind): Likewise.
424 (st_flush): Likewise.
426 2017-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
429 * transfer.c (read_sf_internal): Remove bogus code to detect EOR.
430 (read_block_form): For internal units, generate EOR if no more
431 bytes left in unit and we are trying to read with ADVANCE='NO'.
433 2017-05-15 Thomas Koenig <tkoenig@gcc.gnu.org>
436 * m4/matmul_internal.m4: Set bystride to correct value in
437 vector-matrix multiplicatin for later calculation of buffer
439 * generated/matmul_c10.c: Regenerated.
440 * generated/matmul_c16.c: Regenerated.
441 * generated/matmul_c4.c: Regenerated.
442 * generated/matmul_c8.c: Regenerated.
443 * generated/matmul_i1.c: Regenerated.
444 * generated/matmul_i16.c: Regenerated.
445 * generated/matmul_i2.c: Regenerated.
446 * generated/matmul_i4.c: Regenerated.
447 * generated/matmul_i8.c: Regenerated.
448 * generated/matmul_r10.c: Regenerated.
449 * generated/matmul_r16.c: Regenerated.
450 * generated/matmul_r4.c: Regenerated.
451 * generated/matmul_r8.c: Regenerated.
453 2017-05-12 Thomas Schwinge <thomas@codesourcery.com>
455 * runtime/environ.c (weak_secure_getenv): Fix "__secure_gettime"
456 vs. "__secure_getenv" typo.
457 (secure_getenv): Fix "HAVE__SECURE_GETENV"
458 vs. "HAVE___SECURE_GETENV" typo.
460 2017-05-11 Janne Blomqvist <jb@gcc.gnu.org>
462 * libgfortran.h: HAVE_SECURE_GETENV: Don't check
463 HAVE___SECURE_GETENV.
464 * environ/runtime.c (secure_getenv): Use __secure_getenv via a
467 2017-05-10 Thomas Koenig <tkoenig@gcc.gnu.org>
471 * m4/matmul_internal.m4: 'matmul_name`: Always
472 use malloc/free to allocate t1.
473 * generated/matmul_c10.c: Regenerated.
474 * generated/matmul_c16.c: Regenerated.
475 * generated/matmul_c4.c: Regenerated.
476 * generated/matmul_c8.c: Regenerated.
477 * generated/matmul_i1.c: Regenerated.
478 * generated/matmul_i16.c: Regenerated.
479 * generated/matmul_i2.c: Regenerated.
480 * generated/matmul_i4.c: Regenerated.
481 * generated/matmul_i8.c: Regenerated.
482 * generated/matmul_r10.c: Regenerated.
483 * generated/matmul_r16.c: Regenerated.
484 * generated/matmul_r4.c: Regenerated.
485 * generated/matmul_r8.c: Regenerated.
487 2017-05-08 Thomas Koenig <tkoenig@gcc.gnu.org>
490 * m4/matmul_internal.m4: 'matmul_name`: Change
491 t1 to a VLA of the required size.
492 * generated/matmul_c10.c: Regenerated.
493 * generated/matmul_c16.c: Regenerated.
494 * generated/matmul_c4.c: Regenerated.
495 * generated/matmul_c8.c: Regenerated.
496 * generated/matmul_i1.c: Regenerated.
497 * generated/matmul_i16.c: Regenerated.
498 * generated/matmul_i2.c: Regenerated.
499 * generated/matmul_i4.c: Regenerated.
500 * generated/matmul_i8.c: Regenerated.
501 * generated/matmul_r10.c: Regenerated.
502 * generated/matmul_r16.c: Regenerated.
503 * generated/matmul_r4.c: Regenerated.
504 * generated/matmul_r8.c: Regenerated.
506 2017-04-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
508 * close.c: Fix white space in pointer declarations and comment
509 formats where applicable.
512 * format.c: Likewise.
513 * inquire.c: Likewise.
514 * intrinsics.c: Likewise.
515 * list_read.c: Likewise.
519 * transfer.c: Likewise.
525 2017-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
528 * io/list_read.c (nml_get_obj_data): Delete code which calls the
529 child read procedure. (nml_read_obj): Insert the code which
530 calls the child procedure. Don't need to touch nodes if using
531 dtio since parent will not be traversing the components.
533 2017-03-28 Janus Weil <janus@gcc.gnu.org>
536 * io/write.c (nml_write_obj): Build a class container only if necessary.
538 2017-03-27 Dominique d'Humieres <dominiq@lps.ens.fr>
540 * io/list_read.c: Insert /* Fall through. */ in the macro
541 CASE_SEPARATORS in order to silence warnings.
543 2017-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
546 * io/io.h (st_parameter_dt): Rename unused component last_char to
547 child_saved_iostat. Move comment to gfc_unit.
548 * io/list_read.c (list_formatted_read_scalar): After call to
549 child READ procedure, save the returned iostat value for later
550 check. (finish_list_read): Only finish READ if child_saved_iostat
552 * io/transfer.c (read_sf_internal): If there is a saved character
553 in last character, seek back one. Add a new check for EOR
554 condition. (read_sf): If there is a saved character
555 in last character, seek back one. (formatted_transfer_scalar_read):
556 Initialize last character before invoking child procedure.
557 (data_transfer_init): If child dtio, set advance
558 status to nonadvancing. Move update of size and check for EOR
559 condition to before child dtio return.
561 2017-03-17 Thomas Koenig <tkoenig@gcc.gnu.org>
564 * m4/reshape.m4 (reshape_'rtype_ccode`): Correct use
566 * generated/reshape_c10.c: Regenerated.
567 * generated/reshape_c16.c: Regenerated.
568 * generated/reshape_c4.c: Regenerated.
569 * generated/reshape_c8.c: Regenerated.
570 * generated/reshape_i16.c: Regenerated.
571 * generated/reshape_i4.c: Regenerated.
572 * generated/reshape_i8.c: Regenerated.
573 * generated/reshape_r10.c: Regenerated.
574 * generated/reshape_r16.c: Regenerated.
575 * generated/reshape_r4.c: Regenerated.
576 * generated/reshape_r8.c: Regenerated.
578 2017-03-15 NightStrike <nightstrike@gmail.com>
579 Janne Blomqvist <jb@gcc.gnu.org>
581 * intrinsics/random.c (getosrandom): Remove check for __CYGWIN__
583 * intrinsics/system_clock.c: Likewise.
584 (system_clock_4): Likewise.
585 (system_clock_8): Likewise.
586 * intrinsics/time_1.h: Don't include windows.h if __CYGWIN__ is
589 2017-03-10 Thomas Koenig <tkoenig@gcc.gnu.org>
592 * libgfortran.h (GFC_ASSERT): New macro.
593 * m4/reshape.m4 (reshape_'rtype_ccode`): Use GFC_ASSERT
594 to specify that sdim > 0 and rdim > 0.
595 * intrinsic/reshape_generic.c (reshape_internal): Likweise.
596 * generated/reshape_c10.c: Regenerated.
597 * generated/reshape_c16.c: Regenerated.
598 * generated/reshape_c4.c: Regenerated.
599 * generated/reshape_c8.c: Regenerated.
600 * generated/reshape_i16.c: Regenerated.
601 * generated/reshape_i4.c: Regenerated.
602 * generated/reshape_i8.c: Regenerated.
603 * generated/reshape_r10.c: Regenerated.
604 * generated/reshape_r16.c: Regenerated.
605 * generated/reshape_r4.c: Regenerated.
606 * generated/reshape_r8.c: Regenerated.
608 2017-03-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
611 * io/list_read.c (nml_get_obj_data): Stash internal unit for
612 later use by child procedures.
613 * io/write.c (nml_write_obj): Likewise.
614 * io/tranfer.c (data_transfer_init): Minor whitespace.
615 * io/unit.c (set_internal_uit): Look for the stashed internal
616 unit and use it if found.
618 2017-03-10 Thomas Koenig <tkoenig@gcc.gnu.org>
621 * m4/iforeach.m4: Change exit condition from loop for
622 increasing dimension to >=. Fix type in comment.
623 * m4/ifunction.m4: Likewise.
624 * m4/ifunction_logical.m4: Likewise.
625 * generated/all_l1.c: Regenerated.
626 * generated/all_l16.c: Regenerated.
627 * generated/all_l2.c: Regenerated.
628 * generated/all_l4.c: Regenerated.
629 * generated/all_l8.c: Regenerated.
630 * generated/any_l1.c: Regenerated.
631 * generated/any_l16.c: Regenerated.
632 * generated/any_l2.c: Regenerated.
633 * generated/any_l4.c: Regenerated.
634 * generated/any_l8.c: Regenerated.
635 * generated/count_16_l.c: Regenerated.
636 * generated/count_1_l.c: Regenerated.
637 * generated/count_2_l.c: Regenerated.
638 * generated/count_4_l.c: Regenerated.
639 * generated/count_8_l.c: Regenerated.
640 * generated/iall_i1.c: Regenerated.
641 * generated/iall_i16.c: Regenerated.
642 * generated/iall_i2.c: Regenerated.
643 * generated/iall_i4.c: Regenerated.
644 * generated/iall_i8.c: Regenerated.
645 * generated/iany_i1.c: Regenerated.
646 * generated/iany_i16.c: Regenerated.
647 * generated/iany_i2.c: Regenerated.
648 * generated/iany_i4.c: Regenerated.
649 * generated/iany_i8.c: Regenerated.
650 * generated/iparity_i1.c: Regenerated.
651 * generated/iparity_i16.c: Regenerated.
652 * generated/iparity_i2.c: Regenerated.
653 * generated/iparity_i4.c: Regenerated.
654 * generated/iparity_i8.c: Regenerated.
655 * generated/maxloc0_16_i1.c: Regenerated.
656 * generated/maxloc0_16_i16.c: Regenerated.
657 * generated/maxloc0_16_i2.c: Regenerated.
658 * generated/maxloc0_16_i4.c: Regenerated.
659 * generated/maxloc0_16_i8.c: Regenerated.
660 * generated/maxloc0_16_r10.c: Regenerated.
661 * generated/maxloc0_16_r16.c: Regenerated.
662 * generated/maxloc0_16_r4.c: Regenerated.
663 * generated/maxloc0_16_r8.c: Regenerated.
664 * generated/maxloc0_4_i1.c: Regenerated.
665 * generated/maxloc0_4_i16.c: Regenerated.
666 * generated/maxloc0_4_i2.c: Regenerated.
667 * generated/maxloc0_4_i4.c: Regenerated.
668 * generated/maxloc0_4_i8.c: Regenerated.
669 * generated/maxloc0_4_r10.c: Regenerated.
670 * generated/maxloc0_4_r16.c: Regenerated.
671 * generated/maxloc0_4_r4.c: Regenerated.
672 * generated/maxloc0_4_r8.c: Regenerated.
673 * generated/maxloc0_8_i1.c: Regenerated.
674 * generated/maxloc0_8_i16.c: Regenerated.
675 * generated/maxloc0_8_i2.c: Regenerated.
676 * generated/maxloc0_8_i4.c: Regenerated.
677 * generated/maxloc0_8_i8.c: Regenerated.
678 * generated/maxloc0_8_r10.c: Regenerated.
679 * generated/maxloc0_8_r16.c: Regenerated.
680 * generated/maxloc0_8_r4.c: Regenerated.
681 * generated/maxloc0_8_r8.c: Regenerated.
682 * generated/maxloc1_16_i1.c: Regenerated.
683 * generated/maxloc1_16_i16.c: Regenerated.
684 * generated/maxloc1_16_i2.c: Regenerated.
685 * generated/maxloc1_16_i4.c: Regenerated.
686 * generated/maxloc1_16_i8.c: Regenerated.
687 * generated/maxloc1_16_r10.c: Regenerated.
688 * generated/maxloc1_16_r16.c: Regenerated.
689 * generated/maxloc1_16_r4.c: Regenerated.
690 * generated/maxloc1_16_r8.c: Regenerated.
691 * generated/maxloc1_4_i1.c: Regenerated.
692 * generated/maxloc1_4_i16.c: Regenerated.
693 * generated/maxloc1_4_i2.c: Regenerated.
694 * generated/maxloc1_4_i4.c: Regenerated.
695 * generated/maxloc1_4_i8.c: Regenerated.
696 * generated/maxloc1_4_r10.c: Regenerated.
697 * generated/maxloc1_4_r16.c: Regenerated.
698 * generated/maxloc1_4_r4.c: Regenerated.
699 * generated/maxloc1_4_r8.c: Regenerated.
700 * generated/maxloc1_8_i1.c: Regenerated.
701 * generated/maxloc1_8_i16.c: Regenerated.
702 * generated/maxloc1_8_i2.c: Regenerated.
703 * generated/maxloc1_8_i4.c: Regenerated.
704 * generated/maxloc1_8_i8.c: Regenerated.
705 * generated/maxloc1_8_r10.c: Regenerated.
706 * generated/maxloc1_8_r16.c: Regenerated.
707 * generated/maxloc1_8_r4.c: Regenerated.
708 * generated/maxloc1_8_r8.c: Regenerated.
709 * generated/maxval_i1.c: Regenerated.
710 * generated/maxval_i16.c: Regenerated.
711 * generated/maxval_i2.c: Regenerated.
712 * generated/maxval_i4.c: Regenerated.
713 * generated/maxval_i8.c: Regenerated.
714 * generated/maxval_r10.c: Regenerated.
715 * generated/maxval_r16.c: Regenerated.
716 * generated/maxval_r4.c: Regenerated.
717 * generated/maxval_r8.c: Regenerated.
718 * generated/minloc0_16_i1.c: Regenerated.
719 * generated/minloc0_16_i16.c: Regenerated.
720 * generated/minloc0_16_i2.c: Regenerated.
721 * generated/minloc0_16_i4.c: Regenerated.
722 * generated/minloc0_16_i8.c: Regenerated.
723 * generated/minloc0_16_r10.c: Regenerated.
724 * generated/minloc0_16_r16.c: Regenerated.
725 * generated/minloc0_16_r4.c: Regenerated.
726 * generated/minloc0_16_r8.c: Regenerated.
727 * generated/minloc0_4_i1.c: Regenerated.
728 * generated/minloc0_4_i16.c: Regenerated.
729 * generated/minloc0_4_i2.c: Regenerated.
730 * generated/minloc0_4_i4.c: Regenerated.
731 * generated/minloc0_4_i8.c: Regenerated.
732 * generated/minloc0_4_r10.c: Regenerated.
733 * generated/minloc0_4_r16.c: Regenerated.
734 * generated/minloc0_4_r4.c: Regenerated.
735 * generated/minloc0_4_r8.c: Regenerated.
736 * generated/minloc0_8_i1.c: Regenerated.
737 * generated/minloc0_8_i16.c: Regenerated.
738 * generated/minloc0_8_i2.c: Regenerated.
739 * generated/minloc0_8_i4.c: Regenerated.
740 * generated/minloc0_8_i8.c: Regenerated.
741 * generated/minloc0_8_r10.c: Regenerated.
742 * generated/minloc0_8_r16.c: Regenerated.
743 * generated/minloc0_8_r4.c: Regenerated.
744 * generated/minloc0_8_r8.c: Regenerated.
745 * generated/minloc1_16_i1.c: Regenerated.
746 * generated/minloc1_16_i16.c: Regenerated.
747 * generated/minloc1_16_i2.c: Regenerated.
748 * generated/minloc1_16_i4.c: Regenerated.
749 * generated/minloc1_16_i8.c: Regenerated.
750 * generated/minloc1_16_r10.c: Regenerated.
751 * generated/minloc1_16_r16.c: Regenerated.
752 * generated/minloc1_16_r4.c: Regenerated.
753 * generated/minloc1_16_r8.c: Regenerated.
754 * generated/minloc1_4_i1.c: Regenerated.
755 * generated/minloc1_4_i16.c: Regenerated.
756 * generated/minloc1_4_i2.c: Regenerated.
757 * generated/minloc1_4_i4.c: Regenerated.
758 * generated/minloc1_4_i8.c: Regenerated.
759 * generated/minloc1_4_r10.c: Regenerated.
760 * generated/minloc1_4_r16.c: Regenerated.
761 * generated/minloc1_4_r4.c: Regenerated.
762 * generated/minloc1_4_r8.c: Regenerated.
763 * generated/minloc1_8_i1.c: Regenerated.
764 * generated/minloc1_8_i16.c: Regenerated.
765 * generated/minloc1_8_i2.c: Regenerated.
766 * generated/minloc1_8_i4.c: Regenerated.
767 * generated/minloc1_8_i8.c: Regenerated.
768 * generated/minloc1_8_r10.c: Regenerated.
769 * generated/minloc1_8_r16.c: Regenerated.
770 * generated/minloc1_8_r4.c: Regenerated.
771 * generated/minloc1_8_r8.c: Regenerated.
772 * generated/minval_i1.c: Regenerated.
773 * generated/minval_i16.c: Regenerated.
774 * generated/minval_i2.c: Regenerated.
775 * generated/minval_i4.c: Regenerated.
776 * generated/minval_i8.c: Regenerated.
777 * generated/minval_r10.c: Regenerated.
778 * generated/minval_r16.c: Regenerated.
779 * generated/minval_r4.c: Regenerated.
780 * generated/minval_r8.c: Regenerated.
781 * generated/norm2_r10.c: Regenerated.
782 * generated/norm2_r16.c: Regenerated.
783 * generated/norm2_r4.c: Regenerated.
784 * generated/norm2_r8.c: Regenerated.
785 * generated/parity_l1.c: Regenerated.
786 * generated/parity_l16.c: Regenerated.
787 * generated/parity_l2.c: Regenerated.
788 * generated/parity_l4.c: Regenerated.
789 * generated/parity_l8.c: Regenerated.
790 * generated/product_c10.c: Regenerated.
791 * generated/product_c16.c: Regenerated.
792 * generated/product_c4.c: Regenerated.
793 * generated/product_c8.c: Regenerated.
794 * generated/product_i1.c: Regenerated.
795 * generated/product_i16.c: Regenerated.
796 * generated/product_i2.c: Regenerated.
797 * generated/product_i4.c: Regenerated.
798 * generated/product_i8.c: Regenerated.
799 * generated/product_r10.c: Regenerated.
800 * generated/product_r16.c: Regenerated.
801 * generated/product_r4.c: Regenerated.
802 * generated/product_r8.c: Regenerated.
803 * generated/sum_c10.c: Regenerated.
804 * generated/sum_c16.c: Regenerated.
805 * generated/sum_c4.c: Regenerated.
806 * generated/sum_c8.c: Regenerated.
807 * generated/sum_i1.c: Regenerated.
808 * generated/sum_i16.c: Regenerated.
809 * generated/sum_i2.c: Regenerated.
810 * generated/sum_i4.c: Regenerated.
811 * generated/sum_i8.c: Regenerated.
812 * generated/sum_r10.c: Regenerated.
813 * generated/sum_r16.c: Regenerated.
814 * generated/sum_r4.c: Regenerated.
815 * generated/sum_r8.c: Regenerated.
817 2017-03-05 Andre Vehreschild <vehre@gcc.gnu.org>
818 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
820 * caf/libcaf.h: Added prototypes and stat codes for failed and stopped
822 * caf/single.c (void _gfortran_caf_fail_image): Add the routine.
823 (int _gfortran_caf_image_status): Same.
824 (_gfortran_caf_failed_images): Same.
825 (_gfortran_caf_stopped_images): Same.
827 2017-03-02 Thomas Koenig <tkoenig@gcc.gnu.org>
828 Jakub Jelinek <jakub@redhat.com>
830 * m4/matmul.m4 (matmul_'rtype_code`): Avoid
831 race condition on storing function pointer.
832 * generated/matmul_c10.c: Regenerated.
833 * generated/matmul_c16.c: Regenerated.
834 * generated/matmul_c4.c: Regenerated.
835 * generated/matmul_c8.c: Regenerated.
836 * generated/matmul_i1.c: Regenerated.
837 * generated/matmul_i16.c: Regenerated.
838 * generated/matmul_i2.c: Regenerated.
839 * generated/matmul_i4.c: Regenerated.
840 * generated/matmul_i8.c: Regenerated.
841 * generated/matmul_r10.c: Regenerated.
842 * generated/matmul_r16.c: Regenerated.
843 * generated/matmul_r4.c: Regenerated.
844 * generated/matmul_r8.c: Regenerated.
846 2017-03-02 Thomas Koenig <tkoenig@gcc.gnu.org>
849 * m4/matmul.m4: (matmul_'rtype_code`_avx2): Also generate for
850 reals. Add fma to target options.
851 (matmul_'rtype_code`): Call AVX2 only if FMA is available.
852 * generated/matmul_c10.c: Regenerated.
853 * generated/matmul_c16.c: Regenerated.
854 * generated/matmul_c4.c: Regenerated.
855 * generated/matmul_c8.c: Regenerated.
856 * generated/matmul_i1.c: Regenerated.
857 * generated/matmul_i16.c: Regenerated.
858 * generated/matmul_i2.c: Regenerated.
859 * generated/matmul_i4.c: Regenerated.
860 * generated/matmul_i8.c: Regenerated.
861 * generated/matmul_r10.c: Regenerated.
862 * generated/matmul_r16.c: Regenerated.
863 * generated/matmul_r4.c: Regenerated.
864 * generated/matmul_r8.c: Regenerated.
866 2017-02-27 Janne Blomqvist <jb@gcc.gnu.org>
868 * intrinsics/random.c (getosrandom): Don't try to use rand_s on
871 2017-02-16 Paul Thomas <pault@gcc.gnu.org>
874 * io/transfer.c (check_dtio_proc): New function.
875 (formatted_transfer_scalar_read): Use it.
876 (formatted_transfer_scalar_write): ditto.
878 2017-01-31 Steven G. Kargl <kargl@gcc.gnu.org>
881 * c99_protos.h: Spell HAVE_EXPL correctly.
882 * intrinsics/c99_functions.c: Ditto.
884 2017-01-19 Uros Bizjak <ubizjak@gmail.com>
887 * acinclude.m4: Include ../config/ax_check_define.m4
888 * configure.ac: Check if _SOFT_FLOAT is defined.
889 * configure.host (i?86 | x86_64): Use fpu-generic when
890 have_soft_float is set.
891 * configure: Regenerate.
893 2017-01-19 Jakub Jelinek <jakub@redhat.com>
896 * acinclude.m4 (LIBGFOR_CHECK_AVX512F): Ensure the test clobbers
897 some zmm16+ registers to verify they are handled by unwind info
899 * configure: Regenerated.
901 2017-01-17 Jakub Jelinek <jakub@redhat.com>
904 * configure.ac: Add GCC_BASE_VER.
905 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
906 get version from BASE-VER file.
907 * configure: Regenerated.
908 * Makefile.in: Regenerated.
910 2017-01-13 Andre Vehreschild <vehre@gcc.gnu.org>
913 * caf/single.c (_gfortran_caf_register): Allocate enough memory for
916 2017-01-07 Andre Vehreschild <vehre@gcc.gnu.org>
920 * caf/single.c (send_by_ref): Fix addressing of non-allocatable scalar
921 destination components.
923 2017-01-01 Jakub Jelinek <jakub@redhat.com>
925 Update copyright years.
927 Copyright (C) 2017 Free Software Foundation, Inc.
929 Copying and distribution of this file, with or without modification,
930 are permitted in any medium without royalty provided the copyright
931 notice and this notice are preserved.