12012-12-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3	PR libfortran/48976
4	* io/inquire.c (inquire_via_unit): Set user stream inquiry variable to
5	appropriate value based on unit access method. (inquire_via_filename):
6	Since filename is not associated with an open unit, set stream inquiry
7	to UNKNOWN.
8	* io/io.h: Define inquire stream parameters.
9
102012-12-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
11
12	PR libfortran/48960
13	* io/open.c (st_parameter_open):  Assign newunit number to user
14	variable only if the the associated open statement is successful.
15
162012-12-26  Janne Blomqvist  <jb@gcc.gnu.org>
17
18	PR fortran/55539
19	* io/write_float.def (output_float): Take into account decimal
20	dot.
21
222012-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
23
24	PR libfortran/30162
25	* io/unix.c (raw_tell):  If the lseek is done on a
26	non-seekable file, return 0.
27
282012-12-20  Janus Weil  <janus@gcc.gnu.org>
29
30	PR fortran/36044
31	* gfortran.map: Add _gfortran_backtrace.
32	* libgfortran.h: Rename 'show_backtrace' and export.
33	* runtime/backtrace.c (show_backtrace): Rename to 'backtrace'.
34	Don't show message. Close file descriptor. Export.
35	* runtime/compile_options.c (backtrace_handler): Renamed
36	'show_backtrace'. Move message outside.
37	* runtime/error.c (sys_abort): Ditto.
38
392012-12-19  Paul Thomas  <pault@gcc.gnu.org>
40
41	* intrinsics/extends_type_of.c : Return correct results for
42	null vptrs.
43
442012-12-03  Janus Weil  <janus@gcc.gnu.org>
45
46	PR fortran/55548
47	* intrinsics/system_clock.c (gf_gettime_mono): Add argument 'tck',
48	which returns the clock resolution.
49	(system_clock_4): Get resolution from gf_gettime_mono, but limit to
50	1000/s.
51	(system_clock_8): Get resolution from gf_gettime_mono.
52
532012-10-28  Tobias Burnus  <burnus@net-b.de>
54
55	 * m4/bessel.m4: Remove useless statement.
56	 * m4/ifunction.m4: Remove unreachable code.
57	 * generated/bessel_r10.c: Regenerated.
58	 * generated/bessel_r16.c: Regenerated.
59	 * generated/bessel_r4.c: Regenerated.
60	 * generated/bessel_r8.c: Regenerated.
61	 * generated/iall_i1.c: Regenerated.
62	 * generated/iall_i16.c: Regenerated.
63	 * generated/iall_i2.c: Regenerated.
64	 * generated/iall_i4.c: Regenerated.
65	 * generated/iall_i8.c: Regenerated.
66	 * generated/iany_i1.c: Regenerated.
67	 * generated/iany_i16.c: Regenerated.
68	 * generated/iany_i2.c: Regenerated.
69	 * generated/iany_i4.c: Regenerated.
70	 * generated/iany_i8.c: Regenerated.
71	 * generated/iparity_i1.c: Regenerated.
72	 * generated/iparity_i16.c: Regenerated.
73	 * generated/iparity_i2.c: Regenerated.
74	 * generated/iparity_i4.c: Regenerated.
75	 * generated/iparity_i8.c: Regenerated.
76	 * generated/maxloc1_16_i1.c: Regenerated.
77	 * generated/maxloc1_16_i16.c: Regenerated.
78	 * generated/maxloc1_16_i2.c: Regenerated.
79	 * generated/maxloc1_16_i4.c: Regenerated.
80	 * generated/maxloc1_16_i8.c: Regenerated.
81	 * generated/maxloc1_16_r10.c: Regenerated.
82	 * generated/maxloc1_16_r16.c: Regenerated.
83	 * generated/maxloc1_16_r4.c: Regenerated.
84	 * generated/maxloc1_16_r8.c: Regenerated.
85	 * generated/maxloc1_4_i1.c: Regenerated.
86	 * generated/maxloc1_4_i16.c: Regenerated.
87	 * generated/maxloc1_4_i2.c: Regenerated.
88	 * generated/maxloc1_4_i4.c: Regenerated.
89	 * generated/maxloc1_4_i8.c: Regenerated.
90	 * generated/maxloc1_4_r10.c: Regenerated.
91	 * generated/maxloc1_4_r16.c: Regenerated.
92	 * generated/maxloc1_4_r4.c: Regenerated.
93	 * generated/maxloc1_4_r8.c: Regenerated.
94	 * generated/maxloc1_8_i1.c: Regenerated.
95	 * generated/maxloc1_8_i16.c: Regenerated.
96	 * generated/maxloc1_8_i2.c: Regenerated.
97	 * generated/maxloc1_8_i4.c: Regenerated.
98	 * generated/maxloc1_8_i8.c: Regenerated.
99	 * generated/maxloc1_8_r10.c: Regenerated.
100	 * generated/maxloc1_8_r16.c: Regenerated.
101	 * generated/maxloc1_8_r4.c: Regenerated.
102	 * generated/maxloc1_8_r8.c: Regenerated.
103	 * generated/maxval_i1.c: Regenerated.
104	 * generated/maxval_i16.c: Regenerated.
105	 * generated/maxval_i2.c: Regenerated.
106	 * generated/maxval_i4.c: Regenerated.
107	 * generated/maxval_i8.c: Regenerated.
108	 * generated/maxval_r10.c: Regenerated.
109	 * generated/maxval_r16.c: Regenerated.
110	 * generated/maxval_r4.c: Regenerated.
111	 * generated/maxval_r8.c: Regenerated.
112	 * generated/minloc1_16_i1.c: Regenerated.
113	 * generated/minloc1_16_i16.c: Regenerated.
114	 * generated/minloc1_16_i2.c: Regenerated.
115	 * generated/minloc1_16_i4.c: Regenerated.
116	 * generated/minloc1_16_i8.c: Regenerated.
117	 * generated/minloc1_16_r10.c: Regenerated.
118	 * generated/minloc1_16_r16.c: Regenerated.
119	 * generated/minloc1_16_r4.c: Regenerated.
120	 * generated/minloc1_16_r8.c: Regenerated.
121	 * generated/minloc1_4_i1.c: Regenerated.
122	 * generated/minloc1_4_i16.c: Regenerated.
123	 * generated/minloc1_4_i2.c: Regenerated.
124	 * generated/minloc1_4_i4.c: Regenerated.
125	 * generated/minloc1_4_i8.c: Regenerated.
126	 * generated/minloc1_4_r10.c: Regenerated.
127	 * generated/minloc1_4_r16.c: Regenerated.
128	 * generated/minloc1_4_r4.c: Regenerated.
129	 * generated/minloc1_4_r8.c: Regenerated.
130	 * generated/minloc1_8_i1.c: Regenerated.
131	 * generated/minloc1_8_i16.c: Regenerated.
132	 * generated/minloc1_8_i2.c: Regenerated.
133	 * generated/minloc1_8_i4.c: Regenerated.
134	 * generated/minloc1_8_i8.c: Regenerated.
135	 * generated/minloc1_8_r10.c: Regenerated.
136	 * generated/minloc1_8_r16.c: Regenerated.
137	 * generated/minloc1_8_r4.c: Regenerated.
138	 * generated/minloc1_8_r8.c: Regenerated.
139	 * generated/minval_i1.c: Regenerated.
140	 * generated/minval_i16.c: Regenerated.
141	 * generated/minval_i2.c: Regenerated.
142	 * generated/minval_i4.c: Regenerated.
143	 * generated/minval_i8.c: Regenerated.
144	 * generated/minval_r10.c: Regenerated.
145	 * generated/minval_r16.c: Regenerated.
146	 * generated/minval_r4.c: Regenerated.
147	 * generated/minval_r8.c: Regenerated.
148	 * generated/product_c10.c: Regenerated.
149	 * generated/product_c16.c: Regenerated.
150	 * generated/product_c4.c: Regenerated.
151	 * generated/product_c8.c: Regenerated.
152	 * generated/product_i1.c: Regenerated.
153	 * generated/product_i16.c: Regenerated.
154	 * generated/product_i2.c: Regenerated.
155	 * generated/product_i4.c: Regenerated.
156	 * generated/product_i8.c: Regenerated.
157	 * generated/product_r10.c: Regenerated.
158	 * generated/product_r16.c: Regenerated.
159	 * generated/product_r4.c: Regenerated.
160	 * generated/product_r8.c: Regenerated.
161	 * generated/sum_c10.c: Regenerated.
162	 * generated/sum_c16.c: Regenerated.
163	 * generated/sum_c4.c: Regenerated.
164	 * generated/sum_c8.c: Regenerated.
165	 * generated/sum_i1.c: Regenerated.
166	 * generated/sum_i16.c: Regenerated.
167	 * generated/sum_i2.c: Regenerated.
168	 * generated/sum_i4.c: Regenerated.
169	 * generated/sum_i8.c: Regenerated.
170	 * generated/sum_r10.c: Regenerated.
171	 * generated/sum_r16.c: Regenerated.
172	 * generated/sum_r4.c: Regenerated.
173	 * generated/sum_r8.c: Regenerated.
174
1752012-10-10  Tobias Burnus  <burnus@net-b.de>
176
177	PR fortran/54878
178	* io/unix.c (tempfile_open): Set umask before calling mkstemp.
179
1802012-10-06  Janne Blomqvist  <jb@gcc.gnu.org>
181
182	* configure.ac: Check for presence of secure_getenv.
183	* libgfortran.h: Use HAVE_SECURE_GETENV.
184	* Makefile.in: Regenerated.
185	* aclocal.m4: Regenerated.
186	* config.h.in: Regenerated.
187	* configure: Regenerated.
188
1892012-10-06  Thomas König  <tkoenig@gcc.gnu.org>
190
191	PR libfortran/54736
192	* runtime/environ.c (search_unit):  Correct logic
193	for binary search.
194	(mark_single):  Fix index errors.
195
1962012-09-29  Thomas König  <tkoenig@gcc.gnu.org>
197
198	PR fortran/52724
199	* list_read.c (next_char):  Handle kind=4 characters.
200	* unix.c (open_internal4):  Correct lenth of internal file.
201
2022012-09-14  David Edelsohn  <dje.gcc@gmail.com>
203
204	* configure: Regenerated.
205
2062012-09-05  Uros Bizjak  <ubizjak@gmail.com>
207
208	* config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.
209
2102012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
211
212	* io/list_read.c (list_formatted_read_scalar): Fix copying real
213	value back to temporary.
214
2152012-06-21  Janne Blomqvist  <jb@gcc.gnu.org>
216
217	PR fortran/39654
218	* io/intrinsics.c (ftell2): New function.
219	* gfortran.map (_gfortran_ftell2): Export function.
220
2212012-06-04  Robert Mason  <rbmj@verizon.net>
222	    Janne Blomqvist  <jb@gcc.gnu.org>
223
224	PR fortran/53456
225	* intrinsics/time_1.h (gf_cputime): Fix typo in clock_gettime branch.
226
2272012-06-01  Tobias Burnus  <burnus@net-b.de>
228
229	* intrinsics/chmod.c (chmod_func): On MinGW, don't set is_dir and
230	fix octal-mode handling.
231	* io/unit.c (get_internal_unit): Add cast.
232	* io/unix.c (min): Undef "min" before defining it.
233	* runtime/backtrace.c (show_backtrace): Move label into
234	ifndef __MINGW__ block.
235
2362012-05-31  Benjamin Kosnik  <bkoz@redhat.com>
237
238	PR libstdc++/51007
239	* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
240	* configure: Regenerated.
241
2422012-05-31  Tobias Burnus  <burnus@net-b.de>
243
244	Revert:
245	2012-05-16  Tobias Burnus  <burnus@net-b.de>
246
247	* io/unix.c (tempfile_open): Pass mode to "open" for O_CREAT.
248
2492012-05-30  Tobias Burnus  <burnus@net-b.de>
250
251	* io/io.h: Fix comment typos.
252	* io/list_read.c: Ditto.
253
2542012-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
255
256	* intrinsics/time_1.h (gf_cputime): Don't reevaluate HZ expression
257	for times fallback, clarify operation ordering for times and clock
258	fallbacks.
259	(gf_gettime): Fix comment typo.
260
2612012-05-24  Janne Blomqvist  <jb@gcc.gnu.org>
262
263	PR fortran/53456
264	* intrinsics/time_1.h (gf_cputime): Fallback for clock_gettime.
265
2662012-05-23  Janne Blomqvist  <jb@gcc.gnu.org>
267
268	PR fortran/53456
269	* intrinsics/time_1.h (gf_gettime): Fallback for clock_gettime.
270
2712012-05-23  Robert Mason  <rbmj@verizon.net>
272	    Tobias Burnus  <burnus@net-b.de>
273
274	PR libfortran/53445
275	* intrinsics/chmod.c (chmod_func): Ignore S_ISVTX on VxWorks.
276
2772012-05-23  Tobias Burnus  <burnus@net-b.de>
278
279	PR libfortran/53444
280	* acinclude.m4 (LIBGFOR_CHECK_STRERROR_R): Add configure checks for
281	two- and three-argument versions of strerror_r.
282	* configure.ac (LIBGFOR_CHECK_STRERROR_R): Use it.
283	* runtime/error.c (gf_strerror): Handle two-argument version
284	of strerror_r.
285	* config.h.in: Regenerate.
286	* configure: Regenerate.
287
2882012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
289
290	* configure: Regenerated.
291
2922012-05-16  Tobias Burnus  <burnus@net-b.de>
293
294	* io/unix.c (tempfile_open): Pass mode to "open" for O_CREAT.
295
2962012-05-14  Janne Blomqvist  <jb@gcc.gnu.org>
297
298	PR fortran/52428
299	* io/io.h (max_value): Rename to si_max, remove second argument.
300	* io/list_read.c (convert_integer): Use unsigned types when
301	parsing the digits, set max value depending on the sign.
302	* io/read.c (max_value): Rename to si_max, remove second argument,
303	simplify.
304	(read_decimal): Set max value depending on sign, always check
305	overflow.
306	(read_radix): Calculate max unsigned value directly.
307	* libgfortran.h (struct compile_options_t): Remove range_check
308	field.
309	* runtime/compile_options.c (set_options): Skip handling
310	options[7].
311	(init_compile_options): Don't set removed field.
312
3132012-05-11  Tobias Burnus  <burnus@net-b.de>
314
315	PR fortran/53310
316	* intrinsics/eoshift2.c (eoshift2): Do not leak
317	memory by allocating it in the loop.
318
3192012-05-05  Janne Blomqvist  <jb@gcc.gnu.org>
320
321	* config.h.in: Regenerated.
322	* configure: Regenerated.
323	* configure.ac: Add checks for getegid and __secure_getenv.
324	* io/unix.c (P_tmpdir): Fallback definition for macro.
325	(tempfile_open): New function.
326	(tempfile): Use secure_getenv, call tempfile_open to try each
327	directory in turn.
328	* libgfortran.h (DEFAULT_TMPDIR): Remove macro.
329	(secure_getenv): New macro/prototype.
330	* runtime/environ.c (secure_getenv): New function.
331	(variable_table): Rename GFORTRAN_TMPDIR to TMPDIR.
332	* runtime/main.c (find_addr2line): Use secure_getenv.
333
3342012-04-22  Tobias Burnus  <burnus@net-b.de>
335
336	PR fortran/53051
337	* io/list_read.c (parse_real): Support "q" for the
338	exponential.
339	* io/read.c (read_f): Ditto.
340
3412012-04-17  Tobias Burnus  <burnus@net-b.de>
342
343	PR libfortran/38199
344	PR libfortran/50673
345	* io/unit.c (get_internal_unit): Properly check for the presence
346	of the format string.
347
3482012-04-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
349
350	PR libfortran/38199
351	PR libfortran/50673
352	* intrinsics/string_intriniscs_inc.c (string_len_trim):
353	Remove prototypes for string_len_trim and move to...
354	* libgfortran.h (string_len_trim): ... here and
355	(string_len_trim_char4): ...here.
356	* io/unit.c: For non-array internal arrays where we do reading,
357	adjust the record length to the last non-blank character.
358	* io/unix.c:  Fix typo.
359
3602012-04-10  Michael Matz  <matz@suse.de>
361
362	* m4/cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo.
363
364	* generated/cshift0_c10.c: Regenerated.
365	* generated/cshift0_c16.c: Regenerated.
366	* generated/cshift0_c4.c: Regenerated.
367	* generated/cshift0_c8.c: Regenerated.
368	* generated/cshift0_i16.c: Regenerated.
369	* generated/cshift0_i1.c: Regenerated.
370	* generated/cshift0_i2.c: Regenerated.
371	* generated/cshift0_i4.c: Regenerated.
372	* generated/cshift0_i8.c: Regenerated.
373	* generated/cshift0_r10.c: Regenerated.
374	* generated/cshift0_r16.c: Regenerated.
375	* generated/cshift0_r4.c: Regenerated.
376	* generated/cshift0_r8.c: Regenerated.
377
3782012-04-04  Tristan Gingold  <gingold@adacore.com>
379
380	* libgfortran.h: Include complex.h before math.h
381
3822012-04-02  Tristan Gingold  <gingold@adacore.com>
383
384	* configure.ac: Use new version of GCC_CHECK_MATH_FUNC.
385	* configure: Regenerate
386	* config.h.in: Regenerate.
387
3882012-03-30  Uros Bizjak  <ubizjak@gmail.com>
389
390	PR libgfortran/52758
391	* intrinsics/chmod.c (chmod_func): Remove out-of-bounds
392	initialization of rwxXstugo.
393
3942012-03-27  Tristan Gingold  <gingold@adacore.com>
395
396	* configure.ac: Add description to AC_DEFINE in
397	GCC_CHECK_MATH_FUNC.
398	* configure: Regenerate
399	* config.h.in: Regenerate.
400
4012012-03-26  Janne Blomqvist  <jb@gcc.gnu.org>
402
403	* runtime/memory.c (get_mem): Rename to xmalloc, check for zero
404	size.
405	(internal_malloc_size): Remove.
406	* libgfortran.h (get_mem): Rename to xmalloc.
407	(internal_malloc_size): Remove prototype.
408	* Makefile.am (i_iall_c): Fix dependency.
409	(i_iany_c): Likewise.
410	(i_iparity_c): Likewise.
411	(i_norm2_c): Likewise.
412	(i_parity_c): Likewise.
413	* Makefile.in: Regenerated.
414	* m4/parity.m4: Fix typo in comment.
415	* generated/all_l1.c: Regenerated.
416	* generated/all_l16.c: Regenerated.
417	* generated/all_l2.c: Regenerated.
418	* generated/all_l4.c: Regenerated.
419	* generated/all_l8.c: Regenerated.
420	* generated/any_l1.c: Regenerated.
421	* generated/any_l16.c: Regenerated.
422	* generated/any_l2.c: Regenerated.
423	* generated/any_l4.c: Regenerated.
424	* generated/any_l8.c: Regenerated.
425	* generated/bessel_r10.c: Regenerated.
426	* generated/bessel_r16.c: Regenerated.
427	* generated/bessel_r4.c: Regenerated.
428	* generated/bessel_r8.c: Regenerated.
429	* generated/count_16_l.c: Regenerated.
430	* generated/count_1_l.c: Regenerated.
431	* generated/count_2_l.c: Regenerated.
432	* generated/count_4_l.c: Regenerated.
433	* generated/count_8_l.c: Regenerated.
434	* generated/cshift1_16.c: Regenerated.
435	* generated/cshift1_4.c: Regenerated.
436	* generated/cshift1_8.c: Regenerated.
437	* generated/eoshift1_16.c: Regenerated.
438	* generated/eoshift1_4.c: Regenerated.
439	* generated/eoshift1_8.c: Regenerated.
440	* generated/eoshift3_16.c: Regenerated.
441	* generated/eoshift3_4.c: Regenerated.
442	* generated/eoshift3_8.c: Regenerated.
443	* generated/iall_i1.c: Regenerated.
444	* generated/iall_i16.c: Regenerated.
445	* generated/iall_i2.c: Regenerated.
446	* generated/iall_i4.c: Regenerated.
447	* generated/iall_i8.c: Regenerated.
448	* generated/iany_i1.c: Regenerated.
449	* generated/iany_i16.c: Regenerated.
450	* generated/iany_i2.c: Regenerated.
451	* generated/iany_i4.c: Regenerated.
452	* generated/iany_i8.c: Regenerated.
453	* generated/in_pack_c10.c: Regenerated.
454	* generated/in_pack_c16.c: Regenerated.
455	* generated/in_pack_c4.c: Regenerated.
456	* generated/in_pack_c8.c: Regenerated.
457	* generated/in_pack_i1.c: Regenerated.
458	* generated/in_pack_i16.c: Regenerated.
459	* generated/in_pack_i2.c: Regenerated.
460	* generated/in_pack_i4.c: Regenerated.
461	* generated/in_pack_i8.c: Regenerated.
462	* generated/in_pack_r10.c: Regenerated.
463	* generated/in_pack_r16.c: Regenerated.
464	* generated/in_pack_r4.c: Regenerated.
465	* generated/in_pack_r8.c: Regenerated.
466	* generated/iparity_i1.c: Regenerated.
467	* generated/iparity_i16.c: Regenerated.
468	* generated/iparity_i2.c: Regenerated.
469	* generated/iparity_i4.c: Regenerated.
470	* generated/iparity_i8.c: Regenerated.
471	* generated/matmul_c10.c: Regenerated.
472	* generated/matmul_c16.c: Regenerated.
473	* generated/matmul_c4.c: Regenerated.
474	* generated/matmul_c8.c: Regenerated.
475	* generated/matmul_i1.c: Regenerated.
476	* generated/matmul_i16.c: Regenerated.
477	* generated/matmul_i2.c: Regenerated.
478	* generated/matmul_i4.c: Regenerated.
479	* generated/matmul_i8.c: Regenerated.
480	* generated/matmul_l16.c: Regenerated.
481	* generated/matmul_l4.c: Regenerated.
482	* generated/matmul_l8.c: Regenerated.
483	* generated/matmul_r10.c: Regenerated.
484	* generated/matmul_r16.c: Regenerated.
485	* generated/matmul_r4.c: Regenerated.
486	* generated/matmul_r8.c: Regenerated.
487	* generated/maxloc0_16_i1.c: Regenerated.
488	* generated/maxloc0_16_i16.c: Regenerated.
489	* generated/maxloc0_16_i2.c: Regenerated.
490	* generated/maxloc0_16_i4.c: Regenerated.
491	* generated/maxloc0_16_i8.c: Regenerated.
492	* generated/maxloc0_16_r10.c: Regenerated.
493	* generated/maxloc0_16_r16.c: Regenerated.
494	* generated/maxloc0_16_r4.c: Regenerated.
495	* generated/maxloc0_16_r8.c: Regenerated.
496	* generated/maxloc0_4_i1.c: Regenerated.
497	* generated/maxloc0_4_i16.c: Regenerated.
498	* generated/maxloc0_4_i2.c: Regenerated.
499	* generated/maxloc0_4_i4.c: Regenerated.
500	* generated/maxloc0_4_i8.c: Regenerated.
501	* generated/maxloc0_4_r10.c: Regenerated.
502	* generated/maxloc0_4_r16.c: Regenerated.
503	* generated/maxloc0_4_r4.c: Regenerated.
504	* generated/maxloc0_4_r8.c: Regenerated.
505	* generated/maxloc0_8_i1.c: Regenerated.
506	* generated/maxloc0_8_i16.c: Regenerated.
507	* generated/maxloc0_8_i2.c: Regenerated.
508	* generated/maxloc0_8_i4.c: Regenerated.
509	* generated/maxloc0_8_i8.c: Regenerated.
510	* generated/maxloc0_8_r10.c: Regenerated.
511	* generated/maxloc0_8_r16.c: Regenerated.
512	* generated/maxloc0_8_r4.c: Regenerated.
513	* generated/maxloc0_8_r8.c: Regenerated.
514	* generated/maxloc1_16_i1.c: Regenerated.
515	* generated/maxloc1_16_i16.c: Regenerated.
516	* generated/maxloc1_16_i2.c: Regenerated.
517	* generated/maxloc1_16_i4.c: Regenerated.
518	* generated/maxloc1_16_i8.c: Regenerated.
519	* generated/maxloc1_16_r10.c: Regenerated.
520	* generated/maxloc1_16_r16.c: Regenerated.
521	* generated/maxloc1_16_r4.c: Regenerated.
522	* generated/maxloc1_16_r8.c: Regenerated.
523	* generated/maxloc1_4_i1.c: Regenerated.
524	* generated/maxloc1_4_i16.c: Regenerated.
525	* generated/maxloc1_4_i2.c: Regenerated.
526	* generated/maxloc1_4_i4.c: Regenerated.
527	* generated/maxloc1_4_i8.c: Regenerated.
528	* generated/maxloc1_4_r10.c: Regenerated.
529	* generated/maxloc1_4_r16.c: Regenerated.
530	* generated/maxloc1_4_r4.c: Regenerated.
531	* generated/maxloc1_4_r8.c: Regenerated.
532	* generated/maxloc1_8_i1.c: Regenerated.
533	* generated/maxloc1_8_i16.c: Regenerated.
534	* generated/maxloc1_8_i2.c: Regenerated.
535	* generated/maxloc1_8_i4.c: Regenerated.
536	* generated/maxloc1_8_i8.c: Regenerated.
537	* generated/maxloc1_8_r10.c: Regenerated.
538	* generated/maxloc1_8_r16.c: Regenerated.
539	* generated/maxloc1_8_r4.c: Regenerated.
540	* generated/maxloc1_8_r8.c: Regenerated.
541	* generated/maxval_i1.c: Regenerated.
542	* generated/maxval_i16.c: Regenerated.
543	* generated/maxval_i2.c: Regenerated.
544	* generated/maxval_i4.c: Regenerated.
545	* generated/maxval_i8.c: Regenerated.
546	* generated/maxval_r10.c: Regenerated.
547	* generated/maxval_r16.c: Regenerated.
548	* generated/maxval_r4.c: Regenerated.
549	* generated/maxval_r8.c: Regenerated.
550	* generated/minloc0_16_i1.c: Regenerated.
551	* generated/minloc0_16_i16.c: Regenerated.
552	* generated/minloc0_16_i2.c: Regenerated.
553	* generated/minloc0_16_i4.c: Regenerated.
554	* generated/minloc0_16_i8.c: Regenerated.
555	* generated/minloc0_16_r10.c: Regenerated.
556	* generated/minloc0_16_r16.c: Regenerated.
557	* generated/minloc0_16_r4.c: Regenerated.
558	* generated/minloc0_16_r8.c: Regenerated.
559	* generated/minloc0_4_i1.c: Regenerated.
560	* generated/minloc0_4_i16.c: Regenerated.
561	* generated/minloc0_4_i2.c: Regenerated.
562	* generated/minloc0_4_i4.c: Regenerated.
563	* generated/minloc0_4_i8.c: Regenerated.
564	* generated/minloc0_4_r10.c: Regenerated.
565	* generated/minloc0_4_r16.c: Regenerated.
566	* generated/minloc0_4_r4.c: Regenerated.
567	* generated/minloc0_4_r8.c: Regenerated.
568	* generated/minloc0_8_i1.c: Regenerated.
569	* generated/minloc0_8_i16.c: Regenerated.
570	* generated/minloc0_8_i2.c: Regenerated.
571	* generated/minloc0_8_i4.c: Regenerated.
572	* generated/minloc0_8_i8.c: Regenerated.
573	* generated/minloc0_8_r10.c: Regenerated.
574	* generated/minloc0_8_r16.c: Regenerated.
575	* generated/minloc0_8_r4.c: Regenerated.
576	* generated/minloc0_8_r8.c: Regenerated.
577	* generated/minloc1_16_i1.c: Regenerated.
578	* generated/minloc1_16_i16.c: Regenerated.
579	* generated/minloc1_16_i2.c: Regenerated.
580	* generated/minloc1_16_i4.c: Regenerated.
581	* generated/minloc1_16_i8.c: Regenerated.
582	* generated/minloc1_16_r10.c: Regenerated.
583	* generated/minloc1_16_r16.c: Regenerated.
584	* generated/minloc1_16_r4.c: Regenerated.
585	* generated/minloc1_16_r8.c: Regenerated.
586	* generated/minloc1_4_i1.c: Regenerated.
587	* generated/minloc1_4_i16.c: Regenerated.
588	* generated/minloc1_4_i2.c: Regenerated.
589	* generated/minloc1_4_i4.c: Regenerated.
590	* generated/minloc1_4_i8.c: Regenerated.
591	* generated/minloc1_4_r10.c: Regenerated.
592	* generated/minloc1_4_r16.c: Regenerated.
593	* generated/minloc1_4_r4.c: Regenerated.
594	* generated/minloc1_4_r8.c: Regenerated.
595	* generated/minloc1_8_i1.c: Regenerated.
596	* generated/minloc1_8_i16.c: Regenerated.
597	* generated/minloc1_8_i2.c: Regenerated.
598	* generated/minloc1_8_i4.c: Regenerated.
599	* generated/minloc1_8_i8.c: Regenerated.
600	* generated/minloc1_8_r10.c: Regenerated.
601	* generated/minloc1_8_r16.c: Regenerated.
602	* generated/minloc1_8_r4.c: Regenerated.
603	* generated/minloc1_8_r8.c: Regenerated.
604	* generated/minval_i1.c: Regenerated.
605	* generated/minval_i16.c: Regenerated.
606	* generated/minval_i2.c: Regenerated.
607	* generated/minval_i4.c: Regenerated.
608	* generated/minval_i8.c: Regenerated.
609	* generated/minval_r10.c: Regenerated.
610	* generated/minval_r16.c: Regenerated.
611	* generated/minval_r4.c: Regenerated.
612	* generated/minval_r8.c: Regenerated.
613	* generated/norm2_r10.c: Regenerated.
614	* generated/norm2_r16.c: Regenerated.
615	* generated/norm2_r4.c: Regenerated.
616	* generated/norm2_r8.c: Regenerated.
617	* generated/pack_c10.c: Regenerated.
618	* generated/pack_c16.c: Regenerated.
619	* generated/pack_c4.c: Regenerated.
620	* generated/pack_c8.c: Regenerated.
621	* generated/pack_i1.c: Regenerated.
622	* generated/pack_i16.c: Regenerated.
623	* generated/pack_i2.c: Regenerated.
624	* generated/pack_i4.c: Regenerated.
625	* generated/pack_i8.c: Regenerated.
626	* generated/pack_r10.c: Regenerated.
627	* generated/pack_r16.c: Regenerated.
628	* generated/pack_r4.c: Regenerated.
629	* generated/pack_r8.c: Regenerated.
630	* generated/parity_l1.c: Regenerated.
631	* generated/parity_l16.c: Regenerated.
632	* generated/parity_l2.c: Regenerated.
633	* generated/parity_l4.c: Regenerated.
634	* generated/parity_l8.c: Regenerated.
635	* generated/product_c10.c: Regenerated.
636	* generated/product_c16.c: Regenerated.
637	* generated/product_c4.c: Regenerated.
638	* generated/product_c8.c: Regenerated.
639	* generated/product_i1.c: Regenerated.
640	* generated/product_i16.c: Regenerated.
641	* generated/product_i2.c: Regenerated.
642	* generated/product_i4.c: Regenerated.
643	* generated/product_i8.c: Regenerated.
644	* generated/product_r10.c: Regenerated.
645	* generated/product_r16.c: Regenerated.
646	* generated/product_r4.c: Regenerated.
647	* generated/product_r8.c: Regenerated.
648	* generated/reshape_c10.c: Regenerated.
649	* generated/reshape_c16.c: Regenerated.
650	* generated/reshape_c4.c: Regenerated.
651	* generated/reshape_c8.c: Regenerated.
652	* generated/reshape_i16.c: Regenerated.
653	* generated/reshape_i4.c: Regenerated.
654	* generated/reshape_i8.c: Regenerated.
655	* generated/reshape_r10.c: Regenerated.
656	* generated/reshape_r16.c: Regenerated.
657	* generated/reshape_r4.c: Regenerated.
658	* generated/reshape_r8.c: Regenerated.
659	* generated/shape_i16.c: Regenerated.
660	* generated/shape_i4.c: Regenerated.
661	* generated/shape_i8.c: Regenerated.
662	* generated/spread_c10.c: Regenerated.
663	* generated/spread_c16.c: Regenerated.
664	* generated/spread_c4.c: Regenerated.
665	* generated/spread_c8.c: Regenerated.
666	* generated/spread_i1.c: Regenerated.
667	* generated/spread_i16.c: Regenerated.
668	* generated/spread_i2.c: Regenerated.
669	* generated/spread_i4.c: Regenerated.
670	* generated/spread_i8.c: Regenerated.
671	* generated/spread_r10.c: Regenerated.
672	* generated/spread_r16.c: Regenerated.
673	* generated/spread_r4.c: Regenerated.
674	* generated/spread_r8.c: Regenerated.
675	* generated/sum_c10.c: Regenerated.
676	* generated/sum_c16.c: Regenerated.
677	* generated/sum_c4.c: Regenerated.
678	* generated/sum_c8.c: Regenerated.
679	* generated/sum_i1.c: Regenerated.
680	* generated/sum_i16.c: Regenerated.
681	* generated/sum_i2.c: Regenerated.
682	* generated/sum_i4.c: Regenerated.
683	* generated/sum_i8.c: Regenerated.
684	* generated/sum_r10.c: Regenerated.
685	* generated/sum_r16.c: Regenerated.
686	* generated/sum_r4.c: Regenerated.
687	* generated/sum_r8.c: Regenerated.
688	* generated/transpose_c10.c: Regenerated.
689	* generated/transpose_c16.c: Regenerated.
690	* generated/transpose_c4.c: Regenerated.
691	* generated/transpose_c8.c: Regenerated.
692	* generated/transpose_i16.c: Regenerated.
693	* generated/transpose_i4.c: Regenerated.
694	* generated/transpose_i8.c: Regenerated.
695	* generated/transpose_r10.c: Regenerated.
696	* generated/transpose_r16.c: Regenerated.
697	* generated/transpose_r4.c: Regenerated.
698	* generated/transpose_r8.c: Regenerated.
699	* generated/unpack_c10.c: Regenerated.
700	* generated/unpack_c16.c: Regenerated.
701	* generated/unpack_c4.c: Regenerated.
702	* generated/unpack_c8.c: Regenerated.
703	* generated/unpack_i1.c: Regenerated.
704	* generated/unpack_i16.c: Regenerated.
705	* generated/unpack_i2.c: Regenerated.
706	* generated/unpack_i4.c: Regenerated.
707	* generated/unpack_i8.c: Regenerated.
708	* generated/unpack_r10.c: Regenerated.
709	* generated/unpack_r16.c: Regenerated.
710	* generated/unpack_r4.c: Regenerated.
711	* generated/unpack_r8.c: Regenerated.
712	* intrinsics/cshift0.c: Use xmalloc.
713	* intrinsics/ctime.c: Likewise.
714	* intrinsics/date_and_time.c: Likewise.
715	* intrinsics/eoshift0.c: Likewise.
716	* intrinsics/eoshift2.c: Likewise.
717	* intrinsics/getlog.c: Likewise.
718	* intrinsics/pack_generic.c: Likewise.
719	* intrinsics/reshape_generic.c: Likewise.
720	* intrinsics/spread_generic.c: Likewise.
721	* intrinsics/string_intrinsics_inc.c: Likewise.
722	* intrinsics/transpose_generic.c: Likewise.
723	* intrinsics/unpack_generic.c: Likewise.
724	* io/fbuf.c: Likewise.
725	* io/format.c: Likewise.
726	* io/intrinsics.c: Likewise.
727	* io/list_read.c: Likewise.
728	* io/open.c: Likewise.
729	* io/transfer.c: Likewise.
730	* io/unit.c: Likewise.
731	* io/unix.c: Likewise.
732	* io/write.c: Likewise.
733	* m4/bessel.m4: Likewise.
734	* m4/cshift1.m4: Likewise.
735	* m4/eoshift1.m4: Likewise.
736	* m4/eoshift3.m4: Likewise.
737	* m4/iforeach.m4: Likewise.
738	* m4/ifunction.m4: Likewise.
739	* m4/ifunction_logical.m4: Likewise.
740	* m4/in_pack.m4: Likewise.
741	* m4/matmul.m4: Likewise.
742	* m4/matmull.m4: Likewise.
743	* m4/pack.m4: Likewise.
744	* m4/reshape.m4: Likewise.
745	* m4/shape.m4: Likewise.
746	* m4/spread.m4: Likewise.
747	* m4/transpose.m4: Likewise.
748	* m4/unpack.m4: Likewise.
749	* runtime/convert_char.c: Likewise.
750	* runtime/environ.c: Likewise.
751	* runtime/in_pack_generic.c: Likewise.
752
7532012-03-26  Tristan Gingold  <gingold@adacore.com>
754
755	* configure.ac: Use GCC_CHECK_MATH_FUNC for math functions.
756	* acinclude.m4: Include ../config/math.m4
757	* configure: Regenerate.
758	* Makefile.in: Regenerate.
759
7602012-03-25  Janne Blomqvist  <jb@gcc.gnu.org>
761
762	* runtime/memory.c (xcalloc): New function.
763	* libgfortran.h (xcalloc): New prototype.
764	* io/list_read.c (push_char): Use xcalloc instead of get_mem and
765	memset.
766	(l_push_char): Likewise.
767	* io/unit.c (insert_unit): Likewise.
768	(get_internal_unit): Likewise.
769	* io/unix.c (open_internal): Likewise.
770	(open_internal4): Likewise.
771	(fd_to_stream): Likewise.
772
7732012-03-17  Janne Blomqvist  <jb@gcc.gnu.org>
774
775	PR libfortran/52608
776	* io/write_float.def (output_float): Move removal of initial zeros
777	until after the scale factor has been applied.
778
7792012-03-16  Janne Blomqvist  <jb@gcc.gnu.org>
780
781	* io/unix.h (struct stream): Rename to stream_vtable.
782	(struct stream): New struct definition.
783	(sread): Dereference vtable pointer.
784	(swrite): Likewise.
785	(sseek): Likewise.
786	(struncate): Likewise.
787	(sflush): Likewise.
788	(sclose): Likewise.
789	* io/unix.c (raw_vtable): New variable.
790	(buf_vtable): Likewise.
791	(mem_vtable): Likewise.
792	(mem4_vtable): Likewise.
793	(raw_init): Assign vtable pointer.
794	(buf_init): Likewise.
795	(open_internal): Likewise.
796	(open_internal4): Likewise.
797
7982012-03-15  Janne Blomqvist  <jb@gcc.gnu.org>
799
800	PR libfortran/52434
801	PR libfortran/48878
802	PR libfortran/38199
803	* io/unit.c (get_internal_unit): Default to ROUND_UNSPECIFIED.
804	(init_units): Likewise.
805	* io/write_float.def (determine_precision): New function.
806	(output_float): Take into account buffer with %f format, no need
807	for our own rounding if unspecified or processor specified
808	rounding.
809	(DTOA): Simplify format string, add parameters.
810	(FDTOA): New macros similar to DTOA, but using %f format.
811	(OUTPUT_FLOAT_FMT_G): Stack allocate newf, determine correct
812	precision and fill buffer.
813	(EN_PREC): New macro.
814	(determine_en_precision): New function.
815	(WRITE_FLOAT): For G format, move buffer filling into
816	output_float_FMT_G, use FDTOA for F format.
817	(write_float): Increase buffer due to F format.
818
8192012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
820
821	* intrinsics/c99_functions.c [__sgi__ && !HAVE_COMPLEX_H]: Remove.
822
8232012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
824
825	* configure.ac: Remove Tru64 reference.
826	* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove alpha*-dec-osf*
827	handling.
828	* configure: Regenerate.
829	* intrinsics/c99_functions.c [__osf__]: Remove.
830
8312012-03-10  Tobias Burnus  <burnus@net-b.de>
832
833	* libgfortran.h (descriptor_dimension, GFC_DIMENSION_LBOUND,
834	GFC_DIMENSION_EXTENT, GFC_DIMENSION_SET, GFC_DESCRIPTOR_DATA,
835	GFC_ARRAY_DESCRIPTOR): Rename _lbound to lower_bound and
836	data to base_addr.
837	* intrinsics/cshift0.c (size0, cshift0): Handle data to
838	base_addr rename.
839	* intrinsics/date_and_time.c (date_and_time, secnds, itime_i4,
840	itime_i8, gmtime_i4, gmtime_i8, ltime_i4, ltime_i8): Ditto.
841	* intrinsics/dtime.c (dtime_sub): Ditto.
842	* intrinsics/eoshift0.c (eoshift0): Ditto.
843	* intrinsics/eoshift2.c (eoshift2): Ditto.
844	* intrinsics/etime.c (etime_sub): Ditto.
845	* intrinsics/iso_c_binding.c (c_f_pointer_u0): Ditto.
846	* intrinsics/move_alloc.c (move_alloc): Ditto.
847	* intrinsics/pack_generic.c (pack_internal, pack,
848	pack_s_internal): Ditto.
849	* intrinsics/random.c (arandom_r4, arandom_r8, arandom_r10,
850	arandom_r16, random_seed_i4, random_seed_i8): Ditto.
851	* intrinsics/reshape_generic.c (reshape_internal): Ditto.
852	* intrinsics/spread_generic.c (spread_internal,
853	spread_internal_scalar, spread, spread_scalar): Ditto.
854	* intrinsics/stat.c (stat_i4_sub_0, stat_i8_sub_0, fstat_i4_sub,
855	fstat_i8_sub): Ditto.
856	* intrinsics/transpose_generic.c (transpose_internal): Ditto.
857	* intrinsics/unpack_generic.c (unpack_bounds, unpack_internal,
858	unpack1, unpack0, unpack0_char4): Ditto.
859	* m4/bessel.m4 (bessel_jn_r'rtype_kind`, bessel_yn_r'rtype_kind`):
860	Ditto.
861	* m4/cshift0.m4 (cshift0_'rtype_code`): Ditto.
862	* m4/cshift1.m4 (cshift1): Ditto.
863	* m4/eoshift1.m4 (eoshift1): Ditto.
864	* m4/eoshift3.m4 (eoshift3): Ditto.
865	* m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto.
866	* m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto.
867	* m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto.
868	* m4/in_pack.m4 (internal_pack_'rtype_ccode`): Ditto.
869	* m4/in_unpack.m4 (internal_unpack_'rtype_ccode`): Ditto.
870	* m4/matmul.m4 (matmul_'rtype_code`): Ditto.
871	* m4/matmull.m4 (matmul_'rtype_code`): Ditto.
872	* m4/pack.m4 (pack_'rtype_code`): Ditto.
873	* m4/reshape.m4 (reshape_'rtype_ccode`): Ditto.
874	* m4/shape.m4 (shape_'rtype_kind`): Ditto.
875	* m4/spread.m4 (spread_'rtype_code`): Ditto.
876	* m4/transpose.m4 (transpose_'rtype_code`): Ditto.
877	* m4/unpack.m4 (unpack0_'rtype_code`, unpack1_'rtype_code`): Ditto.
878	* runtime/bounds.c (count_0): Ditto.
879	* runtime/in_pack_generic.c (internal_pack): Ditto.
880	* runtime/in_unpack_generic.c (internal_unpack): Ditto.
881	* generated/cshift0_r4.c: Regenerated.
882	* generated/unpack_r8.c: Regenerated.
883	* generated/cshift0_c10.c: Regenerated.
884	* generated/in_unpack_i1.c: Regenerated.
885	* generated/eoshift1_16.c: Regenerated.
886	* generated/iany_i16.c: Regenerated.
887	* generated/reshape_i4.c: Regenerated.
888	* generated/parity_l16.c: Regenerated.
889	* generated/in_unpack_r16.c: Regenerated.
890	* generated/iparity_i1.c: Regenerated.
891	* generated/minloc0_16_r10.c: Regenerated.
892	* generated/minloc1_16_i8.c: Regenerated.
893	* generated/bessel_r8.c: Regenerated.
894	* generated/maxloc0_4_i8.c: Regenerated.
895	* generated/maxloc1_8_i1.c: Regenerated.
896	* generated/sum_c10.c: Regenerated.
897	* generated/maxloc0_8_r10.c: Regenerated.
898	* generated/unpack_r16.c: Regenerated.
899	* generated/maxloc1_16_i1.c: Regenerated.
900	* generated/minloc1_4_i1.c: Regenerated.
901	* generated/unpack_i4.c: Regenerated.
902	* generated/in_pack_i1.c: Regenerated.
903	* generated/cshift0_i1.c: Regenerated.
904	* generated/minloc0_16_i4.c: Regenerated.
905	* generated/minloc1_8_r8.c: Regenerated.
906	* generated/maxval_r8.c: Regenerated.
907	* generated/unpack_i2.c: Regenerated.
908	* generated/matmul_r16.c: Regenerated.
909	* generated/maxloc0_16_r8.c: Regenerated.
910	* generated/maxloc1_8_i16.c: Regenerated.
911	* generated/maxloc0_4_r4.c: Regenerated.
912	* generated/pack_c10.c: Regenerated.
913	* generated/in_unpack_c8.c: Regenerated.
914	* generated/maxloc1_8_i8.c: Regenerated.
915	* generated/in_pack_c16.c: Regenerated.
916	* generated/parity_l1.c: Regenerated.
917	* generated/in_pack_i2.c: Regenerated.
918	* generated/maxloc0_4_r8.c: Regenerated.
919	* generated/pack_r4.c: Regenerated.
920	* generated/matmul_r8.c: Regenerated.
921	* generated/pack_i1.c: Regenerated.
922	* generated/minloc0_16_r16.c: Regenerated.
923	* generated/cshift0_c8.c: Regenerated.
924	* generated/minloc1_4_i16.c: Regenerated.
925	* generated/minloc0_4_r4.c: Regenerated.
926	* generated/product_i2.c: Regenerated.
927	* generated/maxval_r10.c: Regenerated.
928	* generated/minloc0_16_r8.c: Regenerated.
929	* generated/in_pack_i8.c: Regenerated.
930	* generated/all_l8.c: Regenerated.
931	* generated/minloc0_8_i16.c: Regenerated.
932	* generated/minloc1_8_i2.c: Regenerated.
933	* generated/matmul_l8.c: Regenerated.
934	* generated/spread_r10.c: Regenerated.
935	* generated/product_c4.c: Regenerated.
936	* generated/reshape_r16.c: Regenerated.
937	* generated/cshift0_i16.c: Regenerated.
938	* generated/minloc1_8_r10.c: Regenerated.
939	* generated/iparity_i8.c: Regenerated.
940	* generated/minloc0_16_i8.c: Regenerated.
941	* generated/minloc1_8_i1.c: Regenerated.
942	* generated/maxloc0_16_r10.c: Regenerated.
943	* generated/maxloc1_8_i4.c: Regenerated.
944	* generated/maxloc0_16_i8.c: Regenerated.
945	* generated/maxloc1_16_i16.c: Regenerated.
946	* generated/reshape_i8.c: Regenerated.
947	* generated/all_l16.c: Regenerated.
948	* generated/cshift1_8.c: Regenerated.
949	* generated/matmul_c10.c: Regenerated.
950	* generated/pack_r16.c: Regenerated.
951	* generated/transpose_r10.c: Regenerated.
952	* generated/maxloc1_16_i2.c: Regenerated.
953	* generated/minloc1_4_r4.c: Regenerated.
954	* generated/reshape_r8.c: Regenerated.
955	* generated/product_r10.c: Regenerated.
956	* generated/spread_c10.c: Regenerated.
957	* generated/reshape_r4.c: Regenerated.
958	* generated/in_unpack_i4.c: Regenerated.
959	* generated/minval_r4.c: Regenerated.
960	* generated/minloc1_16_r16.c: Regenerated.
961	* generated/norm2_r8.c: Regenerated.
962	* generated/iany_i2.c: Regenerated.
963	* generated/eoshift3_8.c: Regenerated.
964	* generated/maxloc1_16_r8.c: Regenerated.
965	* generated/maxloc0_16_r16.c: Regenerated.
966	* generated/cshift0_i8.c: Regenerated.
967	* generated/all_l1.c: Regenerated.
968	* generated/minloc1_16_r10.c: Regenerated.
969	* generated/spread_i16.c: Regenerated.
970	* generated/minloc1_8_r16.c: Regenerated.
971	* generated/spread_r16.c: Regenerated.
972	* generated/matmul_c8.c: Regenerated.
973	* generated/pack_r10.c: Regenerated.
974	* generated/reshape_r10.c: Regenerated.
975	* generated/sum_r10.c: Regenerated.
976	* generated/count_8_l.c: Regenerated.
977	* generated/minloc1_16_i16.c: Regenerated.
978	* generated/maxloc0_16_i2.c: Regenerated.
979	* generated/count_1_l.c: Regenerated.
980	* generated/unpack_c16.c: Regenerated.
981	* generated/any_l8.c: Regenerated.
982	* generated/minloc1_16_i1.c: Regenerated.
983	* generated/sum_r4.c: Regenerated.
984	* generated/in_unpack_r8.c: Regenerated.
985	* generated/product_r8.c: Regenerated.
986	* generated/in_unpack_r4.c: Regenerated.
987	* generated/unpack_i1.c: Regenerated.
988	* generated/cshift0_r8.c: Regenerated.
989	* generated/spread_i2.c: Regenerated.
990	* generated/minloc1_4_r10.c: Regenerated.
991	* generated/minloc1_16_i2.c: Regenerated.
992	* generated/minloc0_16_i2.c: Regenerated.
993	* generated/eoshift3_16.c: Regenerated.
994	* generated/maxloc0_8_i4.c: Regenerated.
995	* generated/maxloc1_16_r10.c: Regenerated.
996	* generated/maxloc1_4_i16.c: Regenerated.
997	* generated/maxloc1_4_r8.c: Regenerated.
998	* generated/parity_l2.c: Regenerated.
999	* generated/maxloc0_16_i16.c: Regenerated.
1000	* generated/product_r4.c: Regenerated.
1001	* generated/in_unpack_r10.c: Regenerated.
1002	* generated/maxloc1_8_i2.c: Regenerated.
1003	* generated/iparity_i2.c: Regenerated.
1004	* generated/maxloc1_8_r4.c: Regenerated.
1005	* generated/maxloc1_8_r8.c: Regenerated.
1006	* generated/iall_i4.c: Regenerated.
1007	* generated/maxloc0_4_i16.c: Regenerated.
1008	* generated/cshift0_i4.c: Regenerated.
1009	* generated/in_unpack_c10.c: Regenerated.
1010	* generated/unpack_c8.c: Regenerated.
1011	* generated/transpose_c8.c: Regenerated.
1012	* generated/in_unpack_c16.c: Regenerated.
1013	* generated/product_c16.c: Regenerated.
1014	* generated/minval_r8.c: Regenerated.
1015	* generated/minloc0_4_i1.c: Regenerated.
1016	* generated/minloc0_8_r16.c: Regenerated.
1017	* generated/in_unpack_i16.c: Regenerated.
1018	* generated/reshape_c16.c: Regenerated.
1019	* generated/pack_i4.c: Regenerated.
1020	* generated/minval_r10.c: Regenerated.
1021	* generated/maxloc0_4_r10.c: Regenerated.
1022	* generated/unpack_i8.c: Regenerated.
1023	* generated/minloc1_16_r8.c: Regenerated.
1024	* generated/pack_c16.c: Regenerated.
1025	* generated/maxval_r4.c: Regenerated.
1026	* generated/spread_r8.c: Regenerated.
1027	* generated/minloc0_16_r4.c: Regenerated.
1028	* generated/maxval_i4.c: Regenerated.
1029	* generated/matmul_r4.c: Regenerated.
1030	* generated/product_c8.c: Regenerated.
1031	* generated/maxloc1_4_i4.c: Regenerated.
1032	* generated/any_l4.c: Regenerated.
1033	* generated/cshift0_r16.c: Regenerated.
1034	* generated/maxloc1_16_r4.c: Regenerated.
1035	* generated/in_pack_r10.c: Regenerated.
1036	* generated/iall_i1.c: Regenerated.
1037	* generated/product_i1.c: Regenerated.
1038	* generated/maxloc0_4_i1.c: Regenerated.
1039	* generated/maxloc0_8_r16.c: Regenerated.
1040	* generated/minloc1_8_i16.c: Regenerated.
1041	* generated/reshape_c10.c: Regenerated.
1042	* generated/matmul_l4.c: Regenerated.
1043	* generated/cshift0_c16.c: Regenerated.
1044	* generated/spread_r4.c: Regenerated.
1045	* generated/sum_r16.c: Regenerated.
1046	* generated/in_unpack_c4.c: Regenerated.
1047	* generated/maxval_i8.c: Regenerated.
1048	* generated/maxloc0_8_r8.c: Regenerated.
1049	* generated/unpack_i16.c: Regenerated.
1050	* generated/norm2_r4.c: Regenerated.
1051	* generated/maxloc1_4_r16.c: Regenerated.
1052	* generated/in_pack_r4.c: Regenerated.
1053	* generated/sum_c8.c: Regenerated.
1054	* generated/parity_l8.c: Regenerated.
1055	* generated/minval_i2.c: Regenerated.
1056	* generated/transpose_c10.c: Regenerated.
1057	* generated/cshift0_r10.c: Regenerated.
1058	* generated/cshift0_i2.c: Regenerated.
1059	* generated/spread_c4.c: Regenerated.
1060	* generated/maxval_r16.c: Regenerated.
1061	* generated/unpack_c10.c: Regenerated.
1062	* generated/bessel_r4.c: Regenerated.
1063	* generated/minloc0_8_i1.c: Regenerated.
1064	* generated/product_c10.c: Regenerated.
1065	* generated/minloc1_4_i4.c: Regenerated.
1066	* generated/minloc1_4_i2.c: Regenerated.
1067	* generated/transpose_c4.c: Regenerated.
1068	* generated/in_pack_c8.c: Regenerated.
1069	* generated/minval_i8.c: Regenerated.
1070	* generated/maxloc1_4_i2.c: Regenerated.
1071	* generated/maxloc1_4_i1.c: Regenerated.
1072	* generated/iall_i8.c: Regenerated.
1073	* generated/iany_i8.c: Regenerated.
1074	* generated/sum_c16.c: Regenerated.
1075	* generated/spread_i8.c: Regenerated.
1076	* generated/sum_i8.c: Regenerated.
1077	* generated/pack_i2.c: Regenerated.
1078	* generated/unpack_r10.c: Regenerated.
1079	* generated/minloc0_4_i4.c: Regenerated.
1080	* generated/iany_i4.c: Regenerated.
1081	* generated/maxloc0_4_i4.c: Regenerated.
1082	* generated/in_pack_r8.c: Regenerated.
1083	* generated/spread_i1.c: Regenerated.
1084	* generated/maxval_i16.c: Regenerated.
1085	* generated/pack_c8.c: Regenerated.
1086	* generated/iparity_i16.c: Regenerated.
1087	* generated/matmul_c16.c: Regenerated.
1088	* generated/eoshift1_8.c: Regenerated.
1089	* generated/any_l16.c: Regenerated.
1090	* generated/maxloc1_4_i8.c: Regenerated.
1091	* generated/minloc0_8_r4.c: Regenerated.
1092	* generated/transpose_c16.c: Regenerated.
1093	* generated/reshape_c4.c: Regenerated.
1094	* generated/minloc0_8_r8.c: Regenerated.
1095	* generated/count_16_l.c: Regenerated.
1096	* generated/minloc0_16_i1.c: Regenerated.
1097	* generated/minloc1_16_r4.c: Regenerated.
1098	* generated/maxloc0_8_i1.c: Regenerated.
1099	* generated/matmul_i1.c: Regenerated.
1100	* generated/sum_i2.c: Regenerated.
1101	* generated/cshift1_4.c: Regenerated.
1102	* generated/minloc0_4_i2.c: Regenerated.
1103	* generated/bessel_r10.c: Regenerated.
1104	* generated/matmul_c4.c: Regenerated.
1105	* generated/parity_l4.c: Regenerated.
1106	* generated/in_unpack_i2.c: Regenerated.
1107	* generated/product_i16.c: Regenerated.
1108	* generated/maxloc0_16_i4.c: Regenerated.
1109	* generated/minloc0_4_r10.c: Regenerated.
1110	* generated/transpose_i16.c: Regenerated.
1111	* generated/matmul_l16.c: Regenerated.
1112	* generated/any_l1.c: Regenerated.
1113	* generated/minval_r16.c: Regenerated.
1114	* generated/shape_i16.c: Regenerated.
1115	* generated/in_pack_c4.c: Regenerated.
1116	* generated/minloc1_8_r4.c: Regenerated.
1117	* generated/iany_i1.c: Regenerated.
1118	* generated/matmul_i16.c: Regenerated.
1119	* generated/maxloc0_16_r4.c: Regenerated.
1120	* generated/spread_c8.c: Regenerated.
1121	* generated/product_i8.c: Regenerated.
1122	* generated/minloc1_8_i4.c: Regenerated.
1123	* generated/product_i4.c: Regenerated.
1124	* generated/minval_i16.c: Regenerated.
1125	* generated/pack_r8.c: Regenerated.
1126	* generated/matmul_r10.c: Regenerated.
1127	* generated/shape_i8.c: Regenerated.
1128	* generated/eoshift1_4.c: Regenerated.
1129	* generated/minloc1_16_i4.c: Regenerated.
1130	* generated/transpose_r16.c: Regenerated.
1131	* generated/spread_c16.c: Regenerated.
1132	* generated/maxloc0_8_i16.c: Regenerated.
1133	* generated/minval_i1.c: Regenerated.
1134	* generated/sum_i4.c: Regenerated.
1135	* generated/in_pack_r16.c: Regenerated.
1136	* generated/iall_i16.c: Regenerated.
1137	* generated/minloc0_8_r10.c: Regenerated.
1138	* generated/maxloc0_8_i8.c: Regenerated.
1139	* generated/transpose_i4.c: Regenerated.
1140	* generated/maxloc0_4_i2.c: Regenerated.
1141	* generated/iall_i2.c: Regenerated.
1142	* generated/maxloc0_8_r4.c: Regenerated.
1143	* generated/minloc0_4_r16.c: Regenerated.
1144	* generated/minloc1_4_r8.c: Regenerated.
1145	* generated/minloc0_4_i8.c: Regenerated.
1146	* generated/minval_i4.c: Regenerated.
1147	* generated/minloc1_8_i8.c: Regenerated.
1148	* generated/in_pack_i16.c: Regenerated.
1149	* generated/spread_i4.c: Regenerated.
1150	* generated/cshift0_c4.c: Regenerated.
1151	* generated/minloc0_4_i16.c: Regenerated.
1152	* generated/sum_r8.c: Regenerated.
1153	* generated/minloc0_16_i16.c: Regenerated.
1154	* generated/sum_i1.c: Regenerated.
1155	* generated/all_l2.c: Regenerated.
1156	* generated/sum_c4.c: Regenerated.
1157	* generated/shape_i4.c: Regenerated.
1158	* generated/maxval_i1.c: Regenerated.
1159	* generated/norm2_r10.c: Regenerated.
1160	* generated/unpack_c4.c: Regenerated.
1161	* generated/maxloc0_16_i1.c: Regenerated.
1162	* generated/all_l4.c: Regenerated.
1163	* generated/maxloc1_16_i8.c: Regenerated.
1164	* generated/sum_i16.c: Regenerated.
1165	* generated/maxloc1_8_r16.c: Regenerated.
1166	* generated/minloc1_4_r16.c: Regenerated.
1167	* generated/maxloc1_16_r16.c: Regenerated.
1168	* generated/transpose_i8.c: Regenerated.
1169	* generated/minloc0_8_i2.c: Regenerated.
1170	* generated/product_r16.c: Regenerated.
1171	* generated/in_pack_c10.c: Regenerated.
1172	* generated/maxloc0_4_r16.c: Regenerated.
1173	* generated/pack_c4.c: Regenerated.
1174	* generated/bessel_r16.c: Regenerated.
1175	* generated/norm2_r16.c: Regenerated.
1176	* generated/in_unpack_i8.c: Regenerated.
1177	* generated/maxloc1_16_i4.c: Regenerated.
1178	* generated/minloc1_4_i8.c: Regenerated.
1179	* generated/eoshift3_4.c: Regenerated.
1180	* generated/maxloc1_8_r10.c: Regenerated.
1181	* generated/matmul_i8.c: Regenerated.
1182	* generated/matmul_i4.c: Regenerated.
1183	* generated/reshape_i16.c: Regenerated.
1184	* generated/matmul_i2.c: Regenerated.
1185	* generated/transpose_r8.c: Regenerated.
1186	* generated/transpose_r4.c: Regenerated.
1187	* generated/cshift1_16.c: Regenerated.
1188	* generated/maxloc1_4_r10.c: Regenerated.
1189	* generated/iparity_i4.c: Regenerated.
1190	* generated/in_pack_i4.c: Regenerated.
1191	* generated/maxloc0_8_i2.c: Regenerated.
1192	* generated/unpack_r4.c: Regenerated.
1193	* generated/count_4_l.c: Regenerated.
1194	* generated/maxloc1_4_r4.c: Regenerated.
1195	* generated/minloc0_8_i8.c: Regenerated.
1196	* generated/any_l2.c: Regenerated.
1197	* generated/minloc0_8_i4.c: Regenerated.
1198	* generated/pack_i8.c: Regenerated.
1199	* generated/count_2_l.c: Regenerated.
1200	* generated/reshape_c8.c: Regenerated.
1201	* generated/maxval_i2.c: Regenerated.
1202	* generated/minloc0_4_r8.c: Regenerated.
1203
12042012-01-20  Tobias Burnus  <burnus@net-b.de>
1205
1206	PR libgfortran/51899
1207	* configure.ac: Check whether umask is available.
1208	* intrinsics/chmod.c (chmod_func): Make compile with MinGW.
1209	* configure: Regenerate.
1210	* config.h.in: Regenerate.
1211
12122012-01-12  Tobias Burnus  <burnus@net-b.de>
1213
1214	PR fortran/36755
1215	* intrinsics/chmod.c (chmod_func): Replace call to /bin/chmod
1216
12172012-01-12  Janne Blomqvist  <jb@gcc.gnu.org>
1218
1219	* configure.ac: Remove check for fdopen.
1220	* runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for
1221	fdopen.
1222	* configure: Regenerated.
1223	* config.h.in: Regenerated.
1224
12252012-01-12  Janne Blomqvist  <jb@gcc.gnu.org>
1226	    Tobias Burnus  <burnus@net-b.de>
1227
1228	PR libfortran/51803
1229	* runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or
1230	is not available.
1231
12322012-01-11  Tobias Burnus  <burnus@net-b.de>
1233
1234	* runtime/main.c (store_exe_path): Fix absolute path
1235	detection for Windows.
1236
12372012-01-11  Janne Blomqvist  <jb@gcc.gnu.org>
1238	    Mike Stump  <mikestump@comcast.net>
1239
1240	PR libfortran/51803
1241	* runtime/main.c (store_exe_path): Handle getcwd failure and lack
1242	of the function better.
1243
12442012-01-10  Tobias Burnus  <burnus@net-b.de>
1245
1246	PR fortran/51197
1247	* runtime/compile_options.c (show_signal): List
1248	more signals.
1249
12502012-01-09  Harald Anlauf  <anlauf@gmx.de>
1251	    Tobias Burnus  <burnus@net-b.de>
1252
1253	PR fortran/51197
1254	* runtime/backtrace.c (show_backtrace): Modify wording written
1255	before the backtrace.
1256	* runtime/compile_options.c (show_signal): New function.
1257	(backtrace_handler): Use it.
1258
12592012-01-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1260
1261	* Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc.
1262	* Makefile.in: Regenerate.
1263
12642012-01-06  Tobias Burnus <burnus@net-b.de>
1265
1266	* caf/single.c (_gfortran_caf_register, _gfortran_caf_deregister):
1267	Fix token handling.
1268	* caf/mpi.c  (_gfortran_caf_register, _gfortran_caf_deregister): Ditto.
1269	* caf/libcaf.h (STAT_STOPPED_IMAGE): Sync with libgfortran.h.
1270	(_gfortran_caf_register, _gfortran_caf_deregister): Update prototype.
1271
1272Copyright (C) 2012 Free Software Foundation, Inc.
1273
1274Copying and distribution of this file, with or without modification,
1275are permitted in any medium without royalty provided the copyright
1276notice and this notice are preserved.
1277