Remove ipa_update_after_lto_read
[official-gcc.git] / libgfortran / ChangeLog
blobad8d95c1b192f8dc1295dad83f4ac7a66f33afa7
1 2017-04-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3         * close.c: Fix white space in pointer declarations and comment
4         formats where applicable.
5         * fbuf.c: Likewise.
6         * fbuf.h: Likewise.
7         * format.c: Likewise.
8         * inquire.c: Likewise.
9         * intrinsics.c: Likewise.
10         * list_read.c: Likewise.
11         * lock.c: Likewise.
12         * open.c: Likewise.
13         * read.c: Likewise.
14         * transfer.c: Likewise.
15         * unit.c: Likewise.
16         * unix.c: Likewise.
17         * unix.h: Likewise.
18         * write.c: Likewise.
20 2017-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
22         PR libgfortran/78670
23         * io/list_read.c (nml_get_obj_data): Delete code which calls the
24         child read procedure. (nml_read_obj): Insert the code which
25         calls the child procedure. Don't need to touch nodes if using
26         dtio since parent will not be traversing the components.
28 2017-03-28  Janus Weil  <janus@gcc.gnu.org>
30         PR fortran/78661
31         * io/write.c (nml_write_obj): Build a class container only if necessary.
33 2017-03-27  Dominique d'Humieres  <dominiq@lps.ens.fr>
35         * io/list_read.c: Insert /* Fall through. */ in the macro
36         CASE_SEPARATORS in order to silence warnings.
38 2017-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
40         PR libgfortran/78881
41         * io/io.h (st_parameter_dt): Rename unused component last_char to
42         child_saved_iostat. Move comment to gfc_unit.
43         * io/list_read.c (list_formatted_read_scalar): After call to
44         child READ procedure, save the returned iostat value for later
45         check. (finish_list_read): Only finish READ if child_saved_iostat
46         was OK.
47         * io/transfer.c (read_sf_internal): If there is a saved character
48         in last character, seek back one. Add a new check for EOR
49         condition. (read_sf): If there is a saved character
50         in last character, seek back one. (formatted_transfer_scalar_read):
51         Initialize last character before invoking child procedure.
52         (data_transfer_init): If child dtio, set advance
53         status to nonadvancing. Move update of size and check for EOR
54         condition to before child dtio return.
56 2017-03-17  Thomas Koenig  <tkoenig@gcc.gnu.org>
58         PR libfortran/79956
59         * m4/reshape.m4 (reshape_'rtype_ccode`):  Correct use
60         of GFC_ASSERT.
61         * generated/reshape_c10.c: Regenerated.
62         * generated/reshape_c16.c: Regenerated.
63         * generated/reshape_c4.c: Regenerated.
64         * generated/reshape_c8.c: Regenerated.
65         * generated/reshape_i16.c: Regenerated.
66         * generated/reshape_i4.c: Regenerated.
67         * generated/reshape_i8.c: Regenerated.
68         * generated/reshape_r10.c: Regenerated.
69         * generated/reshape_r16.c: Regenerated.
70         * generated/reshape_r4.c: Regenerated.
71         * generated/reshape_r8.c: Regenerated.
73 2017-03-15  NightStrike  <nightstrike@gmail.com>
74             Janne Blomqvist  <jb@gcc.gnu.org>
76         * intrinsics/random.c (getosrandom): Remove check for __CYGWIN__
77         preprocessor flag.
78         * intrinsics/system_clock.c: Likewise.
79         (system_clock_4): Likewise.
80         (system_clock_8): Likewise.
81         * intrinsics/time_1.h: Don't include windows.h if __CYGWIN__ is
82         defined.
84 2017-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
86         PR libfortran/79956
87         * libgfortran.h (GFC_ASSERT):  New macro.
88         * m4/reshape.m4 (reshape_'rtype_ccode`):  Use GFC_ASSERT
89         to specify that sdim > 0 and rdim > 0.
90         * intrinsic/reshape_generic.c (reshape_internal):  Likweise.
91         * generated/reshape_c10.c: Regenerated.
92         * generated/reshape_c16.c: Regenerated.
93         * generated/reshape_c4.c: Regenerated.
94         * generated/reshape_c8.c: Regenerated.
95         * generated/reshape_i16.c: Regenerated.
96         * generated/reshape_i4.c: Regenerated.
97         * generated/reshape_i8.c: Regenerated.
98         * generated/reshape_r10.c: Regenerated.
99         * generated/reshape_r16.c: Regenerated.
100         * generated/reshape_r4.c: Regenerated.
101         * generated/reshape_r8.c: Regenerated.
103 2017-03-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
105         PR libgfortran/78854
106         * io/list_read.c (nml_get_obj_data): Stash internal unit for
107         later use by child procedures.
108         * io/write.c (nml_write_obj): Likewise.
109         * io/tranfer.c (data_transfer_init): Minor whitespace.
110         * io/unit.c (set_internal_uit): Look for the stashed internal
111         unit and use it if found.
113 2017-03-10  Thomas Koenig  <tkoenig@gcc.gnu.org>
115         PR libfortran/79956
116         * m4/iforeach.m4:  Change exit condition from loop for
117         increasing dimension to >=.  Fix type in comment.
118         * m4/ifunction.m4:  Likewise.
119         * m4/ifunction_logical.m4: Likewise.
120         * generated/all_l1.c: Regenerated.
121         * generated/all_l16.c: Regenerated.
122         * generated/all_l2.c: Regenerated.
123         * generated/all_l4.c: Regenerated.
124         * generated/all_l8.c: Regenerated.
125         * generated/any_l1.c: Regenerated.
126         * generated/any_l16.c: Regenerated.
127         * generated/any_l2.c: Regenerated.
128         * generated/any_l4.c: Regenerated.
129         * generated/any_l8.c: Regenerated.
130         * generated/count_16_l.c: Regenerated.
131         * generated/count_1_l.c: Regenerated.
132         * generated/count_2_l.c: Regenerated.
133         * generated/count_4_l.c: Regenerated.
134         * generated/count_8_l.c: Regenerated.
135         * generated/iall_i1.c: Regenerated.
136         * generated/iall_i16.c: Regenerated.
137         * generated/iall_i2.c: Regenerated.
138         * generated/iall_i4.c: Regenerated.
139         * generated/iall_i8.c: Regenerated.
140         * generated/iany_i1.c: Regenerated.
141         * generated/iany_i16.c: Regenerated.
142         * generated/iany_i2.c: Regenerated.
143         * generated/iany_i4.c: Regenerated.
144         * generated/iany_i8.c: Regenerated.
145         * generated/iparity_i1.c: Regenerated.
146         * generated/iparity_i16.c: Regenerated.
147         * generated/iparity_i2.c: Regenerated.
148         * generated/iparity_i4.c: Regenerated.
149         * generated/iparity_i8.c: Regenerated.
150         * generated/maxloc0_16_i1.c: Regenerated.
151         * generated/maxloc0_16_i16.c: Regenerated.
152         * generated/maxloc0_16_i2.c: Regenerated.
153         * generated/maxloc0_16_i4.c: Regenerated.
154         * generated/maxloc0_16_i8.c: Regenerated.
155         * generated/maxloc0_16_r10.c: Regenerated.
156         * generated/maxloc0_16_r16.c: Regenerated.
157         * generated/maxloc0_16_r4.c: Regenerated.
158         * generated/maxloc0_16_r8.c: Regenerated.
159         * generated/maxloc0_4_i1.c: Regenerated.
160         * generated/maxloc0_4_i16.c: Regenerated.
161         * generated/maxloc0_4_i2.c: Regenerated.
162         * generated/maxloc0_4_i4.c: Regenerated.
163         * generated/maxloc0_4_i8.c: Regenerated.
164         * generated/maxloc0_4_r10.c: Regenerated.
165         * generated/maxloc0_4_r16.c: Regenerated.
166         * generated/maxloc0_4_r4.c: Regenerated.
167         * generated/maxloc0_4_r8.c: Regenerated.
168         * generated/maxloc0_8_i1.c: Regenerated.
169         * generated/maxloc0_8_i16.c: Regenerated.
170         * generated/maxloc0_8_i2.c: Regenerated.
171         * generated/maxloc0_8_i4.c: Regenerated.
172         * generated/maxloc0_8_i8.c: Regenerated.
173         * generated/maxloc0_8_r10.c: Regenerated.
174         * generated/maxloc0_8_r16.c: Regenerated.
175         * generated/maxloc0_8_r4.c: Regenerated.
176         * generated/maxloc0_8_r8.c: Regenerated.
177         * generated/maxloc1_16_i1.c: Regenerated.
178         * generated/maxloc1_16_i16.c: Regenerated.
179         * generated/maxloc1_16_i2.c: Regenerated.
180         * generated/maxloc1_16_i4.c: Regenerated.
181         * generated/maxloc1_16_i8.c: Regenerated.
182         * generated/maxloc1_16_r10.c: Regenerated.
183         * generated/maxloc1_16_r16.c: Regenerated.
184         * generated/maxloc1_16_r4.c: Regenerated.
185         * generated/maxloc1_16_r8.c: Regenerated.
186         * generated/maxloc1_4_i1.c: Regenerated.
187         * generated/maxloc1_4_i16.c: Regenerated.
188         * generated/maxloc1_4_i2.c: Regenerated.
189         * generated/maxloc1_4_i4.c: Regenerated.
190         * generated/maxloc1_4_i8.c: Regenerated.
191         * generated/maxloc1_4_r10.c: Regenerated.
192         * generated/maxloc1_4_r16.c: Regenerated.
193         * generated/maxloc1_4_r4.c: Regenerated.
194         * generated/maxloc1_4_r8.c: Regenerated.
195         * generated/maxloc1_8_i1.c: Regenerated.
196         * generated/maxloc1_8_i16.c: Regenerated.
197         * generated/maxloc1_8_i2.c: Regenerated.
198         * generated/maxloc1_8_i4.c: Regenerated.
199         * generated/maxloc1_8_i8.c: Regenerated.
200         * generated/maxloc1_8_r10.c: Regenerated.
201         * generated/maxloc1_8_r16.c: Regenerated.
202         * generated/maxloc1_8_r4.c: Regenerated.
203         * generated/maxloc1_8_r8.c: Regenerated.
204         * generated/maxval_i1.c: Regenerated.
205         * generated/maxval_i16.c: Regenerated.
206         * generated/maxval_i2.c: Regenerated.
207         * generated/maxval_i4.c: Regenerated.
208         * generated/maxval_i8.c: Regenerated.
209         * generated/maxval_r10.c: Regenerated.
210         * generated/maxval_r16.c: Regenerated.
211         * generated/maxval_r4.c: Regenerated.
212         * generated/maxval_r8.c: Regenerated.
213         * generated/minloc0_16_i1.c: Regenerated.
214         * generated/minloc0_16_i16.c: Regenerated.
215         * generated/minloc0_16_i2.c: Regenerated.
216         * generated/minloc0_16_i4.c: Regenerated.
217         * generated/minloc0_16_i8.c: Regenerated.
218         * generated/minloc0_16_r10.c: Regenerated.
219         * generated/minloc0_16_r16.c: Regenerated.
220         * generated/minloc0_16_r4.c: Regenerated.
221         * generated/minloc0_16_r8.c: Regenerated.
222         * generated/minloc0_4_i1.c: Regenerated.
223         * generated/minloc0_4_i16.c: Regenerated.
224         * generated/minloc0_4_i2.c: Regenerated.
225         * generated/minloc0_4_i4.c: Regenerated.
226         * generated/minloc0_4_i8.c: Regenerated.
227         * generated/minloc0_4_r10.c: Regenerated.
228         * generated/minloc0_4_r16.c: Regenerated.
229         * generated/minloc0_4_r4.c: Regenerated.
230         * generated/minloc0_4_r8.c: Regenerated.
231         * generated/minloc0_8_i1.c: Regenerated.
232         * generated/minloc0_8_i16.c: Regenerated.
233         * generated/minloc0_8_i2.c: Regenerated.
234         * generated/minloc0_8_i4.c: Regenerated.
235         * generated/minloc0_8_i8.c: Regenerated.
236         * generated/minloc0_8_r10.c: Regenerated.
237         * generated/minloc0_8_r16.c: Regenerated.
238         * generated/minloc0_8_r4.c: Regenerated.
239         * generated/minloc0_8_r8.c: Regenerated.
240         * generated/minloc1_16_i1.c: Regenerated.
241         * generated/minloc1_16_i16.c: Regenerated.
242         * generated/minloc1_16_i2.c: Regenerated.
243         * generated/minloc1_16_i4.c: Regenerated.
244         * generated/minloc1_16_i8.c: Regenerated.
245         * generated/minloc1_16_r10.c: Regenerated.
246         * generated/minloc1_16_r16.c: Regenerated.
247         * generated/minloc1_16_r4.c: Regenerated.
248         * generated/minloc1_16_r8.c: Regenerated.
249         * generated/minloc1_4_i1.c: Regenerated.
250         * generated/minloc1_4_i16.c: Regenerated.
251         * generated/minloc1_4_i2.c: Regenerated.
252         * generated/minloc1_4_i4.c: Regenerated.
253         * generated/minloc1_4_i8.c: Regenerated.
254         * generated/minloc1_4_r10.c: Regenerated.
255         * generated/minloc1_4_r16.c: Regenerated.
256         * generated/minloc1_4_r4.c: Regenerated.
257         * generated/minloc1_4_r8.c: Regenerated.
258         * generated/minloc1_8_i1.c: Regenerated.
259         * generated/minloc1_8_i16.c: Regenerated.
260         * generated/minloc1_8_i2.c: Regenerated.
261         * generated/minloc1_8_i4.c: Regenerated.
262         * generated/minloc1_8_i8.c: Regenerated.
263         * generated/minloc1_8_r10.c: Regenerated.
264         * generated/minloc1_8_r16.c: Regenerated.
265         * generated/minloc1_8_r4.c: Regenerated.
266         * generated/minloc1_8_r8.c: Regenerated.
267         * generated/minval_i1.c: Regenerated.
268         * generated/minval_i16.c: Regenerated.
269         * generated/minval_i2.c: Regenerated.
270         * generated/minval_i4.c: Regenerated.
271         * generated/minval_i8.c: Regenerated.
272         * generated/minval_r10.c: Regenerated.
273         * generated/minval_r16.c: Regenerated.
274         * generated/minval_r4.c: Regenerated.
275         * generated/minval_r8.c: Regenerated.
276         * generated/norm2_r10.c: Regenerated.
277         * generated/norm2_r16.c: Regenerated.
278         * generated/norm2_r4.c: Regenerated.
279         * generated/norm2_r8.c: Regenerated.
280         * generated/parity_l1.c: Regenerated.
281         * generated/parity_l16.c: Regenerated.
282         * generated/parity_l2.c: Regenerated.
283         * generated/parity_l4.c: Regenerated.
284         * generated/parity_l8.c: Regenerated.
285         * generated/product_c10.c: Regenerated.
286         * generated/product_c16.c: Regenerated.
287         * generated/product_c4.c: Regenerated.
288         * generated/product_c8.c: Regenerated.
289         * generated/product_i1.c: Regenerated.
290         * generated/product_i16.c: Regenerated.
291         * generated/product_i2.c: Regenerated.
292         * generated/product_i4.c: Regenerated.
293         * generated/product_i8.c: Regenerated.
294         * generated/product_r10.c: Regenerated.
295         * generated/product_r16.c: Regenerated.
296         * generated/product_r4.c: Regenerated.
297         * generated/product_r8.c: Regenerated.
298         * generated/sum_c10.c: Regenerated.
299         * generated/sum_c16.c: Regenerated.
300         * generated/sum_c4.c: Regenerated.
301         * generated/sum_c8.c: Regenerated.
302         * generated/sum_i1.c: Regenerated.
303         * generated/sum_i16.c: Regenerated.
304         * generated/sum_i2.c: Regenerated.
305         * generated/sum_i4.c: Regenerated.
306         * generated/sum_i8.c: Regenerated.
307         * generated/sum_r10.c: Regenerated.
308         * generated/sum_r16.c: Regenerated.
309         * generated/sum_r4.c: Regenerated.
310         * generated/sum_r8.c: Regenerated.
312 2017-03-05  Andre Vehreschild  <vehre@gcc.gnu.org>
313             Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
315         * caf/libcaf.h: Added prototypes and stat codes for failed and stopped
316         images.
317         * caf/single.c (void _gfortran_caf_fail_image): Add the routine.
318         (int _gfortran_caf_image_status): Same.
319         (_gfortran_caf_failed_images): Same.
320         (_gfortran_caf_stopped_images): Same.
322 2017-03-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
323             Jakub Jelinek  <jakub@redhat.com>
325         * m4/matmul.m4 (matmul_'rtype_code`):  Avoid
326         race condition on storing function pointer.
327         * generated/matmul_c10.c: Regenerated.
328         * generated/matmul_c16.c: Regenerated.
329         * generated/matmul_c4.c: Regenerated.
330         * generated/matmul_c8.c: Regenerated.
331         * generated/matmul_i1.c: Regenerated.
332         * generated/matmul_i16.c: Regenerated.
333         * generated/matmul_i2.c: Regenerated.
334         * generated/matmul_i4.c: Regenerated.
335         * generated/matmul_i8.c: Regenerated.
336         * generated/matmul_r10.c: Regenerated.
337         * generated/matmul_r16.c: Regenerated.
338         * generated/matmul_r4.c: Regenerated.
339         * generated/matmul_r8.c: Regenerated.
341 2017-03-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
343         PR fortran/78379
344         * m4/matmul.m4: (matmul_'rtype_code`_avx2): Also generate for
345         reals.  Add fma to target options.
346         (matmul_'rtype_code`):  Call AVX2 only if FMA is available.
347         * generated/matmul_c10.c: Regenerated.
348         * generated/matmul_c16.c: Regenerated.
349         * generated/matmul_c4.c: Regenerated.
350         * generated/matmul_c8.c: Regenerated.
351         * generated/matmul_i1.c: Regenerated.
352         * generated/matmul_i16.c: Regenerated.
353         * generated/matmul_i2.c: Regenerated.
354         * generated/matmul_i4.c: Regenerated.
355         * generated/matmul_i8.c: Regenerated.
356         * generated/matmul_r10.c: Regenerated.
357         * generated/matmul_r16.c: Regenerated.
358         * generated/matmul_r4.c: Regenerated.
359         * generated/matmul_r8.c: Regenerated.
361 2017-02-27  Janne Blomqvist  <jb@gcc.gnu.org>
363         * intrinsics/random.c (getosrandom): Don't try to use rand_s on
364         CYGWIN.
366 2017-02-16  Paul Thomas  <pault@gcc.gnu.org>
368         PR fortran/79382
369         * io/transfer.c (check_dtio_proc): New function.
370         (formatted_transfer_scalar_read): Use it.
371         (formatted_transfer_scalar_write): ditto.
373 2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>
375         PR fortran/79305
376         * c99_protos.h: Spell HAVE_EXPL correctly.
377         * intrinsics/c99_functions.c: Ditto.
379 2017-01-19  Uros Bizjak  <ubizjak@gmail.com>
381         PR target/78478
382         * acinclude.m4: Include ../config/ax_check_define.m4
383         * configure.ac: Check if _SOFT_FLOAT is defined.
384         * configure.host (i?86 | x86_64): Use fpu-generic when
385         have_soft_float is set.
386         * configure: Regenerate.
388 2017-01-19  Jakub Jelinek  <jakub@redhat.com>
390         PR target/79127
391         * acinclude.m4 (LIBGFOR_CHECK_AVX512F): Ensure the test clobbers
392         some zmm16+ registers to verify they are handled by unwind info
393         properly if needed.
394         * configure: Regenerated.
396 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
398         PR other/79046
399         * configure.ac: Add GCC_BASE_VER.
400         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
401         get version from BASE-VER file.
402         * configure: Regenerated.
403         * Makefile.in: Regenerated.
405 2017-01-13  Andre Vehreschild  <vehre@gcc.gnu.org>
407         PR fortran/70696
408         * caf/single.c (_gfortran_caf_register): Allocate enough memory for
409         the event counter.
411 2017-01-07  Andre Vehreschild  <vehre@gcc.gnu.org>
413         PR fortran/78781
414         PR fortran/78935
415         * caf/single.c (send_by_ref): Fix addressing of non-allocatable scalar
416         destination components.
418 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
420         Update copyright years.
422 Copyright (C) 2017 Free Software Foundation, Inc.
424 Copying and distribution of this file, with or without modification,
425 are permitted in any medium without royalty provided the copyright
426 notice and this notice are preserved.