12016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
2
3	* intrinsics/random.c: Do not include <sys/types.h> header.
4	* m4/maxloc0.m4: Do not include <limits.h> header.
5	* m4/maxloc1.m4: Do not include <limits.h> header.
6	* m4/minloc0.m4: Do not include <limits.h> header.
7	* m4/minloc1.m4: Do not include <limits.h> header.
8	* m4/norm2.m4: Do not include <math.h> header.
9	* m4/parity.m4: Do not include <math.h> header.
10	* runtime/minimal.c: Remove <limits.h> and <errno.h> headers.
11	* generated/maxloc0_16_i1.c: Regenerate.
12	* generated/maxloc0_16_i16.c: Regenerate.
13	* generated/maxloc0_16_i2.c: Regenerate.
14	* generated/maxloc0_16_i4.c: Regenerate.
15	* generated/maxloc0_16_i8.c: Regenerate.
16	* generated/maxloc0_16_r10.c: Regenerate.
17	* generated/maxloc0_16_r16.c: Regenerate.
18	* generated/maxloc0_16_r4.c: Regenerate.
19	* generated/maxloc0_16_r8.c: Regenerate.
20	* generated/maxloc0_4_i1.c: Regenerate.
21	* generated/maxloc0_4_i16.c: Regenerate.
22	* generated/maxloc0_4_i2.c: Regenerate.
23	* generated/maxloc0_4_i4.c: Regenerate.
24	* generated/maxloc0_4_i8.c: Regenerate.
25	* generated/maxloc0_4_r10.c: Regenerate.
26	* generated/maxloc0_4_r16.c: Regenerate.
27	* generated/maxloc0_4_r4.c: Regenerate.
28	* generated/maxloc0_4_r8.c: Regenerate.
29	* generated/maxloc0_8_i1.c: Regenerate.
30	* generated/maxloc0_8_i16.c: Regenerate.
31	* generated/maxloc0_8_i2.c: Regenerate.
32	* generated/maxloc0_8_i4.c: Regenerate.
33	* generated/maxloc0_8_i8.c: Regenerate.
34	* generated/maxloc0_8_r10.c: Regenerate.
35	* generated/maxloc0_8_r16.c: Regenerate.
36	* generated/maxloc0_8_r4.c: Regenerate.
37	* generated/maxloc0_8_r8.c: Regenerate.
38	* generated/maxloc1_16_i1.c: Regenerate.
39	* generated/maxloc1_16_i16.c: Regenerate.
40	* generated/maxloc1_16_i2.c: Regenerate.
41	* generated/maxloc1_16_i4.c: Regenerate.
42	* generated/maxloc1_16_i8.c: Regenerate.
43	* generated/maxloc1_16_r10.c: Regenerate.
44	* generated/maxloc1_16_r16.c: Regenerate.
45	* generated/maxloc1_16_r4.c: Regenerate.
46	* generated/maxloc1_16_r8.c: Regenerate.
47	* generated/maxloc1_4_i1.c: Regenerate.
48	* generated/maxloc1_4_i16.c: Regenerate.
49	* generated/maxloc1_4_i2.c: Regenerate.
50	* generated/maxloc1_4_i4.c: Regenerate.
51	* generated/maxloc1_4_i8.c: Regenerate.
52	* generated/maxloc1_4_r10.c: Regenerate.
53	* generated/maxloc1_4_r16.c: Regenerate.
54	* generated/maxloc1_4_r4.c: Regenerate.
55	* generated/maxloc1_4_r8.c: Regenerate.
56	* generated/maxloc1_8_i1.c: Regenerate.
57	* generated/maxloc1_8_i16.c: Regenerate.
58	* generated/maxloc1_8_i2.c: Regenerate.
59	* generated/maxloc1_8_i4.c: Regenerate.
60	* generated/maxloc1_8_i8.c: Regenerate.
61	* generated/maxloc1_8_r10.c: Regenerate.
62	* generated/maxloc1_8_r16.c: Regenerate.
63	* generated/maxloc1_8_r4.c: Regenerate.
64	* generated/maxloc1_8_r8.c: Regenerate.
65	* generated/minloc0_16_i1.c: Regenerate.
66	* generated/minloc0_16_i16.c: Regenerate.
67	* generated/minloc0_16_i2.c: Regenerate.
68	* generated/minloc0_16_i4.c: Regenerate.
69	* generated/minloc0_16_i8.c: Regenerate.
70	* generated/minloc0_16_r10.c: Regenerate.
71	* generated/minloc0_16_r16.c: Regenerate.
72	* generated/minloc0_16_r4.c: Regenerate.
73	* generated/minloc0_16_r8.c: Regenerate.
74	* generated/minloc0_4_i1.c: Regenerate.
75	* generated/minloc0_4_i16.c: Regenerate.
76	* generated/minloc0_4_i2.c: Regenerate.
77	* generated/minloc0_4_i4.c: Regenerate.
78	* generated/minloc0_4_i8.c: Regenerate.
79	* generated/minloc0_4_r10.c: Regenerate.
80	* generated/minloc0_4_r16.c: Regenerate.
81	* generated/minloc0_4_r4.c: Regenerate.
82	* generated/minloc0_4_r8.c: Regenerate.
83	* generated/minloc0_8_i1.c: Regenerate.
84	* generated/minloc0_8_i16.c: Regenerate.
85	* generated/minloc0_8_i2.c: Regenerate.
86	* generated/minloc0_8_i4.c: Regenerate.
87	* generated/minloc0_8_i8.c: Regenerate.
88	* generated/minloc0_8_r10.c: Regenerate.
89	* generated/minloc0_8_r16.c: Regenerate.
90	* generated/minloc0_8_r4.c: Regenerate.
91	* generated/minloc0_8_r8.c: Regenerate.
92	* generated/minloc1_16_i1.c: Regenerate.
93	* generated/minloc1_16_i16.c: Regenerate.
94	* generated/minloc1_16_i2.c: Regenerate.
95	* generated/minloc1_16_i4.c: Regenerate.
96	* generated/minloc1_16_i8.c: Regenerate.
97	* generated/minloc1_16_r10.c: Regenerate.
98	* generated/minloc1_16_r16.c: Regenerate.
99	* generated/minloc1_16_r4.c: Regenerate.
100	* generated/minloc1_16_r8.c: Regenerate.
101	* generated/minloc1_4_i1.c: Regenerate.
102	* generated/minloc1_4_i16.c: Regenerate.
103	* generated/minloc1_4_i2.c: Regenerate.
104	* generated/minloc1_4_i4.c: Regenerate.
105	* generated/minloc1_4_i8.c: Regenerate.
106	* generated/minloc1_4_r10.c: Regenerate.
107	* generated/minloc1_4_r16.c: Regenerate.
108	* generated/minloc1_4_r4.c: Regenerate.
109	* generated/minloc1_4_r8.c: Regenerate.
110	* generated/minloc1_8_i1.c: Regenerate.
111	* generated/minloc1_8_i16.c: Regenerate.
112	* generated/minloc1_8_i2.c: Regenerate.
113	* generated/minloc1_8_i4.c: Regenerate.
114	* generated/minloc1_8_i8.c: Regenerate.
115	* generated/minloc1_8_r10.c: Regenerate.
116	* generated/minloc1_8_r16.c: Regenerate.
117	* generated/minloc1_8_r4.c: Regenerate.
118	* generated/minloc1_8_r8.c: Regenerate.
119	* generated/norm2_r10.c: Regenerate.
120	* generated/norm2_r16.c: Regenerate.
121	* generated/norm2_r4.c: Regenerate.
122	* generated/norm2_r8.c: Regenerate.
123	* generated/parity_l1.c: Regenerate.
124	* generated/parity_l16.c: Regenerate.
125	* generated/parity_l2.c: Regenerate.
126	* generated/parity_l4.c: Regenerate.
127	* generated/parity_l8.c: Regenerate.
128
1292016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
130
131	* libgfortran.h: Include <stdlib.h> header.
132	* intrinsics/access.c: Do not include <stdlib.h> header.
133	* intrinsics/chdir.c: Do not include <stdlib.h> header.
134	* intrinsics/chmod.c: Do not include <stdlib.h> header.
135	* intrinsics/date_and_time.c: Do not include <stdlib.h> header.
136	* intrinsics/env.c: Do not include <stdlib.h> header.
137	* intrinsics/execute_command_line.c: Do not include <stdlib.h> header.
138	* intrinsics/exit.c: Do not include <stdlib.h> header.
139	* intrinsics/getcwd.c: Do not include <stdlib.h> header.
140	* intrinsics/getlog.c: Do not include <stdlib.h> header.
141	* intrinsics/link.c: Do not include <stdlib.h> header.
142	* intrinsics/move_alloc.c: Do not include <stdlib.h> header.
143	* intrinsics/perror.c: Do not include <stdlib.h> header.
144	* intrinsics/random.c: Do not include <stdlib.h> header.
145	* intrinsics/rename.c: Do not include <stdlib.h> header.
146	* intrinsics/reshape_generic.c: Do not include <stdlib.h> header.
147	* intrinsics/stat.c: Do not include <stdlib.h> header.
148	* intrinsics/symlnk.c: Do not include <stdlib.h> header.
149	* intrinsics/system.c: Do not include <stdlib.h> header.
150	* intrinsics/unlink.c: Do not include <stdlib.h> header.
151	* io/fbuf.c: Do not include <stdlib.h> header.
152	* io/format.c: Do not include <stdlib.h> header.
153	* io/intrinsics.c: Do not include <stdlib.h> header.
154	* io/list_read.c: Do not include <stdlib.h> header.
155	* io/lock.c: Do not include <stdlib.h> header.
156	* io/open.c: Do not include <stdlib.h> header.
157	* io/read.c: Do not include <stdlib.h> header.
158	* io/transfer.c: Do not include <stdlib.h> header.
159	* io/unit.c: Do not include <stdlib.h> header.
160	* io/unix.c: Do not include <stdlib.h> header.
161	* io/write.c: Do not include <stdlib.h> header.
162	* m4/all.m4: Do not include <stdlib.h> header.
163	* m4/any.m4: Do not include <stdlib.h> header.
164	* m4/bessel.m4: Do not include <stdlib.h> header.
165	* m4/count.m4: Do not include <stdlib.h> header.
166	* m4/cshift0.m4: Do not include <stdlib.h> header.
167	* m4/cshift1.m4: Do not include <stdlib.h> header.
168	* m4/eoshift1.m4: Do not include <stdlib.h> header.
169	* m4/eoshift3.m4: Do not include <stdlib.h> header.
170	* m4/iall.m4: Do not include <stdlib.h> header.
171	* m4/iany.m4: Do not include <stdlib.h> header.
172	* m4/in_pack.m4: Do not include <stdlib.h> header.
173	* m4/in_unpack.m4: Do not include <stdlib.h> header.
174	* m4/iparity.m4: Do not include <stdlib.h> header.
175	* m4/matmul.m4: Do not include <stdlib.h> header.
176	* m4/matmull.m4: Do not include <stdlib.h> header.
177	* m4/maxloc0.m4: Do not include <stdlib.h> header.
178	* m4/maxloc1.m4: Do not include <stdlib.h> header.
179	* m4/maxval.m4: Do not include <stdlib.h> header.
180	* m4/minloc0.m4: Do not include <stdlib.h> header.
181	* m4/minloc1.m4: Do not include <stdlib.h> header.
182	* m4/minval.m4: Do not include <stdlib.h> header.
183	* m4/norm2.m4: Do not include <stdlib.h> header.
184	* m4/pack.m4: Do not include <stdlib.h> header.
185	* m4/parity.m4: Do not include <stdlib.h> header.
186	* m4/product.m4: Do not include <stdlib.h> header.
187	* m4/reshape.m4: Do not include <stdlib.h> header.
188	* m4/shape.m4: Do not include <stdlib.h> header.
189	* m4/spread.m4: Do not include <stdlib.h> header.
190	* m4/sum.m4: Do not include <stdlib.h> header.
191	* m4/unpack.m4: Do not include <stdlib.h> header.
192	* runtime/environ.c: Do not include <stdlib.h> header.
193	* runtime/error.c: Do not include <stdlib.h> header.
194	* runtime/memory.c: Do not include <stdlib.h> header.
195	* runtime/minimal.c: Do not include <stdlib.h> header.
196	* runtime/string.c: Do not include <stdlib.h> header.
197	* generated/all_l1.c: Regenerate.
198	* generated/all_l16.c: Regenerate.
199	* generated/all_l2.c: Regenerate.
200	* generated/all_l4.c: Regenerate.
201	* generated/all_l8.c: Regenerate.
202	* generated/any_l1.c: Regenerate.
203	* generated/any_l16.c: Regenerate.
204	* generated/any_l2.c: Regenerate.
205	* generated/any_l4.c: Regenerate.
206	* generated/any_l8.c: Regenerate.
207	* generated/bessel_r10.c: Regenerate.
208	* generated/bessel_r16.c: Regenerate.
209	* generated/bessel_r4.c: Regenerate.
210	* generated/bessel_r8.c: Regenerate.
211	* generated/count_16_l.c: Regenerate.
212	* generated/count_1_l.c: Regenerate.
213	* generated/count_2_l.c: Regenerate.
214	* generated/count_4_l.c: Regenerate.
215	* generated/count_8_l.c: Regenerate.
216	* generated/cshift0_c10.c: Regenerate.
217	* generated/cshift0_c16.c: Regenerate.
218	* generated/cshift0_c4.c: Regenerate.
219	* generated/cshift0_c8.c: Regenerate.
220	* generated/cshift0_i1.c: Regenerate.
221	* generated/cshift0_i16.c: Regenerate.
222	* generated/cshift0_i2.c: Regenerate.
223	* generated/cshift0_i4.c: Regenerate.
224	* generated/cshift0_i8.c: Regenerate.
225	* generated/cshift0_r10.c: Regenerate.
226	* generated/cshift0_r16.c: Regenerate.
227	* generated/cshift0_r4.c: Regenerate.
228	* generated/cshift0_r8.c: Regenerate.
229	* generated/cshift1_16.c: Regenerate.
230	* generated/cshift1_4.c: Regenerate.
231	* generated/cshift1_8.c: Regenerate.
232	* generated/eoshift1_16.c: Regenerate.
233	* generated/eoshift1_4.c: Regenerate.
234	* generated/eoshift1_8.c: Regenerate.
235	* generated/eoshift3_16.c: Regenerate.
236	* generated/eoshift3_4.c: Regenerate.
237	* generated/eoshift3_8.c: Regenerate.
238	* generated/iall_i1.c: Regenerate.
239	* generated/iall_i16.c: Regenerate.
240	* generated/iall_i2.c: Regenerate.
241	* generated/iall_i4.c: Regenerate.
242	* generated/iall_i8.c: Regenerate.
243	* generated/iany_i1.c: Regenerate.
244	* generated/iany_i16.c: Regenerate.
245	* generated/iany_i2.c: Regenerate.
246	* generated/iany_i4.c: Regenerate.
247	* generated/iany_i8.c: Regenerate.
248	* generated/in_pack_c10.c: Regenerate.
249	* generated/in_pack_c16.c: Regenerate.
250	* generated/in_pack_c4.c: Regenerate.
251	* generated/in_pack_c8.c: Regenerate.
252	* generated/in_pack_i1.c: Regenerate.
253	* generated/in_pack_i16.c: Regenerate.
254	* generated/in_pack_i2.c: Regenerate.
255	* generated/in_pack_i4.c: Regenerate.
256	* generated/in_pack_i8.c: Regenerate.
257	* generated/in_pack_r10.c: Regenerate.
258	* generated/in_pack_r16.c: Regenerate.
259	* generated/in_pack_r4.c: Regenerate.
260	* generated/in_pack_r8.c: Regenerate.
261	* generated/in_unpack_c10.c: Regenerate.
262	* generated/in_unpack_c16.c: Regenerate.
263	* generated/in_unpack_c4.c: Regenerate.
264	* generated/in_unpack_c8.c: Regenerate.
265	* generated/in_unpack_i1.c: Regenerate.
266	* generated/in_unpack_i16.c: Regenerate.
267	* generated/in_unpack_i2.c: Regenerate.
268	* generated/in_unpack_i4.c: Regenerate.
269	* generated/in_unpack_i8.c: Regenerate.
270	* generated/in_unpack_r10.c: Regenerate.
271	* generated/in_unpack_r16.c: Regenerate.
272	* generated/in_unpack_r4.c: Regenerate.
273	* generated/in_unpack_r8.c: Regenerate.
274	* generated/iparity_i1.c: Regenerate.
275	* generated/iparity_i16.c: Regenerate.
276	* generated/iparity_i2.c: Regenerate.
277	* generated/iparity_i4.c: Regenerate.
278	* generated/iparity_i8.c: Regenerate.
279	* generated/matmul_c10.c: Regenerate.
280	* generated/matmul_c16.c: Regenerate.
281	* generated/matmul_c4.c: Regenerate.
282	* generated/matmul_c8.c: Regenerate.
283	* generated/matmul_i1.c: Regenerate.
284	* generated/matmul_i16.c: Regenerate.
285	* generated/matmul_i2.c: Regenerate.
286	* generated/matmul_i4.c: Regenerate.
287	* generated/matmul_i8.c: Regenerate.
288	* generated/matmul_l16.c: Regenerate.
289	* generated/matmul_l4.c: Regenerate.
290	* generated/matmul_l8.c: Regenerate.
291	* generated/matmul_r10.c: Regenerate.
292	* generated/matmul_r16.c: Regenerate.
293	* generated/matmul_r4.c: Regenerate.
294	* generated/matmul_r8.c: Regenerate.
295	* generated/maxloc0_16_i1.c: Regenerate.
296	* generated/maxloc0_16_i16.c: Regenerate.
297	* generated/maxloc0_16_i2.c: Regenerate.
298	* generated/maxloc0_16_i4.c: Regenerate.
299	* generated/maxloc0_16_i8.c: Regenerate.
300	* generated/maxloc0_16_r10.c: Regenerate.
301	* generated/maxloc0_16_r16.c: Regenerate.
302	* generated/maxloc0_16_r4.c: Regenerate.
303	* generated/maxloc0_16_r8.c: Regenerate.
304	* generated/maxloc0_4_i1.c: Regenerate.
305	* generated/maxloc0_4_i16.c: Regenerate.
306	* generated/maxloc0_4_i2.c: Regenerate.
307	* generated/maxloc0_4_i4.c: Regenerate.
308	* generated/maxloc0_4_i8.c: Regenerate.
309	* generated/maxloc0_4_r10.c: Regenerate.
310	* generated/maxloc0_4_r16.c: Regenerate.
311	* generated/maxloc0_4_r4.c: Regenerate.
312	* generated/maxloc0_4_r8.c: Regenerate.
313	* generated/maxloc0_8_i1.c: Regenerate.
314	* generated/maxloc0_8_i16.c: Regenerate.
315	* generated/maxloc0_8_i2.c: Regenerate.
316	* generated/maxloc0_8_i4.c: Regenerate.
317	* generated/maxloc0_8_i8.c: Regenerate.
318	* generated/maxloc0_8_r10.c: Regenerate.
319	* generated/maxloc0_8_r16.c: Regenerate.
320	* generated/maxloc0_8_r4.c: Regenerate.
321	* generated/maxloc0_8_r8.c: Regenerate.
322	* generated/maxloc1_16_i1.c: Regenerate.
323	* generated/maxloc1_16_i16.c: Regenerate.
324	* generated/maxloc1_16_i2.c: Regenerate.
325	* generated/maxloc1_16_i4.c: Regenerate.
326	* generated/maxloc1_16_i8.c: Regenerate.
327	* generated/maxloc1_16_r10.c: Regenerate.
328	* generated/maxloc1_16_r16.c: Regenerate.
329	* generated/maxloc1_16_r4.c: Regenerate.
330	* generated/maxloc1_16_r8.c: Regenerate.
331	* generated/maxloc1_4_i1.c: Regenerate.
332	* generated/maxloc1_4_i16.c: Regenerate.
333	* generated/maxloc1_4_i2.c: Regenerate.
334	* generated/maxloc1_4_i4.c: Regenerate.
335	* generated/maxloc1_4_i8.c: Regenerate.
336	* generated/maxloc1_4_r10.c: Regenerate.
337	* generated/maxloc1_4_r16.c: Regenerate.
338	* generated/maxloc1_4_r4.c: Regenerate.
339	* generated/maxloc1_4_r8.c: Regenerate.
340	* generated/maxloc1_8_i1.c: Regenerate.
341	* generated/maxloc1_8_i16.c: Regenerate.
342	* generated/maxloc1_8_i2.c: Regenerate.
343	* generated/maxloc1_8_i4.c: Regenerate.
344	* generated/maxloc1_8_i8.c: Regenerate.
345	* generated/maxloc1_8_r10.c: Regenerate.
346	* generated/maxloc1_8_r16.c: Regenerate.
347	* generated/maxloc1_8_r4.c: Regenerate.
348	* generated/maxloc1_8_r8.c: Regenerate.
349	* generated/maxval_i1.c: Regenerate.
350	* generated/maxval_i16.c: Regenerate.
351	* generated/maxval_i2.c: Regenerate.
352	* generated/maxval_i4.c: Regenerate.
353	* generated/maxval_i8.c: Regenerate.
354	* generated/maxval_r10.c: Regenerate.
355	* generated/maxval_r16.c: Regenerate.
356	* generated/maxval_r4.c: Regenerate.
357	* generated/maxval_r8.c: Regenerate.
358	* generated/minloc0_16_i1.c: Regenerate.
359	* generated/minloc0_16_i16.c: Regenerate.
360	* generated/minloc0_16_i2.c: Regenerate.
361	* generated/minloc0_16_i4.c: Regenerate.
362	* generated/minloc0_16_i8.c: Regenerate.
363	* generated/minloc0_16_r10.c: Regenerate.
364	* generated/minloc0_16_r16.c: Regenerate.
365	* generated/minloc0_16_r4.c: Regenerate.
366	* generated/minloc0_16_r8.c: Regenerate.
367	* generated/minloc0_4_i1.c: Regenerate.
368	* generated/minloc0_4_i16.c: Regenerate.
369	* generated/minloc0_4_i2.c: Regenerate.
370	* generated/minloc0_4_i4.c: Regenerate.
371	* generated/minloc0_4_i8.c: Regenerate.
372	* generated/minloc0_4_r10.c: Regenerate.
373	* generated/minloc0_4_r16.c: Regenerate.
374	* generated/minloc0_4_r4.c: Regenerate.
375	* generated/minloc0_4_r8.c: Regenerate.
376	* generated/minloc0_8_i1.c: Regenerate.
377	* generated/minloc0_8_i16.c: Regenerate.
378	* generated/minloc0_8_i2.c: Regenerate.
379	* generated/minloc0_8_i4.c: Regenerate.
380	* generated/minloc0_8_i8.c: Regenerate.
381	* generated/minloc0_8_r10.c: Regenerate.
382	* generated/minloc0_8_r16.c: Regenerate.
383	* generated/minloc0_8_r4.c: Regenerate.
384	* generated/minloc0_8_r8.c: Regenerate.
385	* generated/minloc1_16_i1.c: Regenerate.
386	* generated/minloc1_16_i16.c: Regenerate.
387	* generated/minloc1_16_i2.c: Regenerate.
388	* generated/minloc1_16_i4.c: Regenerate.
389	* generated/minloc1_16_i8.c: Regenerate.
390	* generated/minloc1_16_r10.c: Regenerate.
391	* generated/minloc1_16_r16.c: Regenerate.
392	* generated/minloc1_16_r4.c: Regenerate.
393	* generated/minloc1_16_r8.c: Regenerate.
394	* generated/minloc1_4_i1.c: Regenerate.
395	* generated/minloc1_4_i16.c: Regenerate.
396	* generated/minloc1_4_i2.c: Regenerate.
397	* generated/minloc1_4_i4.c: Regenerate.
398	* generated/minloc1_4_i8.c: Regenerate.
399	* generated/minloc1_4_r10.c: Regenerate.
400	* generated/minloc1_4_r16.c: Regenerate.
401	* generated/minloc1_4_r4.c: Regenerate.
402	* generated/minloc1_4_r8.c: Regenerate.
403	* generated/minloc1_8_i1.c: Regenerate.
404	* generated/minloc1_8_i16.c: Regenerate.
405	* generated/minloc1_8_i2.c: Regenerate.
406	* generated/minloc1_8_i4.c: Regenerate.
407	* generated/minloc1_8_i8.c: Regenerate.
408	* generated/minloc1_8_r10.c: Regenerate.
409	* generated/minloc1_8_r16.c: Regenerate.
410	* generated/minloc1_8_r4.c: Regenerate.
411	* generated/minloc1_8_r8.c: Regenerate.
412	* generated/minval_i1.c: Regenerate.
413	* generated/minval_i16.c: Regenerate.
414	* generated/minval_i2.c: Regenerate.
415	* generated/minval_i4.c: Regenerate.
416	* generated/minval_i8.c: Regenerate.
417	* generated/minval_r10.c: Regenerate.
418	* generated/minval_r16.c: Regenerate.
419	* generated/minval_r4.c: Regenerate.
420	* generated/minval_r8.c: Regenerate.
421	* generated/norm2_r10.c: Regenerate.
422	* generated/norm2_r16.c: Regenerate.
423	* generated/norm2_r4.c: Regenerate.
424	* generated/norm2_r8.c: Regenerate.
425	* generated/pack_c10.c: Regenerate.
426	* generated/pack_c16.c: Regenerate.
427	* generated/pack_c4.c: Regenerate.
428	* generated/pack_c8.c: Regenerate.
429	* generated/pack_i1.c: Regenerate.
430	* generated/pack_i16.c: Regenerate.
431	* generated/pack_i2.c: Regenerate.
432	* generated/pack_i4.c: Regenerate.
433	* generated/pack_i8.c: Regenerate.
434	* generated/pack_r10.c: Regenerate.
435	* generated/pack_r16.c: Regenerate.
436	* generated/pack_r4.c: Regenerate.
437	* generated/pack_r8.c: Regenerate.
438	* generated/parity_l1.c: Regenerate.
439	* generated/parity_l16.c: Regenerate.
440	* generated/parity_l2.c: Regenerate.
441	* generated/parity_l4.c: Regenerate.
442	* generated/parity_l8.c: Regenerate.
443	* generated/product_c10.c: Regenerate.
444	* generated/product_c16.c: Regenerate.
445	* generated/product_c4.c: Regenerate.
446	* generated/product_c8.c: Regenerate.
447	* generated/product_i1.c: Regenerate.
448	* generated/product_i16.c: Regenerate.
449	* generated/product_i2.c: Regenerate.
450	* generated/product_i4.c: Regenerate.
451	* generated/product_i8.c: Regenerate.
452	* generated/product_r10.c: Regenerate.
453	* generated/product_r16.c: Regenerate.
454	* generated/product_r4.c: Regenerate.
455	* generated/product_r8.c: Regenerate.
456	* generated/reshape_c10.c: Regenerate.
457	* generated/reshape_c16.c: Regenerate.
458	* generated/reshape_c4.c: Regenerate.
459	* generated/reshape_c8.c: Regenerate.
460	* generated/reshape_i16.c: Regenerate.
461	* generated/reshape_i4.c: Regenerate.
462	* generated/reshape_i8.c: Regenerate.
463	* generated/reshape_r10.c: Regenerate.
464	* generated/reshape_r16.c: Regenerate.
465	* generated/reshape_r4.c: Regenerate.
466	* generated/reshape_r8.c: Regenerate.
467	* generated/shape_i1.c: Regenerate.
468	* generated/shape_i16.c: Regenerate.
469	* generated/shape_i2.c: Regenerate.
470	* generated/shape_i4.c: Regenerate.
471	* generated/shape_i8.c: Regenerate.
472	* generated/spread_c10.c: Regenerate.
473	* generated/spread_c16.c: Regenerate.
474	* generated/spread_c4.c: Regenerate.
475	* generated/spread_c8.c: Regenerate.
476	* generated/spread_i1.c: Regenerate.
477	* generated/spread_i16.c: Regenerate.
478	* generated/spread_i2.c: Regenerate.
479	* generated/spread_i4.c: Regenerate.
480	* generated/spread_i8.c: Regenerate.
481	* generated/spread_r10.c: Regenerate.
482	* generated/spread_r16.c: Regenerate.
483	* generated/spread_r4.c: Regenerate.
484	* generated/spread_r8.c: Regenerate.
485	* generated/sum_c10.c: Regenerate.
486	* generated/sum_c16.c: Regenerate.
487	* generated/sum_c4.c: Regenerate.
488	* generated/sum_c8.c: Regenerate.
489	* generated/sum_i1.c: Regenerate.
490	* generated/sum_i16.c: Regenerate.
491	* generated/sum_i2.c: Regenerate.
492	* generated/sum_i4.c: Regenerate.
493	* generated/sum_i8.c: Regenerate.
494	* generated/sum_r10.c: Regenerate.
495	* generated/sum_r16.c: Regenerate.
496	* generated/sum_r4.c: Regenerate.
497	* generated/sum_r8.c: Regenerate.
498	* generated/unpack_c10.c: Regenerate.
499	* generated/unpack_c16.c: Regenerate.
500	* generated/unpack_c4.c: Regenerate.
501	* generated/unpack_c8.c: Regenerate.
502	* generated/unpack_i1.c: Regenerate.
503	* generated/unpack_i16.c: Regenerate.
504	* generated/unpack_i2.c: Regenerate.
505	* generated/unpack_i4.c: Regenerate.
506	* generated/unpack_i8.c: Regenerate.
507	* generated/unpack_r10.c: Regenerate.
508	* generated/unpack_r16.c: Regenerate.
509	* generated/unpack_r4.c: Regenerate.
510	* generated/unpack_r8.c: Regenerate.
511
5122016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
513
514	* intrinsics/abort.c: Remove unused headers.
515	* intrinsics/access.c: Remove unused headers.
516	* intrinsics/chdir.c: Remove unused headers.
517	* intrinsics/chmod.c: Remove unused headers.
518	* intrinsics/cshift0.c: Remove unused headers.
519	* intrinsics/ctime.c: Remove unused headers.
520	* intrinsics/eoshift0.c: Remove unused headers.
521	* intrinsics/eoshift2.c: Remove unused headers.
522	* intrinsics/extends_type_of.c: Remove unused headers.
523	* intrinsics/link.c: Remove unused headers.
524	* intrinsics/pack_generic.c: Remove unused headers.
525	* intrinsics/perror.c: Remove unused headers.
526	* intrinsics/rename.c: Remove unused headers.
527	* intrinsics/reshape_generic.c: Remove unused headers.
528	* intrinsics/sleep.c: Remove unused headers.
529	* intrinsics/spread_generic.c: Remove unused headers.
530	* intrinsics/stat.c: Remove unused headers.
531	* intrinsics/string_intrinsics.c: Remove unused headers.
532	* intrinsics/symlnk.c: Remove unused headers.
533	* intrinsics/system.c: Remove unused headers.
534	* intrinsics/umask.c: Remove unused headers.
535	* intrinsics/unlink.c: Remove unused headers.
536	* intrinsics/unpack_generic.c: Remove unused headers.
537	* io/read.c: Remove unused headers.
538	* io/transfer.c: Remove unused headers.
539	* io/unix.c: Remove unused headers.
540	* io/write.c: Remove unused headers.
541	* m4/all.m4: Remove unused headers.
542	* m4/any.m4: Remove unused headers.
543	* m4/bessel.m4: Remove unused headers.
544	* m4/count.m4: Remove unused headers.
545	* m4/cshift0.m4: Remove unused headers.
546	* m4/cshift1.m4: Remove unused headers.
547	* m4/eoshift1.m4: Remove unused headers.
548	* m4/eoshift3.m4: Remove unused headers.
549	* m4/iall.m4: Remove unused headers.
550	* m4/iany.m4: Remove unused headers.
551	* m4/in_pack.m4: Remove unused headers.
552	* m4/in_unpack.m4: Remove unused headers.
553	* m4/iparity.m4: Remove unused headers.
554	* m4/maxloc0.m4: Remove unused headers.
555	* m4/maxloc1.m4: Remove unused headers.
556	* m4/maxval.m4: Remove unused headers.
557	* m4/minloc0.m4: Remove unused headers.
558	* m4/minloc1.m4: Remove unused headers.
559	* m4/minval.m4: Remove unused headers.
560	* m4/norm2.m4: Remove unused headers.
561	* m4/pack.m4: Remove unused headers.
562	* m4/parity.m4: Remove unused headers.
563	* m4/product.m4: Remove unused headers.
564	* m4/reshape.m4: Remove unused headers.
565	* m4/shape.m4: Remove unused headers.
566	* m4/spread.m4: Remove unused headers.
567	* m4/sum.m4: Remove unused headers.
568	* m4/unpack.m4: Remove unused headers.
569	* runtime/backtrace.c: Remove unused headers.
570	* runtime/convert_char.c: Remove unused headers.
571	* runtime/in_pack_generic.c: Remove unused headers.
572	* runtime/in_unpack_generic.c: Remove unused headers.
573	* runtime/main.c: Remove unused headers.
574	* runtime/stop.c: Remove unused headers.
575	* generated/all_l1.c: Regenerate.
576	* generated/all_l16.c: Regenerate.
577	* generated/all_l2.c: Regenerate.
578	* generated/all_l4.c: Regenerate.
579	* generated/all_l8.c: Regenerate.
580	* generated/any_l1.c: Regenerate.
581	* generated/any_l16.c: Regenerate.
582	* generated/any_l2.c: Regenerate.
583	* generated/any_l4.c: Regenerate.
584	* generated/any_l8.c: Regenerate.
585	* generated/bessel_r10.c: Regenerate.
586	* generated/bessel_r16.c: Regenerate.
587	* generated/bessel_r4.c: Regenerate.
588	* generated/bessel_r8.c: Regenerate.
589	* generated/count_16_l.c: Regenerate.
590	* generated/count_1_l.c: Regenerate.
591	* generated/count_2_l.c: Regenerate.
592	* generated/count_4_l.c: Regenerate.
593	* generated/count_8_l.c: Regenerate.
594	* generated/cshift0_c10.c: Regenerate.
595	* generated/cshift0_c16.c: Regenerate.
596	* generated/cshift0_c4.c: Regenerate.
597	* generated/cshift0_c8.c: Regenerate.
598	* generated/cshift0_i1.c: Regenerate.
599	* generated/cshift0_i16.c: Regenerate.
600	* generated/cshift0_i2.c: Regenerate.
601	* generated/cshift0_i4.c: Regenerate.
602	* generated/cshift0_i8.c: Regenerate.
603	* generated/cshift0_r10.c: Regenerate.
604	* generated/cshift0_r16.c: Regenerate.
605	* generated/cshift0_r4.c: Regenerate.
606	* generated/cshift0_r8.c: Regenerate.
607	* generated/cshift1_16.c: Regenerate.
608	* generated/cshift1_4.c: Regenerate.
609	* generated/cshift1_8.c: Regenerate.
610	* generated/eoshift1_16.c: Regenerate.
611	* generated/eoshift1_4.c: Regenerate.
612	* generated/eoshift1_8.c: Regenerate.
613	* generated/eoshift3_16.c: Regenerate.
614	* generated/eoshift3_4.c: Regenerate.
615	* generated/eoshift3_8.c: Regenerate.
616	* generated/iall_i1.c: Regenerate.
617	* generated/iall_i16.c: Regenerate.
618	* generated/iall_i2.c: Regenerate.
619	* generated/iall_i4.c: Regenerate.
620	* generated/iall_i8.c: Regenerate.
621	* generated/iany_i1.c: Regenerate.
622	* generated/iany_i16.c: Regenerate.
623	* generated/iany_i2.c: Regenerate.
624	* generated/iany_i4.c: Regenerate.
625	* generated/iany_i8.c: Regenerate.
626	* generated/in_pack_c10.c: Regenerate.
627	* generated/in_pack_c16.c: Regenerate.
628	* generated/in_pack_c4.c: Regenerate.
629	* generated/in_pack_c8.c: Regenerate.
630	* generated/in_pack_i1.c: Regenerate.
631	* generated/in_pack_i16.c: Regenerate.
632	* generated/in_pack_i2.c: Regenerate.
633	* generated/in_pack_i4.c: Regenerate.
634	* generated/in_pack_i8.c: Regenerate.
635	* generated/in_pack_r10.c: Regenerate.
636	* generated/in_pack_r16.c: Regenerate.
637	* generated/in_pack_r4.c: Regenerate.
638	* generated/in_pack_r8.c: Regenerate.
639	* generated/in_unpack_c10.c: Regenerate.
640	* generated/in_unpack_c16.c: Regenerate.
641	* generated/in_unpack_c4.c: Regenerate.
642	* generated/in_unpack_c8.c: Regenerate.
643	* generated/in_unpack_i1.c: Regenerate.
644	* generated/in_unpack_i16.c: Regenerate.
645	* generated/in_unpack_i2.c: Regenerate.
646	* generated/in_unpack_i4.c: Regenerate.
647	* generated/in_unpack_i8.c: Regenerate.
648	* generated/in_unpack_r10.c: Regenerate.
649	* generated/in_unpack_r16.c: Regenerate.
650	* generated/in_unpack_r4.c: Regenerate.
651	* generated/in_unpack_r8.c: Regenerate.
652	* generated/iparity_i1.c: Regenerate.
653	* generated/iparity_i16.c: Regenerate.
654	* generated/iparity_i2.c: Regenerate.
655	* generated/iparity_i4.c: Regenerate.
656	* generated/iparity_i8.c: Regenerate.
657	* generated/maxloc0_16_i1.c: Regenerate.
658	* generated/maxloc0_16_i16.c: Regenerate.
659	* generated/maxloc0_16_i2.c: Regenerate.
660	* generated/maxloc0_16_i4.c: Regenerate.
661	* generated/maxloc0_16_i8.c: Regenerate.
662	* generated/maxloc0_16_r10.c: Regenerate.
663	* generated/maxloc0_16_r16.c: Regenerate.
664	* generated/maxloc0_16_r4.c: Regenerate.
665	* generated/maxloc0_16_r8.c: Regenerate.
666	* generated/maxloc0_4_i1.c: Regenerate.
667	* generated/maxloc0_4_i16.c: Regenerate.
668	* generated/maxloc0_4_i2.c: Regenerate.
669	* generated/maxloc0_4_i4.c: Regenerate.
670	* generated/maxloc0_4_i8.c: Regenerate.
671	* generated/maxloc0_4_r10.c: Regenerate.
672	* generated/maxloc0_4_r16.c: Regenerate.
673	* generated/maxloc0_4_r4.c: Regenerate.
674	* generated/maxloc0_4_r8.c: Regenerate.
675	* generated/maxloc0_8_i1.c: Regenerate.
676	* generated/maxloc0_8_i16.c: Regenerate.
677	* generated/maxloc0_8_i2.c: Regenerate.
678	* generated/maxloc0_8_i4.c: Regenerate.
679	* generated/maxloc0_8_i8.c: Regenerate.
680	* generated/maxloc0_8_r10.c: Regenerate.
681	* generated/maxloc0_8_r16.c: Regenerate.
682	* generated/maxloc0_8_r4.c: Regenerate.
683	* generated/maxloc0_8_r8.c: Regenerate.
684	* generated/maxloc1_16_i1.c: Regenerate.
685	* generated/maxloc1_16_i16.c: Regenerate.
686	* generated/maxloc1_16_i2.c: Regenerate.
687	* generated/maxloc1_16_i4.c: Regenerate.
688	* generated/maxloc1_16_i8.c: Regenerate.
689	* generated/maxloc1_16_r10.c: Regenerate.
690	* generated/maxloc1_16_r16.c: Regenerate.
691	* generated/maxloc1_16_r4.c: Regenerate.
692	* generated/maxloc1_16_r8.c: Regenerate.
693	* generated/maxloc1_4_i1.c: Regenerate.
694	* generated/maxloc1_4_i16.c: Regenerate.
695	* generated/maxloc1_4_i2.c: Regenerate.
696	* generated/maxloc1_4_i4.c: Regenerate.
697	* generated/maxloc1_4_i8.c: Regenerate.
698	* generated/maxloc1_4_r10.c: Regenerate.
699	* generated/maxloc1_4_r16.c: Regenerate.
700	* generated/maxloc1_4_r4.c: Regenerate.
701	* generated/maxloc1_4_r8.c: Regenerate.
702	* generated/maxloc1_8_i1.c: Regenerate.
703	* generated/maxloc1_8_i16.c: Regenerate.
704	* generated/maxloc1_8_i2.c: Regenerate.
705	* generated/maxloc1_8_i4.c: Regenerate.
706	* generated/maxloc1_8_i8.c: Regenerate.
707	* generated/maxloc1_8_r10.c: Regenerate.
708	* generated/maxloc1_8_r16.c: Regenerate.
709	* generated/maxloc1_8_r4.c: Regenerate.
710	* generated/maxloc1_8_r8.c: Regenerate.
711	* generated/maxval_i1.c: Regenerate.
712	* generated/maxval_i16.c: Regenerate.
713	* generated/maxval_i2.c: Regenerate.
714	* generated/maxval_i4.c: Regenerate.
715	* generated/maxval_i8.c: Regenerate.
716	* generated/maxval_r10.c: Regenerate.
717	* generated/maxval_r16.c: Regenerate.
718	* generated/maxval_r4.c: Regenerate.
719	* generated/maxval_r8.c: Regenerate.
720	* generated/minloc0_16_i1.c: Regenerate.
721	* generated/minloc0_16_i16.c: Regenerate.
722	* generated/minloc0_16_i2.c: Regenerate.
723	* generated/minloc0_16_i4.c: Regenerate.
724	* generated/minloc0_16_i8.c: Regenerate.
725	* generated/minloc0_16_r10.c: Regenerate.
726	* generated/minloc0_16_r16.c: Regenerate.
727	* generated/minloc0_16_r4.c: Regenerate.
728	* generated/minloc0_16_r8.c: Regenerate.
729	* generated/minloc0_4_i1.c: Regenerate.
730	* generated/minloc0_4_i16.c: Regenerate.
731	* generated/minloc0_4_i2.c: Regenerate.
732	* generated/minloc0_4_i4.c: Regenerate.
733	* generated/minloc0_4_i8.c: Regenerate.
734	* generated/minloc0_4_r10.c: Regenerate.
735	* generated/minloc0_4_r16.c: Regenerate.
736	* generated/minloc0_4_r4.c: Regenerate.
737	* generated/minloc0_4_r8.c: Regenerate.
738	* generated/minloc0_8_i1.c: Regenerate.
739	* generated/minloc0_8_i16.c: Regenerate.
740	* generated/minloc0_8_i2.c: Regenerate.
741	* generated/minloc0_8_i4.c: Regenerate.
742	* generated/minloc0_8_i8.c: Regenerate.
743	* generated/minloc0_8_r10.c: Regenerate.
744	* generated/minloc0_8_r16.c: Regenerate.
745	* generated/minloc0_8_r4.c: Regenerate.
746	* generated/minloc0_8_r8.c: Regenerate.
747	* generated/minloc1_16_i1.c: Regenerate.
748	* generated/minloc1_16_i16.c: Regenerate.
749	* generated/minloc1_16_i2.c: Regenerate.
750	* generated/minloc1_16_i4.c: Regenerate.
751	* generated/minloc1_16_i8.c: Regenerate.
752	* generated/minloc1_16_r10.c: Regenerate.
753	* generated/minloc1_16_r16.c: Regenerate.
754	* generated/minloc1_16_r4.c: Regenerate.
755	* generated/minloc1_16_r8.c: Regenerate.
756	* generated/minloc1_4_i1.c: Regenerate.
757	* generated/minloc1_4_i16.c: Regenerate.
758	* generated/minloc1_4_i2.c: Regenerate.
759	* generated/minloc1_4_i4.c: Regenerate.
760	* generated/minloc1_4_i8.c: Regenerate.
761	* generated/minloc1_4_r10.c: Regenerate.
762	* generated/minloc1_4_r16.c: Regenerate.
763	* generated/minloc1_4_r4.c: Regenerate.
764	* generated/minloc1_4_r8.c: Regenerate.
765	* generated/minloc1_8_i1.c: Regenerate.
766	* generated/minloc1_8_i16.c: Regenerate.
767	* generated/minloc1_8_i2.c: Regenerate.
768	* generated/minloc1_8_i4.c: Regenerate.
769	* generated/minloc1_8_i8.c: Regenerate.
770	* generated/minloc1_8_r10.c: Regenerate.
771	* generated/minloc1_8_r16.c: Regenerate.
772	* generated/minloc1_8_r4.c: Regenerate.
773	* generated/minloc1_8_r8.c: Regenerate.
774	* generated/minval_i1.c: Regenerate.
775	* generated/minval_i16.c: Regenerate.
776	* generated/minval_i2.c: Regenerate.
777	* generated/minval_i4.c: Regenerate.
778	* generated/minval_i8.c: Regenerate.
779	* generated/minval_r10.c: Regenerate.
780	* generated/minval_r16.c: Regenerate.
781	* generated/minval_r4.c: Regenerate.
782	* generated/minval_r8.c: Regenerate.
783	* generated/norm2_r10.c: Regenerate.
784	* generated/norm2_r16.c: Regenerate.
785	* generated/norm2_r4.c: Regenerate.
786	* generated/norm2_r8.c: Regenerate.
787	* generated/pack_c10.c: Regenerate.
788	* generated/pack_c16.c: Regenerate.
789	* generated/pack_c4.c: Regenerate.
790	* generated/pack_c8.c: Regenerate.
791	* generated/pack_i1.c: Regenerate.
792	* generated/pack_i16.c: Regenerate.
793	* generated/pack_i2.c: Regenerate.
794	* generated/pack_i4.c: Regenerate.
795	* generated/pack_i8.c: Regenerate.
796	* generated/pack_r10.c: Regenerate.
797	* generated/pack_r16.c: Regenerate.
798	* generated/pack_r4.c: Regenerate.
799	* generated/pack_r8.c: Regenerate.
800	* generated/parity_l1.c: Regenerate.
801	* generated/parity_l16.c: Regenerate.
802	* generated/parity_l2.c: Regenerate.
803	* generated/parity_l4.c: Regenerate.
804	* generated/parity_l8.c: Regenerate.
805	* generated/product_c10.c: Regenerate.
806	* generated/product_c16.c: Regenerate.
807	* generated/product_c4.c: Regenerate.
808	* generated/product_c8.c: Regenerate.
809	* generated/product_i1.c: Regenerate.
810	* generated/product_i16.c: Regenerate.
811	* generated/product_i2.c: Regenerate.
812	* generated/product_i4.c: Regenerate.
813	* generated/product_i8.c: Regenerate.
814	* generated/product_r10.c: Regenerate.
815	* generated/product_r16.c: Regenerate.
816	* generated/product_r4.c: Regenerate.
817	* generated/product_r8.c: Regenerate.
818	* generated/reshape_c10.c: Regenerate.
819	* generated/reshape_c16.c: Regenerate.
820	* generated/reshape_c4.c: Regenerate.
821	* generated/reshape_c8.c: Regenerate.
822	* generated/reshape_i16.c: Regenerate.
823	* generated/reshape_i4.c: Regenerate.
824	* generated/reshape_i8.c: Regenerate.
825	* generated/reshape_r10.c: Regenerate.
826	* generated/reshape_r16.c: Regenerate.
827	* generated/reshape_r4.c: Regenerate.
828	* generated/reshape_r8.c: Regenerate.
829	* generated/shape_i1.c: Regenerate.
830	* generated/shape_i16.c: Regenerate.
831	* generated/shape_i2.c: Regenerate.
832	* generated/shape_i4.c: Regenerate.
833	* generated/shape_i8.c: Regenerate.
834	* generated/spread_c10.c: Regenerate.
835	* generated/spread_c16.c: Regenerate.
836	* generated/spread_c4.c: Regenerate.
837	* generated/spread_c8.c: Regenerate.
838	* generated/spread_i1.c: Regenerate.
839	* generated/spread_i16.c: Regenerate.
840	* generated/spread_i2.c: Regenerate.
841	* generated/spread_i4.c: Regenerate.
842	* generated/spread_i8.c: Regenerate.
843	* generated/spread_r10.c: Regenerate.
844	* generated/spread_r16.c: Regenerate.
845	* generated/spread_r4.c: Regenerate.
846	* generated/spread_r8.c: Regenerate.
847	* generated/sum_c10.c: Regenerate.
848	* generated/sum_c16.c: Regenerate.
849	* generated/sum_c4.c: Regenerate.
850	* generated/sum_c8.c: Regenerate.
851	* generated/sum_i1.c: Regenerate.
852	* generated/sum_i16.c: Regenerate.
853	* generated/sum_i2.c: Regenerate.
854	* generated/sum_i4.c: Regenerate.
855	* generated/sum_i8.c: Regenerate.
856	* generated/sum_r10.c: Regenerate.
857	* generated/sum_r16.c: Regenerate.
858	* generated/sum_r4.c: Regenerate.
859	* generated/sum_r8.c: Regenerate.
860	* generated/unpack_c10.c: Regenerate.
861	* generated/unpack_c16.c: Regenerate.
862	* generated/unpack_c4.c: Regenerate.
863	* generated/unpack_c8.c: Regenerate.
864	* generated/unpack_i1.c: Regenerate.
865	* generated/unpack_i16.c: Regenerate.
866	* generated/unpack_i2.c: Regenerate.
867	* generated/unpack_i4.c: Regenerate.
868	* generated/unpack_i8.c: Regenerate.
869	* generated/unpack_r10.c: Regenerate.
870	* generated/unpack_r16.c: Regenerate.
871	* generated/unpack_r4.c: Regenerate.
872	* generated/unpack_r8.c: Regenerate.
873
8742016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
875
876	PR libfortran/70311
877	* intrinsics/selected_char_kind.c: Include <strings.h> header.
878	* runtime/environ.c: Include <strings.h> header.
879	* runtime/string.c: Include <strings.h> header.
880
8812016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
882
883	* gfortran.map: Remove _gfortran_ftell2.
884	* io/intrinsics.c (ftell): Remove.
885	(ftell2): Rename to ftell.
886
8872016-12-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
888
889	* gfortran.map: Move all _gfortran_* __iso_c_binding_* symbols
890	to GFORTRAN_7. Rename F2C_1.0 to GFORTRAN_F2C_7. Move all C99
891	compatibility symbols to GFORTRAN_C99_7.
892
8932016-12-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
894
895	* runtime/compile_options.c (set_options): Remove unused elements.
896
8972016-12-19  Janne Blomqvist  <jb@gcc.gnu.org>
898
899	* Actually remove files that should have been removed by r243799.
900
9012016-12-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
902
903	* gfortran.map: Remove _gfortran_stop_numeric_f08.
904	* runtime/stop.c: Rename stop_numeric_f08 into stop_numeric.
905
9062016-12-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
907
908	* Makefile.am: Remove ISO_C_BINDING runtime functions.
909	* Makefile.in: Regenerate.
910	* gfortran.map: Remove all __iso_c_binding_c_f_pointer_* symbols.
911	* intrinsics/iso_c_binding.h: Remove.
912	* intrinsics/iso_c_binding.c: Remove.
913	* intrinsics/iso_c_generated_procs.c: Remove.
914
9152016-12-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
916
917	* Makefile.am: Remove intrinsics/bit_intrinsics.c.
918	* Makefile.in: Regenerate.
919	* gfortran.map: Remove _gfortran_clz128 and _gfortran_ctz128.
920	* intrinsics/bit_intrinsics.c: Remove.
921
9222016-12-19  Janne Blomqvist  <jb@gcc.gnu.org>
923
924	* Makefile.am: Remove exponent, fraction, nearest, rrspacing,
925	set_exponent, spacing, transpose, malloc, transpose_generic.
926	* Makefile.in: Regenerate.
927	* generated/exponent_r10.c: Remove.
928	* generated/exponent_r16.c: Remove.
929	* generated/exponent_r4.c: Remove.
930	* generated/exponent_r8.c: Remove.
931	* generated/fraction_r10.c: Remove.
932	* generated/fraction_r16.c: Remove.
933	* generated/fraction_r4.c: Remove.
934	* generated/fraction_r8.c: Remove.
935	* generated/nearest_r10.c: Remove.
936	* generated/nearest_r16.c: Remove.
937	* generated/nearest_r4.c: Remove.
938	* generated/nearest_r8.c: Remove.
939	* generated/rrspacing_r10.c: Remove.
940	* generated/rrspacing_r16.c: Remove.
941	* generated/rrspacing_r4.c: Remove.
942	* generated/rrspacing_r8.c: Remove.
943	* generated/set_exponent_r10.c: Remove.
944	* generated/set_exponent_r16.c: Remove.
945	* generated/set_exponent_r4.c: Remove.
946	* generated/set_exponent_r8.c: Remove.
947	* generated/spacing_r10.c: Remove.
948	* generated/spacing_r16.c: Remove.
949	* generated/spacing_r4.c: Remove.
950	* generated/spacing_r8.c: Remove.
951	* generated/transpose_c10.c: Remove.
952	* generated/transpose_c16.c: Remove.
953	* generated/transpose_c4.c: Remove.
954	* generated/transpose_c8.c: Remove.
955	* generated/transpose_i16.c: Remove.
956	* generated/transpose_i4.c: Remove.
957	* generated/transpose_i8.c: Remove.
958	* generated/transpose_r10.c: Remove.
959	* generated/transpose_r16.c: Remove.
960	* generated/transpose_r4.c: Remove.
961	* generated/transpose_r8.c: Remove.
962	* gfortran.map: Remove exponent, fraction, nearest, rrspacing,
963	set_exponent, spacing, transpose, malloc, free, transpose_generic,
964	store_exe_path.
965	* intrinsics/malloc.c: Remove.
966	* intrinsics/transpose_generic.c: Remove.
967	* libgfortran.h (store_exe_path): Remove.
968	* m4/exponent.m4: Remove.
969	* m4/fraction.m4: Remove.
970	* m4/nearest.m4: Remove.
971	* m4/rrspacing.m4: Remove.
972	* m4/set_exponent.m4: Remove.
973	* m4/spacing.m4: Remove.
974	* m4/transpose.m4: Remove.
975	* runtime/main.c (store_exe_path): Remove.
976
9772016-12-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
978
979	* intrinsics/chmod.c (chmod_internal): Fix case where mode_t is
980	different from unsigned int.
981
9822016-12-18  Dominique d'Humieres  <dominiq@lps.ens.fr>
983
984	PR fortran/78545
985	* intrinsics/date_and_time.c: Fix comments for GMTIME and LTIME.
986
9872016-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
988
989	PR fortran/78622
990	* io/transfer.c (get_dt_format): New static function to alloc
991	and set the DT iotype string, handling doubled quotes.
992	(formatted_transfer_scalar_read,
993	formatted_transfer_scalar_write): Use new function.
994
9952016-12-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
996
997	* configure.ac: Call GCC_CHECK_LINKER_HWCAP.
998	* Makefile.am (libgfortran_la_LDFLAGS): Add HWCAP_LDFLAGS.
999	* aclocal.m4: Regenerate.
1000	* configure: Regenerate.
1001	* Makefile.in: Regenerate.
1002
10032016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1004
1005	PR fortran/78379
1006	* Makefile.am:  Add dependence of m4/matmul_internal_m4 to
1007	mamtul files..
1008	* Makefile.in:  Regenerated.
1009	* acinclude.m4:  Check for AVX, AVX2 and AVX512F.
1010	* config.h.in:  Add HAVE_AVX, HAVE_AVX2 and HAVE_AVX512F.
1011	* configure:  Regenerated.
1012	* configure.ac:  Use checks for AVX, AVX2 and AVX_512F.
1013	* m4/matmul_internal.m4:  New file. working part of matmul.m4.
1014	* m4/matmul.m4:  Implement architecture-specific switching
1015	for AVX, AVX2 and AVX512F by including matmul_internal.m4
1016	multiple times.
1017	* generated/matmul_c10.c: Regenerated.
1018        * generated/matmul_c16.c: Regenerated.
1019        * generated/matmul_c4.c: Regenerated.
1020        * generated/matmul_c8.c: Regenerated.
1021        * generated/matmul_i1.c: Regenerated.
1022        * generated/matmul_i16.c: Regenerated.
1023        * generated/matmul_i2.c: Regenerated.
1024        * generated/matmul_i4.c: Regenerated.
1025        * generated/matmul_i8.c: Regenerated.
1026        * generated/matmul_r10.c: Regenerated.
1027        * generated/matmul_r16.c: Regenerated.
1028        * generated/matmul_r4.c: Regenerated.
1029        * generated/matmul_r8.c: Regenerated.
1030
10312016-11-30  Andre Vehreschild  <vehre@gcc.gnu.org>
1032
1033	* caf/single.c (_gfortran_caf_get_by_ref): Prevent compile time
1034	warning.
1035	(_gfortran_caf_send_by_ref): Same.
1036	(_gfortran_caf_is_present): Prevent fallthrough	warnings.
1037
10382016-11-30  Andre Vehreschild  <vehre@gcc.gnu.org>
1039
1040	* caf/libcaf.h: Add new action types for (de-)registration of
1041	allocatable components in derived type coarrays.  Add _caf_is_present
1042	prototype.
1043	* caf/single.c (_gfortran_caf_register): Add support for registration
1044	only and allocation of already registered allocatable components in
1045	derived type coarrays.
1046	(_gfortran_caf_deregister): Add mode to deallocate but not deregister
1047	an allocatable component in a derived type coarray.
1048	(_gfortran_caf_is_present): New function.  Query whether an
1049	allocatable component in a derived type coarray on a remote image is
1050	allocated.
1051
10522016-11-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1053
1054	PR libgfortran/51119
1055	* Makefile.am: Remove -fno-protect-parens -fstack-arrays.
1056	* Makefile.in: Regenerate.
1057
10582016-11-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1059
1060	PR libgfortran/78314
1061	* config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
1062
10632016-11-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1064	    Thomas Koenig  <tkoenig@gcc.gnu.org>
1065
1066	PR libgfortran/51119
1067	* Makefile.am: Add new optimization flags matmul.
1068	* Makefile.in: Regenerate.
1069	* m4/matmul.m4: For the case of all strides = 1, implement a
1070	fast blocked matrix multiply. Fix some whitespace.
1071	* generated/matmul_c10.c: Regenerate.
1072	* generated/matmul_c16.c: Regenerate.
1073	* generated/matmul_c4.c: Regenerate.
1074	* generated/matmul_c8.c: Regenerate.
1075	* generated/matmul_i1.c: Regenerate.
1076	* generated/matmul_i16.c: Regenerate.
1077	* generated/matmul_i2.c: Regenerate.
1078	* generated/matmul_i4.c: Regenerate.
1079	* generated/matmul_i8.c: Regenerate.
1080	* generated/matmul_r10.c: Regenerate.
1081	* generated/matmul_r16.c: Regenerate.
1082	* generated/matmul_r4.c: Regenerate.
1083	* generated/matmul_r8.c: Regenerate.
1084
10852016-11-15  Matthias Klose  <doko@ubuntu.com>
1086
1087	* configure: Regenerate.
1088
10892016-11-03  Fritz Reese <fritzoreese@gmail.com>
1090
1091	* io/io.h (IOPARM_DT_DEFAULT_EXP): New flag bit.
1092	* io/list_read.c (parse_real, read_real): Allow omission of exponent
1093	with IOPARM_DT_DEFAULT_EXP.
1094	* io/read.c (read_f): Ditto.
1095
10962016-10-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1097
1098	PR libgfortran/54679
1099	* io/format.c (parse_format_list): Adjust checks for FMT_L to
1100	treat a zero width as an extension, giving warnings or error
1101	as appropriate. Improve messages.
1102
11032016-10-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1104
1105	PR fortran/78123
1106	* io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
1107	only if we have tabbed to left of current position.
1108
11092016-10-26  Fritz Reese  <fritzoreese@gmail.com>
1110
1111	* libgfortran.h (IOPARM_OPEN_HAS_READONLY, IOPARM_OPEN_HAS_SHARE,
1112	IOPARM_OPEN_HAS_CC): New for READONLY, SHARE, and CARRIAGECONTROL.
1113	* io/close.c (st_close): Support READONLY.
1114	* io/io.h (st_parameter_open, unit_flags): Support SHARE,
1115	CARRIAGECONTROL, and READONLY.
1116	* io/open.c (st_open): Ditto.
1117	* io/transfer.c (data_transfer_init): Ditto.
1118	* io/io.h (st_parameter_dt): New member 'cc' for CARRIAGECONTROL.
1119	* io/write.c (write_check_cc, write_cc): New functions for
1120	CARRIAGECONTROL.
1121	* io/transfer.c (next_record_cc): Ditto.
1122	* io/file_pos.c (st_endfile): Support SHARE and CARRIAGECONTROL.
1123	* io/io.h (st_parameter_inquire): Ditto.
1124	* io/open.c (edit_modes, new_unit): Ditto.
1125	* io/inquire.c (inquire_via_unit, inquire_via_filename): Ditto.
1126	* io/io.h (unit_share, unit_cc, cc_fortran, IOPARM_INQUIRE_HAS_SHARE,
1127	IOPARM_INQUIRE_HAS_CC): New for SHARE and CARRIAGECONTROL.
1128	* io/open.c (share_opt, cc_opt): Ditto.
1129	* io/read.c (read_x): Support CARRIAGECONTROL.
1130	* io/transfer.c (read_sf, next_record_r, next_record_w): Ditto.
1131	* io/write.c (list_formatted_write_scalar, write_a): Ditto.
1132	* io/unix.h (close_share): New prototype.
1133	* io/unix.c (open_share, close_share): New functions to handle SHARE.
1134	* io/unix.c (open_external): Handle READONLY. Call open_share.
1135	* io/close.c (st_close): Call close_share.
1136
11372016-10-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1138
1139	PR fortran/77828
1140	* io/io.h (st_parameter_dt): Reorder for readability and sanity.
1141	* io/transfer.c (data_transfer_init): Remove TODO and enable the
1142	runtime error message, rec= specifier not allowed in STREAM
1143	access.
1144	* libtool-version: Bump major version of libgfortran to 4.
1145
11462016-10-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1147
1148	PR libfortran/78055
1149	* io/io.h (st_parameter_dt): Restore GFC_IO_INT to maintain
1150	alignment.
1151
11522016-10-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1153
1154	* io/transfer.c (finalize_transfer): Free format data in child
1155	procedures. (st_read_done, st_write_done): Don't free format
1156	hash table.
1157
11582016-10-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1159
1160	PR fortran/48298
1161	* io/io.h: Move size_used from dtp to unit structure. Add bool
1162	has_size to unit structure.
1163	* io/read.c (read_x): Use has_size and size_used.
1164	* io/transfer.c (read_sf_internal,read_sf,read_block_form,
1165	read_block_form4): Likewise.
1166	(data_transfer_init): If parent, initialize the size variables.
1167	(finalize_transfer): Set the size variable using size_used in
1168	gfc_unit. (write_block): Delete bogus/dead code.
1169
11702016-10-16  Janne Blomqvist  <jb@gcc.gnu.org>
1171
1172	PR libfortran/48587
1173	* io/transfer.c (data_transfer_init): Improve error message,
1174	remove redundant check.
1175
11762016-10-15  Janne Blomqvist  <jb@gcc.gnu.org>
1177
1178        PR libfortran/48587
1179        * io/io.h (get_unique_unit_number): Remove prototype.
1180        (newunit_alloc): New prototype.
1181        * io/open.c (st_open): Call newunit_alloc.
1182        * io/unit.c (newunits,newunit_size,newunit_lwi): New static
1183        variables.
1184        (GFC_FIRST_NEWUNIT): Rename to NEWUNIT_START.
1185        (next_available_newunit): Remove variable.
1186        (get_unit): Call newunit_alloc, don't try to create negative
1187        external unit.
1188        (close_unit_1): Call newunit_free.
1189        (close_units): Free newunits array.
1190        (get_unique_number): Remove function.
1191        (newunit_alloc): New function.
1192        (newunit_free): New function.
1193        * io/transfer.c (data_transfer_init): Check for invalid unit
1194        number.
1195
11962016-10-09  Janne Blomqvist  <jb@gcc.gnu.org>
1197
1198        PR libfortran/67585
1199        * io/io.h: TEMP_FAILURE_RETRY: Define macro if not found.
1200        * io/unix.c (raw_read): Handle EINTR.
1201        (raw_write): Check for return value -1.
1202        (raw_seek): Handle EINTR.
1203        (raw_tell): Likewise.
1204        (raw_size): Likewise.
1205        (raw_truncate): Likewise.
1206        (raw_close): Likewise.
1207        (buf_flush): Call raw_seek instead of lseek.
1208        (buf_read): Likewise.
1209        (buf_write): Likewise.
1210        (fd_to_stream): Handle EINTR.
1211        (tempfile_open): Likewise.
1212        (regular_file2): Likewise.
1213        (compare_file_filename): Likewise.
1214        (find_file): Likewise.
1215        (inquire_sequential): Likewise.
1216        (inquire_direct): Likewise.
1217        (inquire_formatted): Likewise.
1218
12192016-10-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1220
1221	PR fortran/77868
1222	* io/inquire.c (inquire_via_unit): NULL guard the check for
1223	internal unit passed into child IO procedure.
1224
12252016-10-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1226
1227	* io/inquire.c (inquire_via_unit): Add check for internal unit
1228	passed into child IO procedure.
1229
12302016-10-01  Andre Vehreschild  <vehre@gcc.gnu.org>
1231
1232	PR fortran/77663
1233	* caf/single.c (caf_internal_error): Fix not terminating va-list.
1234	(_gfortran_caf_register): Free memory also when other allocs failed.
1235	(_gfortran_caf_get_by_ref): Fixed style.
1236	(send_by_ref): Token is now stored at the correct position preventing
1237	inaccessible tokens, memory loss and possibly crashes.
1238
12392016-09-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1240
1241	PR libgfortran/77707
1242	io/transfer.c (next_record): Flush before calculating next_record.
1243	Correctly calculate.
1244
12452016-09-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1246
1247	PR libgfortran/48298
1248	* io/inquire.c (inquire_via_unit): Adjust error check for the
1249	two possible internal unit KINDs.
1250	* io/io.h: Adjust defines for is_internal_unit and
1251	is_char4_unit. (gfc_unit): Add internal unit data to structure.
1252	(get_internal_unit): Change declaration to set_internal_unit.
1253	(free_internal_unit): Change name to stash_internal_unit_number.
1254	(get_unique_unit_number): Adjust parameter argument.
1255	Define IOPARM_DT_HAS_UDTIO. (gfc_saved_unit): New structure.
1256	* io/list_read.c (next_char_internal): Use is_char4_unit.
1257	* io/open.c (st_open): Adjust call to get_unique_unit_number.
1258	* io/transfer.c (write_block): Use is_char4_unit.
1259	(data_transfer_init): Update check for unit numbers.
1260	(st_read_done): Free the various allocated memories used for the
1261	internal units and stash the negative unit number and pointer to unit
1262	structure to allow reuse. (st_write_done): Likewise stash the freed
1263	unit.
1264	* io/unit.c: Create a fixed size buffer of 16 gfc_saved_unit's to use
1265	as a stack to save newunit unit numbers and unit structure for reuse.
1266	(get_external_unit): Change name to get_gfc_unit to better
1267	reflect what it does. (find_unit): Change call to get_gfc_unit.
1268	(find_or_create_unit): Likewise. (get_internal_unit): Change
1269	name to set_internal_unit. Move internal unit from the dtp
1270	structure to the gfc_unit structure so that it can be passed to
1271	child I/O statements through the UNIT.
1272	(free_internal_unit): Change name to stash_internal_unit_number.
1273	Push the common.unit number onto the newunit stack, saving it
1274	for possible reuse later. (get_unit): Set the internal unit
1275	KIND. Use get_unique_unit_number to get a negative unit number
1276	for the internal unit. Use get_gfc_unit to get the unit structure
1277	and use set_internal_unit to initialize it.
1278	(init_units): Initialize the newunit stack.
1279	(get_unique_unit_number): Check the stack for an available unit
1280	number and use it. If none there get the next most negative
1281	number. (close_units): Free any unit structures pointed to from the save
1282	stack.
1283
12842016-09-21  Janne Blomqvist  <jb@gcc.gnu.org>
1285
1286	* intrinsics/random.c (getosrandom): Use rand_s() on
1287	MinGW-w64. Fix bounds overflow in fallback code.
1288
12892016-09-19  Andre Vehreschild  <vehre@gcc.gnu.org>
1290
1291	* caf/libcaf.h: Add caf_reference_type.
1292	* caf/mpi.c: Adapted signature of caf_register().
1293	* caf/single.c (struct caf_single_token): Added to keep the pointer
1294	to the memory registered and array descriptor.
1295	(caf_internal_error): Added convenience interface.
1296	(_gfortran_caf_register): Adapted to work with caf_single_token and
1297	return memory in the array descriptor.
1298	(_gfortran_caf_deregister): Same.
1299	(assign_char1_from_char4): Fixed style.
1300	(convert_type): Fixed incorrect conversion.
1301	(_gfortran_caf_get): Adapted to work with caf_single_token.
1302	(_gfortran_caf_send): Same.
1303	(_gfortran_caf_sendget): Same.
1304	(copy_data): Added to stop repeating it in all _by_ref functions.
1305	(get_for_ref): Recursive getting of coarray data using a chain of
1306	references.
1307	(_gfortran_caf_get_by_ref): Driver for computing the memory needed for
1308	the get and checking properties of the operation.
1309	(send_by_ref): Same as get_for_ref but for sending data.
1310	(_gfortran_caf_send_by_ref): Same like caf_get_by_ref but for sending.
1311	(_gfortran_caf_sendget_by_ref): Uses get_by_ref and send_by_ref to
1312	implement sendget for reference chains.
1313	(_gfortran_caf_atomic_define): Adapted to work with caf_single_token.
1314	(_gfortran_caf_atomic_ref): Likewise.
1315	(_gfortran_caf_atomic_cas): Likewise.
1316	(_gfortran_caf_atomic_op): Likewise.
1317	(_gfortran_caf_event_post): Likewise.
1318	(_gfortran_caf_event_wait): Likewise.
1319	(_gfortran_caf_event_query): Likewise.
1320	(_gfortran_caf_lock): Likewise.
1321	(_gfortran_caf_unlock): Likewise.
1322
13232016-09-09  Steven G. Kargl  <kargl@gcc.gnu.org>
1324
1325	PR fortran/77507
1326 	* ieee/ieee_arithmetic.F90 (IEEE_VALUE_4,IEEE_VALUE_8,IEEE_VALULE_10,
1327	IEEE_VALUE_16):  Use correct keyword.
1328
13292016-09-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1330
1331	PR libgfortran/77393
1332	* io/write_float.def (build_float_string): Recognize when the
1333	result will not fit in the user provided, star fill, and exit
1334	early.
1335
13362016-08-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1337
1338	PR libgfortran/77393
1339	* io/write.c (kind_from_size): New function to calculate required buffer
1340	size based on kind type. (select_buffer, select_string): Use new
1341	function. (write_float_0, write_real, write_real_g0, write_complex):
1342	Adjust calls to pass parameters needed by new function.
1343
13442016-08-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1345	Paul Thomas  <pault@gcc.gnu.org>
1346
1347	PR libgfortran/48298
1348	* gfortran.map : Flag _st_set_nml_dtio_var and
1349	_gfortran_transfer_derived.
1350	* io/format.c (format_lex): Detect DTIO formatting.
1351	(parse_format_list): Parse the DTIO format.
1352	(next_format): Include FMT_DT.
1353	* io/format.h : Likewise. Add structure 'udf' to structure
1354	'fnode' to carry the IOTYPE string and the 'vlist'.
1355	* io/io.h : Add prototypes for the two types of DTIO subroutine
1356	and a typedef for gfc_class. Also, add to 'namelist_type'
1357	fields for the pointer to the DTIO procedure and the vtable.
1358	Add fields to struct st_parameter_dt for pointers to the two
1359	types of DTIO subroutine. Add to gfc_unit DTIO specific fields.
1360	(internal_proto): Add prototype for 'read_user_defined' and
1361	'write_user_defined'.
1362	* io/list_read.c (check_buffers): Use the 'current_unit' field.
1363	(unget_char): Likewise.
1364	(eat_spaces): Likewise.
1365	(list_formatted_read_scalar): For case BT_CLASS, call the DTIO
1366	procedure.
1367	(nml_get_obj_data): Likewise when DTIO procedure is present,.
1368	* io/transfer.c : Export prototypes for 'transfer_derived' and
1369	'transfer_derived_write'.
1370	(unformatted_read): For case BT_CLASS, call the DTIO procedure.
1371	(unformatted_write): Likewise.
1372	(formatted_transfer_scalar_read): Likewise.
1373	(formatted_transfer_scalar_write: Likewise.
1374	(transfer_derived): New function.
1375	(data_transfer_init): Set last_char if no child_dtio.
1376	(finalize_transfer): Return if child_dtio set.
1377	(st_write_done): Add condition for child_dtio not set.
1378	Add extra arguments for st_set_nml_var prototype.
1379	(set_nml_var): New function that contains the contents of the
1380	old version of st_set_nml_var. Also sets the 'dtio_sub' and
1381	'vtable' fields of the 'nml' structure.
1382	(st_set_nml_var): Now just calls set_nml_var with 'dtio_sub'
1383	and 'vtable' NULL.
1384	(st_set_nml_dtio_var): New function that calls set_nml_var.
1385	* io/unit.c (get_external_unit): If the found unit child_dtio
1386	is non zero, don't do any mutex locking/unlocking.  Just
1387	return the unit.
1388	* io/unix.c (tempfile_open): Revert to C style comment.
1389	* io/write.c (list_formatted_write_scalar): Do the DTIO call.
1390	(nml_write_obj): Add BT_CLASS and do the DTIO call.
1391
13922016-08-29  Nathan Sidwell  <nathan@acm.org>
1393
1394	* configure.ac (nvptx-*): Hardwire newlib.
1395	* configure: Rebuilt.
1396
13972016-08-19  Janne Blomqvist  <jb@gcc.gnu.org>
1398
1399	* intrinsics/random.c (xor_keys): New array with "secret" keys.
1400	(scramble_seed): XOR given seed with xor_keys array rather than
1401	shuffling bytes.
1402	(unscramble_seed): Remove function.
1403	(random_seed_i4): Use new scramble_seed.
1404	(random_seed_i8): Likewise.
1405
14062016-08-19  Janne Blomqvist  <jb@gcc.gnu.org>
1407
1408	* intrinsics/random.c (master_init): New variable.
1409	(init_rand_state): Move below getosrandom (), maybe initialize
1410	master_state.
1411	(random_seed_i4): If called with no arguments, set master_init to
1412	false, and reinitialize. If called with PUT=, set master_init to
1413	true.
1414	(random_seed_i8): Likewise.
1415
14162016-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1417
1418	* intrinsics/random.c: Include <stdlib.h>.
1419
14202016-08-11  Janne Blomqvist  <jb@gcc.gnu.org>
1421
1422	* intrinsics/random.c: Replace KISS with xorshift1024* using
1423	per-thread state.
1424	* runtime/main.c (init): Don't call random_seed_i4.
1425
14262016-07-22  Andre Vehreschild  <vehre@gcc.gnu.org>
1427
1428	* caf/libcaf.h: Add parameter stat to caf_get() and
1429	caf_send()'s function prototypes.
1430	* caf/single.c (_gfortran_caf_get): Implement reporting
1431	error using stat instead of abort().
1432	(_gfortran_caf_send): Same.
1433	(_gfortran_caf_sendget): Use NULL for stat when calling
1434	caf_send().
1435
14362016-06-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1437
1438	PR libgfortran/48852
1439	* io/write.c: Cleaned up whitespace.
1440	(write_d, write_e, write_f, write_es, write_en): Use new helper
1441	function write_float_0.
1442	(write_float_0): New helper function.
1443	(get_precision, select_buffer, select_string, write_float_string): New
1444	helper functions used in remaining float writing functions.
1445	Helper function write_float_string now contains code for writing
1446	to kind=4 character internal units.
1447	(write_real): Modified to establish working buffers at this level
1448	and to 	use new helper functions.
1449	(write_real_g0): Likewise modified.
1450	(write_complex): Likewise modified. Gets both float strings before
1451	output so that final lengths can be determined which allows right
1452	justifying the complex number with no intervening spaces.
1453	* io/write_float.def (build_float_string): Renamed from previosly
1454	output_float, modified to use buffers passed in from higher functions,
1455	builds a null terminated string of the floating point value. Character
1456	kind=4 code eliminated.
1457	(write_infnan): Likewise modified to use incoming buffers and eliminate
1458	kind=4 related code.
1459	(OUTPUT_FLOAT_FMT_G): Deleted, functionality moved into FORMAT_FLOAT.
1460	(FORMAT_FLOAT): Renamed macro from WRITE_FLOAT. Use build_float_string.
1461	(get_float_string): Renamed from write_float, uses FORMAT_FLOAT macro.
1462	Buffer allocation removed, now at higher level.
1463
14642016-05-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1465
1466	PR libgfortran/71123
1467	* io/list_read (eat_spaces): Eat '\r' as part of spaces.
1468
14692016-04-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1470
1471	PR libgfortran/70684
1472	* io/list_read (check_buffers): Add '\r' to check for end of line.
1473
14742016-03-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1475	    Dominique d'Humieres  <dominiq@lps.ens.fr>
1476
1477	PR libgfortran/70235
1478	* io/write_float.def: Fix PF format for negative values of the scale
1479	factor.
1480
14812016-03-28  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
1482
1483	* caf/libcaf.h: caf_stop_numeric and caf_stop_str prototype.
1484	* caf/single.c: _gfortran_caf_stop_numeric and
1485	_gfortran_caf_stop_str implementation.
1486
14872016-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1488
1489	PR libgfortran/69456
1490	* io/list_read.c (read_real): If digit is missing from exponent issue
1491	an error. (parse_real): Likewise and adjusted error message to clarify
1492	it is part of a complex number.
1493	(nml_read_obj): Bump item count and add comment that this is used to
1494	identify which item in a namelist read has a problem.
1495
14962016-02-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1497
1498	PR libgfortran/69651
1499	* io/list_read.c (push_char4): Fix the pointer usage for xrealloc.
1500
15012016-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1502
1503	PR libgfortran/69651
1504	* io/list_read.c: Entire file trailing spaces removed.
1505	(CASE_SEPARATORS): Remove '!'.
1506	(is_separator): Add namelist mode as condition with '!'.
1507	(push_char): Remove un-needed memset. (push_char4): Likewise and remove
1508	'new' pointer. (eat_separator): Remove un-needed use of notify_std.
1509	(read_logical): If '!' bang encountered when not in namelist mode got
1510	bad_logical to give an error. (read_integer): Likewise reject '!'.
1511	(read_character): Remove condition testing c = '!' which is now inside
1512	the is_separator macro. (parse_real): Reject '!' unless in namelist mode.
1513	(read_complex): Reject '!' unless in namelist mode. (read_real): Likewise
1514	reject '!'.
1515
15162016-02-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1517
1518	PR libgfortran/69668
1519	* io/list_read.c (read_character): Remove code related to DELIM_NONE.
1520
15212016-01-23  John David Anglin  <danglin@gcc.gnu.org>
1522
1523	PR libfortran/68744
1524	* runtime/backtrace.c: Include gthr.h.
1525	(show_backtrace): Use __gthread_active_p() to determine whether threads
1526	are active.  Return if lbstate is NULL.
1527
15282016-01-15  Jakub Jelinek  <jakub@redhat.com>
1529
1530	* intrinsics/execute_command_line.c (set_cmdstat): Use "%s", msg
1531	instead of msg to avoid -Wformat-security warning.
1532
15332016-01-04  Jakub Jelinek  <jakub@redhat.com>
1534
1535	Update copyright years.
1536
1537Copyright (C) 2016 Free Software Foundation, Inc.
1538
1539Copying and distribution of this file, with or without modification,
1540are permitted in any medium without royalty provided the copyright
1541notice and this notice are preserved.
1542