12021-06-01  Release Manager
2
3	* GCC 9.4.0 released.
4
52021-05-01  Iain Sandoe  <iain@sandoe.co.uk>
6	    Jakub Jelinek   <jakub@redhat.com>
7
8	PR target/97865
9	* configure: Regenerate.
10
112021-04-30  Iain Sandoe  <iain@sandoe.co.uk>
12
13	* configure: Regenerate.
14
152021-03-07  Harald Anlauf  <anlauf@gmx.de>
16
17	Backported from master:
18	2021-03-05  Harald Anlauf  <anlauf@gmx.de>
19
20	PR libfortran/99218
21	* m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
22	* generated/matmul_c10.c: Regenerated.
23	* generated/matmul_c16.c: Likewise.
24	* generated/matmul_c4.c: Likewise.
25	* generated/matmul_c8.c: Likewise.
26	* generated/matmul_i1.c: Likewise.
27	* generated/matmul_i16.c: Likewise.
28	* generated/matmul_i2.c: Likewise.
29	* generated/matmul_i4.c: Likewise.
30	* generated/matmul_i8.c: Likewise.
31	* generated/matmul_r10.c: Likewise.
32	* generated/matmul_r16.c: Likewise.
33	* generated/matmul_r4.c: Likewise.
34	* generated/matmul_r8.c: Likewise.
35	* generated/matmulavx128_c10.c: Likewise.
36	* generated/matmulavx128_c16.c: Likewise.
37	* generated/matmulavx128_c4.c: Likewise.
38	* generated/matmulavx128_c8.c: Likewise.
39	* generated/matmulavx128_i1.c: Likewise.
40	* generated/matmulavx128_i16.c: Likewise.
41	* generated/matmulavx128_i2.c: Likewise.
42	* generated/matmulavx128_i4.c: Likewise.
43	* generated/matmulavx128_i8.c: Likewise.
44	* generated/matmulavx128_r10.c: Likewise.
45	* generated/matmulavx128_r16.c: Likewise.
46	* generated/matmulavx128_r4.c: Likewise.
47	* generated/matmulavx128_r8.c: Likewise.
48
492020-12-29  Iain Sandoe  <iain@sandoe.co.uk>
50
51	Backported from master:
52	2020-11-21  Iain Sandoe  <iain@sandoe.co.uk>
53
54	* intrinsics/execute_command_line.c (environ): Use
55	_NSGetEnviron to get the environment pointer on Darwin.
56
572020-10-24  Harald Anlauf  <anlauf@gmx.de>
58
59	Backported from master:
60	2020-10-18  Harald Anlauf  <anlauf@gmx.de>
61
62	* m4/matmul_internal.m4: Move check for rank-1 times rank-2 before
63	checks on strides for rank-2 times rank-2.
64	* generated/matmul_c10.c: Regenerated.
65	* generated/matmul_c16.c: Likewise.
66	* generated/matmul_c4.c: Likewise.
67	* generated/matmul_c8.c: Likewise.
68	* generated/matmul_i1.c: Likewise.
69	* generated/matmul_i16.c: Likewise.
70	* generated/matmul_i2.c: Likewise.
71	* generated/matmul_i4.c: Likewise.
72	* generated/matmul_i8.c: Likewise.
73	* generated/matmul_r10.c: Likewise.
74	* generated/matmul_r16.c: Likewise.
75	* generated/matmul_r4.c: Likewise.
76	* generated/matmul_r8.c: Likewise.
77	* generated/matmulavx128_c10.c: Likewise.
78	* generated/matmulavx128_c16.c: Likewise.
79	* generated/matmulavx128_c4.c: Likewise.
80	* generated/matmulavx128_c8.c: Likewise.
81	* generated/matmulavx128_i1.c: Likewise.
82	* generated/matmulavx128_i16.c: Likewise.
83	* generated/matmulavx128_i2.c: Likewise.
84	* generated/matmulavx128_i4.c: Likewise.
85	* generated/matmulavx128_i8.c: Likewise.
86	* generated/matmulavx128_r10.c: Likewise.
87	* generated/matmulavx128_r16.c: Likewise.
88	* generated/matmulavx128_r4.c: Likewise.
89	* generated/matmulavx128_r8.c: Likewise.
90
912020-09-09  Harald Anlauf  <anlauf@gmx.de>
92
93	Backported from master:
94	2020-09-03  Harald Anlauf  <anlauf@gmx.de>
95
96	* m4/iall.m4: Initial value for result should be -1.
97	* generated/iall_i1.c (miall_i1): Generated.
98	* generated/iall_i16.c (miall_i16): Likewise.
99	* generated/iall_i2.c (miall_i2): Likewise.
100	* generated/iall_i4.c (miall_i4): Likewise.
101	* generated/iall_i8.c (miall_i8): Likewise.
102
1032020-08-24  Mark Eggleston  <markeggleston@gcc.gnu.org>
104
105	Backported from master:
106	2020-08-24  Mark Eggleston  <markeggleston@gcc.gnu.org>
107
108	PR fortran/96486
109	* intrinsics/env.c: If value_len is > 0 blank the string.
110	Copy the result only if its length is > 0.
111
1122020-07-25  Dominique d'Humieres  <dhumieres.dominique@free.fr>
113
114	Backported from master:
115	2020-07-24  Dominique d'Humieres  <dhumieres.dominique@free.fr>
116
117	PR fortran/93592
118	* io/write_float.def (build_float_string): Do not reset
119	  nbefore for FMT_F and FMT_EN.
120
1212020-05-28  Harald Anlauf  <anlauf@gmx.de>
122
123	PR libfortran/95104
124	* io/unit.c (unlock_unit): Guard by check for NULL pointer.
125
1262020-05-27  Harald Anlauf  <anlauf@gmx.de>
127	    Steven G. Kargl   <kargl@gcc.gnu.org>
128
129	PR libfortran/95104
130	* io/transfer.c (st_wait_async): Do not dereference NULL pointer.
131
1322020-05-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
133
134	PR libfortran/95191
135	* io/async.c (async_wait_id): Generate error if ID is higher
136	than the highest current ID.
137	* runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
138
1392020-05-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
140
141	PR libfortran/95119
142	* io/close.c (close_status): Add CLOSE_INVALID.
143	(st_close): Return early on invalid STATUS parameter.
144
1452020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
146
147	* config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
148	Remove unneeded assignments to volatile memory.
149
1502020-03-12  Release Manager
151
152	* GCC 9.3.0 released.
153
1542020-02-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
155
156	Backport from trunk
157	PR fortran/93599
158	* io/async.c (destroy_adv_cond): Do not destroy lock.
159	(async_io): Make sure au->lock is locked for finishing of thread.
160	Do not lock/unlock around signalling emptysignal. Unlock au->lock
161	before return.
162	(init_adv_cond): Do not initialize lock.
163	(enqueue_transfer): Unlock after signal.
164	(enqueue_done_id): Likewise.
165	(enqueue_done): Likewise.
166	(enqueue_close): Likewise.
167	(enqueue_data_transfer): Likewise.
168	(async_wait_id): Do not lock/unlock around signalling au->work.
169	(async_wait): Unlock after signal.
170	* io/async.h (SIGNAL): Add comment about needed au->lock.
171	Remove locking/unlocking of advcond->lock.
172	(WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
173	advcond->lock.  Unlock mutex only at the end.  Loop on
174	__ghread_cond_wait returning zero.
175	(REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
176	advcond->lock.
177	(struct adv_cond): Remove mutex from struct.
178
1792020-01-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
180
181        Backport from mainline
182	PR libfortran/93234
183	* io/unit.c (set_internal_unit): Set round and sign flags
184	correctly.
185
1862019-11-26  Jerry DeLisle  <jvdelisle@gcc.ngu.org>
187
188        Backport from mainline
189        PR fortran/92100
190        io/transfer.c (data_transfer_init_worker): Use fbuf_reset
191        instead of fbuf_flush before the seek. Note that fbuf_reset
192        calls fbuf_flush and adjusts fbuf pointers.
193
1942019-11-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
195	Harald Anlauf <anlauf@gmx.de>
196
197	Backport from trunk
198	PR fortran/92569
199	* io/transfer.c (transfer_array_inner):  If position is
200	at AFTER_ENDFILE in current unit, return from data loop.
201
2022019-11-13  Tobias Burnus  <tobias@codesourcery.com>
203
204	Backport from mainline
205	2019-11-13  Tobias Burnus  <tobias@codesourcery.com>
206
207	PR fortran/92470
208	* runtime/ISO_Fortran_binding.c (CFI_establish): Set lower_bound to 0
209	also for CFI_attribute_other.
210
211	2019-11-12  Tobias Burnus  <tobias@codesourcery.com>
212
213	PR fortran/92470
214	* runtime/ISO_Fortran_binding.c (CFI_address): Handle non-zero
215	lower_bound; update error message.
216	(CFI_allocate): Fix comment typo.
217	(CFI_establish): Fix identation, fix typos, don't check values of 'dv'
218	argument.
219
2202019-08-13  Janne Blomqvist  <jb@gcc.gnu.org>
221
222	Partial backport from trunk
223	PR fortran/91414
224	* intrinsics/random.c (lcg_parkmiller): Replace with splitmix64.
225	(splitmix64): New function.
226	(getosrandom): Fix return value, simplify.
227	(init_rand_state): Use getosrandom only to get 8 bytes, splitmix64
228	to fill rest of state.
229
2302019-08-12  Release Manager
231
232	* GCC 9.2.0 released.
233
2342019-07-23  Thomas König  <tkoenig@gcc.gnu.org>
235
236	Backport from trunk
237	PR libfortran/91030
238	* io/unix.c (BUFFER_SIZE): Delete.
239	(BUFFER_FORMATTED_SIZE_DEFAULT): New variable.
240	(BUFFER_UNFORMATTED_SIZE_DEFAULT): New variable.
241	(unix_stream): Add buffer_size.
242	(buf_read): Use s->buffer_size instead of BUFFER_SIZE.
243	(buf_write): Likewise.
244	(buf_init): Add argument unformatted.  Handle block sizes
245	for unformatted vs. formatted, using defaults if provided.
246	(fd_to_stream): Add argument unformatted in call to buf_init.
247	* libgfortran.h (options_t): Add buffer_size_formatted and
248	buffer_size_unformatted.
249	* runtime/environ.c (variable_table): Add
250	GFORTRAN_UNFORMATTED_BUFFER_SIZE and
251	GFORTRAN_FORMATTED_BUFFER_SIZE.
252
2532019-05-20  Janne Blomqvist  <jb@gcc.gnu.org>
254
255	Backport from trunk
256	PR libfortran/90038
257	* intrinsics/execute_command_line (sigchld_handler): New function.
258	(execute_command_line): Install handler for SIGCHLD.
259	* configure.ac: Check for presence of sigaction and waitpid.
260	* config.h.in: Regenerated.
261	* configure: Regenerated.
262
2632019-05-20  Janne Blomqvist  <jb@gcc.gnu.org>
264
265	Backport from trunk
266	PR libfortran/90038
267	* configure.ac (AC_CHECK_FUNCS_ONCE): Check for posix_spawn.
268	* intrinsics/execute_command_line (execute_command_line): Use
269	posix_spawn.
270	* Makefile.in: Regenerated.
271	* config.h.in: Regenerated.
272	* configure: Regenerated.
273
2742019-05-17  Jakub Jelinek  <jakub@redhat.com>
275
276	PR fortran/54613
277	* gfortran.map (GFORTRAN_9.2): Export _gfortran_{,m,s}findloc{0,1}_r10.
278	* Makefile.am (i_findloc0_c): Add $(srcdir)/generated/findloc0_r10.c.
279	(i_findloc1_c): Add $(srcdir)/generated/findloc1_r10.c.
280	* Makefile.in: Regenerated.
281	* generated/findloc0_r10.c: Generated.
282	* generated/findloc1_r10.c: Generated.
283
284	PR fortran/54613
285	* gfortran.map (GFORTRAN_9.2): New symbol version, export
286	_gfortran_{,m,s}findloc0_i2 in it.
287
2882019-05-03  Release Manager
289
290	* GCC 9.1.0 released.
291
2922019-05-02  Jakub Jelinek  <jakub@redhat.com>
293
294	* Makefile.am (gfor_cdir): Remove $(MULTISUBDIR).
295	* Makefile.in: Regenerated.
296
2972019-04-14  Paul Thomas  <pault@gcc.gnu.org>
298
299	PR fortran/89843
300	* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only
301	return immediately if the source pointer is null. Bring
302	forward the extraction of the gfc type. Extract the kind so
303	that the element size can be correctly computed for sections
304	and components of derived type arrays. Remove the free of the
305	CFI descriptor since this is now done in trans-expr.c.
306	(gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it
307	is not null.
308	(CFI_section): Normalise the difference between the upper and
309	lower bounds by the stride to correctly calculate the extents
310	of the section.
311
312	PR fortran/89846
313	* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use
314	the stride measure for the gfc span if it is not a multiple
315	of the element length. Otherwise use the element length.
316
317	PR fortran/90022
318	* runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return
319	1 for true and 0 otherwise to comply with the standard. Correct
320	the contiguity check for rank 3 and greater by using the stride
321	measure of the lower dimension rather than the element length.
322
3232019-03-25  John David Anglin  <danglin@gcc.gnu.org>
324
325	PR libgfortran/79540
326	* io/write_float.def (build_float_string): Don't copy digits when
327	ndigits is negative.
328
3292019-03-05  Jakub Jelinek  <jakub@redhat.com>
330
331	PR libgfortran/89593
332	* caf/single.c (_gfortran_caf_sendget_by_ref): Cast &temp to
333	gfc_descriptor_t * to avoid warning.
334
3352019-02-26  Uroš Bizjak  <ubizjak@gmail.com>
336
337	* io/transfer.c (transfer_array_inner): Do not
338	cast charlen to index_type.
339
3402019-02-25  Dominique d'Humieres  <dominiq@gcc.gnu.org>
341
342	PR libfortran/89274
343	* io/write.c (write_integer): Add width for INTEGER(16).
344
3452019-02-23  Paul Thomas  <pault@gcc.gnu.org>
346
347	PR fortran/89385
348	PR fortran/89366
349	* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
350	interchange between character and derived, the character type
351	was being set incorrectly.
352	(gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
353	this function. Do not add the kind and length information to
354	the type field of structures. Lbounds were incorrectly being
355	set to zero for allocatable and pointer descriptors. Should
356	have been non-pointer, non-allocatables that received this
357	treatment.
358
3592019-01-30  Uroš Bizjak  <ubizjak@gmail.com>
360
361	PR libfortran/88678
362	Revert:
363	2016-11-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
364
365	PR libfortran/78314
366	* config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
367
3682019-01-30  Uroš Bizjak  <ubizjak@gmail.com>
369
370	PR libfortran/88678
371	* config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled
372	exception flags before changing trap mode.  Optimize to call
373	feenableexcept and fedisableexcept only once.
374
3752019-01-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
376
377	* io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
378
3792019-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
380
381	PR libfortran/89020
382	* io/close.c (st_close): Simplify text of error message to not
383	presume a specific cause of failure to remove file.
384
3852019-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
386
387	PR libfortran/89020
388	* io/close.c (st_close): Fix typo.
389
3902019-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
391
392	PR libfortran/89020
393	* io/close.c (st_close): Generate error if calls to 'remove' return
394	an error.
395
3962019-01-17  Andrew Stubbs  <ams@codesourcery.com>
397	    Kwok Cheung Yeung  <kcy@codesourcery.com>
398	    Julian Brown  <julian@codesourcery.com>
399	    Tom de Vries  <tom@codesourcery.com>
400
401	* configure.ac: Use minimal mode for amdgcn.
402	* configure: Regenerate.
403
4042019-01-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
405
406	PR libfortran/88776
407	* io/open.c (newunit): Free format buffer if the unit specified is for
408	stdin, stdout, or stderr.
409
4102019-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
411
412	PR libfortran/88776
413	* io/list_read.c (namelist_read): Use nml_err_ret path on read error
414	not based on stdin_unit.
415
4162019-01-12  Paul Thomas  <pault@gcc.gnu.org>
417
418	* ISO_Fortran_binding.h : New file.
419	* Makefile.am : Include ISO_Fortran_binding.c in the list of
420	files to compile.
421	* Makefile.in : Regenerated.
422	* gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc,
423	_gfortran_gfc_desc_to_cfi_desc and the CFI API functions.
424	* runtime/ISO_Fortran_binding.c : New file containing the new
425	functions added to the map.
426
4272019-01-12  Jakub Jelinek  <jakub@redhat.com>
428
429	PR libfortran/88807
430	* m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings.
431	* generated/minloc0_4_i1.c: Regenerated.
432	* generated/minloc0_4_i2.c: Regenerated.
433	* generated/minloc0_4_i4.c: Regenerated.
434	* generated/minloc0_4_i8.c: Regenerated.
435	* generated/minloc0_4_i16.c: Regenerated.
436	* generated/minloc0_4_r4.c: Regenerated.
437	* generated/minloc0_4_r8.c: Regenerated.
438	* generated/minloc0_4_r10.c: Regenerated.
439	* generated/minloc0_4_r16.c: Regenerated.
440	* generated/minloc0_8_i1.c: Regenerated.
441	* generated/minloc0_8_i2.c: Regenerated.
442	* generated/minloc0_8_i4.c: Regenerated.
443	* generated/minloc0_8_i8.c: Regenerated.
444	* generated/minloc0_8_i16.c: Regenerated.
445	* generated/minloc0_8_r4.c: Regenerated.
446	* generated/minloc0_8_r8.c: Regenerated.
447	* generated/minloc0_8_r10.c: Regenerated.
448	* generated/minloc0_8_r16.c: Regenerated.
449	* generated/minloc0_16_i1.c: Regenerated.
450	* generated/minloc0_16_i2.c: Regenerated.
451	* generated/minloc0_16_i4.c: Regenerated.
452	* generated/minloc0_16_i8.c: Regenerated.
453	* generated/minloc0_16_i16.c: Regenerated.
454	* generated/minloc0_16_r4.c: Regenerated.
455	* generated/minloc0_16_r8.c: Regenerated.
456	* generated/minloc0_16_r10.c: Regenerated.
457	* generated/minloc0_16_r16.c: Regenerated.
458
4592019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
460
461	PR other/16615
462	* caf/single.c: Mechanically replace "can not" with "cannot".
463	* io/unit.c: Likewise.
464
4652019-01-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
466	    Harald Anlauf <anlauf@gmx.de>
467	    Tobias Burnus <burnus@gcc.gnu.org>
468
469	PR fortran/45424
470	* Makefile.am: Add intrinsics/is_contiguous.c.
471	* Makefile.in: Regenerated.
472	* gfortran.map: Add _gfortran_is_contiguous0.
473	* intrinsics/is_contiguous.c: New file.
474	* libgfortran.h: Add prototype for is_contiguous0.
475
4762019-01-07  Janne Blomqvist  <jb@gcc.gnu.org>
477
478	* gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
479	GFORTRAN_8.
480
4812019-01-01  Jakub Jelinek  <jakub@redhat.com>
482
483	Update copyright years.
484
485Copyright (C) 2019 Free Software Foundation, Inc.
486
487Copying and distribution of this file, with or without modification,
488are permitted in any medium without royalty provided the copyright
489notice and this notice are preserved.
490