OSDN Git Service

2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2009-11-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3         PR libgfortran/42090
4         * io/transfer.c (skip_record): Set bytes_left_subrecord to zero after
5         skipping the remaining bytes in the record.
6         (next_record_r): Call skip_record with the number of bytes_left to be
7         skipped.
8
9 2009-11-02  Janne Blomqvist  <jb@gcc.gnu.org>
10
11         * Makefile.am (gfor_io_headers): Add fbuf.h, format.h, unix.h.
12         * Makefile.in: Regenerated.
13         * io/fbuf.h: New file.
14         * io/format.h: New file.
15         * io/unix.h: New file.
16         * io/io.h (struct stream): Move to unix.h, add forward declaration.
17         (sread): Likewise.
18         (swrite): Likewise.
19         (sseek): Likewise.
20         (stell): Likewise.
21         (struncate): Likewise.
22         (sflush): Likewise.
23         (sflush): Likewise.
24         (sclose): Likewise.
25         (compared_files): Move prototype to unix.h.
26         (open_external): Likewise.
27         (open_internal): Likewise.
28         (mem_alloc_w): Likewise.
29         (mem_alloc_r): Likewise.
30         (input_stream): Likewise.
31         (output_stream): Likewise.
32         (error_stream): Likewise.
33         (compare_file_filename): Likewise.
34         (find_file): Likewise.
35         (delete_file): Likewise.
36         (file_exists): Likewise.
37         (inquire_sequential): Likewise.
38         (inquire_direct): Likewise.
39         (inquire_formatted): Likewise.
40         (inquire_unformatted): Likewise.
41         (inquire_read): Likewise.
42         (inquire_write): Likewise.
43         (inquire_readwrite): Likewise.
44         (file_length): Likewise.
45         (is_seekable): Likewise.
46         (is_special): Likewise.
47         (flush_if_preconnected): Likewise.
48         (empty_internal_buffer): Likewise.
49         (stream_isatty): Likewise.
50         (stream_ttyname): Likewise.
51         (unpack_filename): Likewise.
52         (struct fbuf): Move to fbuf.h, add forward declaration.
53         (fbuf_init): Move prototype to fbuf.h.
54         (fbuf_destroy): Likewise.
55         (fbuf_reset): Likewise.
56         (fbuf_alloc): Likewise.
57         (fbuf_flush): Likewise.
58         (fbuf_seek): Likewise.
59         (fbuf_read): Likewise.
60         (fbuf_getc_refill): Likewise.
61         (fbuf_getc): Move inline function to fbuf.h.
62         (enum format_token): Move to format.h.
63         (struct fnode): Move to format.h, add forward declaration.
64         (parse_format): Move prototype to format.h.
65         (next_format): Likewise.
66         (unget_format): Likewise.
67         (format_error): Likewise.
68         (free_format_data): Likewise.
69         (free_format_hash_table): Likewise.
70         (init_format_hash): Likewise.
71         (free_format_hash): Likewise.
72         * io/close.c: Include unix.h.
73         * io/fbuf.c: Include fbuf.h and unix.h.
74         * io/file_pos.c: Include fbuf.h and unix.h.
75         * io/format.c: Include format.h.
76         * io/inquire.c: Include unix.h.
77         * io/intrinsics.c: Include fbuf.h and unix.h.
78         * io/list_read.c: Include fbuf.h and unix.h.
79         * io/open.c: Include fbuf.h and unix.h.
80         * io/read.c: Include format.h.
81         * io/transfer.c: Include fbuf.h, format.h, and unix.h.
82         * io/unit.c: Likewise.
83         * io/unix.c: Include unix.h.
84         * io/write.c: Include format.h and unix.h.
85
86 2009-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
87
88         PR libfortran/41219
89         * intrinsics/unpack_generic.c (unpack_internal): Remove unused
90         argument from prototype.
91         (unpack1): Update unpack_internal call.
92         (unpack1_char): Likewise.
93         (unpack1_char4): Likewise.
94         (unpack0): Likewise.
95         (unpack0_char): Likewise.
96         (unpack0_char4): Likewise.
97         * intrinsics/iso_c_binding.c (c_f_pointer_u0): Get rid of
98         uninitialized variable warning.
99
100 2009-10-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
101
102         PR libgfortran/41711
103         * libgfortran.h: Define larger sizes for BOZ conversion buffers.
104         * io/write.c (extract_uint): Include case where size is 10 if integer
105         is large enough. (write_int): Rename to write_boz. (write_boz): Factor
106         out extract_uint and delete the conversion function.
107         (btoa_big): New binary conversion function.
108         (otoa_big): New octal conversion function.
109         (ztoa_big): New hexidecimal conversion function.
110         (write_b): Modify to use new function.
111         (write_o): Likewise.
112         (write_z): Likewise.
113
114 2009-10-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
115
116         PR libgfortran/41683
117         * io/format.c (parse_format_list): Allow a repeat specifier immediately
118         after a P specifier.
119         
120 2009-10-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
121
122         PR libgfortran/38439
123         * io/format.c (parse_format_list): Correct logic for FMT_F reading vs
124         writing. Code clean-up.
125
126 2009-10-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
127
128         PR libgfortran/38439
129         * io/format.c (parse_format_list): Add check for tokens not allowed
130         after P specifier. Fix comments.  Remove un-needed code. Fix the
131         default exponent list. Correct pointer assignment error.
132
133 2009-10-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
134
135         PR libgfortran/35862
136         * write_float.def (outout_float): Fix handling of special case where no
137         digits after the decimal point and values less than 1.0. Adjust index
138         into digits string. (WRITE_FLOAT): Remove special case code from macro.
139
140 2009-09-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
141
142         PR libgfortran/35862
143         * io.h (gfc_unit): Add round_status.
144         (format_token): Add enumerators for rounding format specifiers.
145         * transfer.c (round_opt): New options table.
146         (formatted_transfer_scalar_read): Add set round_status for each rounding
147         format token. (formatted_transfer_scalar_write): Likewise.
148         * format.c (format_lex): Tokenize the rounding format specifiers.
149         (parse_format_list): Parse the rounding format specifiers.
150         * write_float.def (outout_float): Modify rounding code to use new
151         variable rchar to set the appropriate rounding. Fix some whitespace.
152         * unit.c (get_internal_unit): Initialize rounding mode for internal
153         units. (init_units): Likewise.
154
155 2009-09-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
156
157         * configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm.
158         * configure: Regenerate.
159         * config.h.in: Ditto.
160
161 2009-09-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
162
163         PR libgfortran/41328
164         * io/transfer.c (read_sf): Set at_eof flag on short read if any
165         characters were successfully read so that EOF condition with no EOR
166         marker succeeds.
167
168 2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
169
170         PR libgfortran/41328
171         * io/transfer.c (read_sf): Adjust fbuf position and do proper
172         fbuf reads to traverse CR, CR-LF, and LF style line ends.
173
174 2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
175
176         PR libgfortran/41219
177         * io/write.c (write_a_char4): Use correct type for crlf constant.
178
179 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
180
181         * Makefile.am (libgfortranbegin_la_LINK): New.
182         * Makefile.in: Regenerate.
183
184 2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
185
186         * configure: Regenerate.
187
188 2009-09-08  Paolo Bonzini  <bonzini@gnu.org>
189
190         * configure: Regenerate.
191
192 2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
193
194         PR libgfortran/41192
195         * io/list_read.c (eat_line): Enable eat_line to function on
196         internal units.
197
198         PR libgfortran/41219
199         * io/list_read.c (nml_read_obj): Replace GFC_DTYPE_UNKNOWN with
200         BT_NULL to get rid of warning.
201         
202 2009-09-04  Tobias Burnus  <burnus@net-b.de>
203
204         PR fortran/41219
205         * intrinsics/getlog.c: Define _POSIX for MINGW32.
206
207 2009-09-03  Tobias Burnus  <burnus@net-b.de>
208
209         PR fortran/41219
210         * intrinsics/iso_c_binding.c (c_f_pointer_u0): Move variable
211         declaration out of the loop.
212
213 2009-08-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
214
215         * m4/pack.m4 (pack_'rtype_code`): Use count_0 for counting true
216         values in a logical array.  Mark bounds checking tests as
217         unlikely.
218         * intrinsics/pack_generic.c (pack_internal): Likewise.
219         * runtime/bounds.c (count_0):  Fix off-by-one error in detecting
220         empty arrays.
221         * generated/pack_c4.c: Regenerated.
222         * generated/pack_c8.c: Regenerated.
223         * generated/pack_c10.c: Regenerated.
224         * generated/pack_c16.c: Regenerated.
225         * generated/pack_i1.c: Regenerated.
226         * generated/pack_i16.c: Regenerated.
227         * generated/pack_i2.c: Regenerated.
228         * generated/pack_i4.c: Regenerated.
229         * generated/pack_i8.c: Regenerated.
230         * generated/pack_r4.c: Regenerated.
231         * generated/pack_r8.c: Regenerated.
232         * generated/pack_r10.c: Regenerated.
233         * generated/pack_r16.c: Regenerated.
234
235 2009-08-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
236
237         PR libfortran/34670
238         * runtime/bounds.c (count_0):  New function.
239         * intrinsics/unpack_generic (unpack_bounds):  New function.
240         (unpack_internal):  Remove zero stride checks.
241         (unpack1):  Use unpack_bounds.
242         (unpack1_char):  Likeweise.
243         (unpack1_char4):  Likewise
244         (unpack0):  Likewise.
245         (unpack0_char):  Likewise.
246         (unpack0_char4):  Likewise.
247
248 2009-08-24  Steven G. Kargl  <kargl@gcc.gnu.org>
249
250         PR fortran/41157
251         * dtime.c (dtime_sub): Fix computing time increment.
252         * time_1.h: Add <sys/types.h> header.  Use RUSAGE_SELF macro instead
253         of a hardcoded 0.
254
255 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
256
257         * configure.ac (AC_PREREQ): Bump to 2.64.
258
259 2009-08-23  Steven G. Kargl  <kargl@gcc.gnu.org>
260
261         * intrinsics/cshift0.c: Update license to GPL3+exception.
262         * runtime/fpu.c: Add a GPL3+exception statement.
263
264 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
265
266         * Makefile.am (install-html, install-pdf): Remove.
267         * Makefile.in: Regenerate.
268
269         * Makefile.in: Regenerate.
270         * aclocal.m4: Regenerate.
271         * config.h.in: Regenerate.
272         * configure: Regenerate.
273
274 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
275
276         * Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
277         * Makefile.in: Regenerate.
278
279 2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>
280
281         PR libfortran/40962
282         * iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
283         previous stride.
284
285 2009-08-20  Dave Korn  <dave.korn.cygwin@gmail.com>
286
287         * Makefile.am (LTLDFLAGS): Add -bindir flag.
288         * Makefile.in: Regenerate.
289
290 2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
291
292         PR fortran/41075
293         * io/io.h (enum format_token): Add FMT_STAR.
294         * io/format.c (format_lex): Add case for FMT_STAR.
295         (parse_format_list): Parse FMT_STAR and check for left paren
296         after. (next_format0): Modify helper function to check for
297         unimited format and return the repeated format node.  Update
298         comments to clarify.
299         
300 2009-08-15  Kai Tietz  <kai.tietz@onevision.com>
301
302         * intrinsics/string_intrinsics_inc.c (string_len_trim): Use
303         __INTPTR_TYPE__ to cast from pointer to scalar integer, if
304         __INTPTR_TYPE is defined.
305
306 2009-08-14  Janne Blomqvist  <jb@gcc.gnu.org>
307
308         * fmain.c: Add comment saying file is deprecated.
309
310 2009-08-14  Janne Blomqvist  <jb@gcc.gnu.org>
311
312         PR libfortran/40863
313         * gfortran.map: Move new symbols to GFORTRAN_C99_1.1 version node.
314
315 2009-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
316
317         PR libfortran/40549
318         * Makefile.in (LTLDFLAGS): Add -no-undefined.
319         * Makefile.am: Regenerate.
320         * libgfortran.h: Remove unused block of code.
321
322 2009-08-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
323
324         PR libfortran/40853
325         * io/list_read.c (nml_get_obj_data): Do not set nl
326         pointer to first_nl if nl->next is NULL.
327
328 2009-07-31  Kaz Kojima  <kkojima@gcc.gnu.org>
329
330         * Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@.
331         Don't set IEEE_FLAGS with @IEEE_FLAGS@.
332         * Makefile.in: Regenerate.
333
334 2009-07-30  Kaz Kojima  <kkojima@gcc.gnu.org>
335
336         * configure.host: Define ieee_flags and set it to -mieee for sh.
337         * configure.ac: Set IEEE_FLAGS with ieee_flags.
338         * Makefile.am: Add IEEE_FLAGS to AM_CFLAGS.
339         * configure: Regenerate.
340         * Makefile.in: Regenerate.
341
342 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
343
344         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
345
346 2009-07-27  Tobias Burnus  <burnus@net-b.de>
347
348         PR fortran/40863
349         * c99_functions.c: Define complex I, if not defined.
350         Create prototypes for C99 functions to silence warnings.
351         * gfortran.map: Add missing functions to GFORTRAN_C99_1.0
352         and new GFORTRAN_C99_1.1.
353
354 2009-07-25  Tobias Burnus  <burnus@net-b.de>
355
356         PR fortran/33197
357         * intrinsics/c99_functions.c (cacosf,cacos,cacosl,casinf,
358         casin,casind,catanf,catan,catanl,cacoshf,cacosh,cacoshl,
359         casinhf,casinh,casinhf,catanhf,catanh,catanhl): New functions.
360         * c99_protos.h: Add prototypes for those.
361
362 2009-07-24  Jakub Jelinek  <jakub@redhat.com>
363
364         PR fortran/40643
365         PR fortran/31067
366         * libgfortran.h (GFC_REAL_4_INFINITY, GFC_REAL_8_INFINITY,
367         GFC_REAL_10_INFINITY, GFC_REAL_16_INFINITY, GFC_REAL_4_QUIET_NAN,
368         GFC_REAL_8_QUIET_NAN, GFC_REAL_10_QUIET_NAN, GFC_REAL_16_QUIET_NAN):
369         Define.
370         * m4/iparm.m4 (atype_inf, atype_nan): Define.
371         * m4/ifunction.m4: Formatting.
372         * m4/iforeach.m4: Likewise.
373         (START_FOREACH_FUNCTION): Initialize dest to all 1s, not all 0s.
374         (START_FOREACH_BLOCK, FINISH_FOREACH_FUNCTION,
375         FINISH_MASKED_FOREACH_FUNCTION): Run foreach block inside a loop
376         until count[0] == extent[0].
377         * m4/minval.m4: Formatting.  Handle NaNs and infinities.  Optimize.
378         * m4/maxval.m4: Likewise.
379         * m4/minloc0.m4: Likewise.
380         * m4/maxloc0.m4: Likewise.
381         * m4/minloc1.m4: Likewise.
382         * m4/maxloc1.m4: Likewise.
383         * generated/maxloc0_16_i16.c: Regenerated.
384         * generated/maxloc0_16_i1.c: Likewise.
385         * generated/maxloc0_16_i2.c: Likewise.
386         * generated/maxloc0_16_i4.c: Likewise.
387         * generated/maxloc0_16_i8.c: Likewise.
388         * generated/maxloc0_16_r10.c: Likewise.
389         * generated/maxloc0_16_r16.c: Likewise.
390         * generated/maxloc0_16_r4.c: Likewise.
391         * generated/maxloc0_16_r8.c: Likewise.
392         * generated/maxloc0_4_i16.c: Likewise.
393         * generated/maxloc0_4_i1.c: Likewise.
394         * generated/maxloc0_4_i2.c: Likewise.
395         * generated/maxloc0_4_i4.c: Likewise.
396         * generated/maxloc0_4_i8.c: Likewise.
397         * generated/maxloc0_4_r10.c: Likewise.
398         * generated/maxloc0_4_r16.c: Likewise.
399         * generated/maxloc0_4_r4.c: Likewise.
400         * generated/maxloc0_4_r8.c: Likewise.
401         * generated/maxloc0_8_i16.c: Likewise.
402         * generated/maxloc0_8_i1.c: Likewise.
403         * generated/maxloc0_8_i2.c: Likewise.
404         * generated/maxloc0_8_i4.c: Likewise.
405         * generated/maxloc0_8_i8.c: Likewise.
406         * generated/maxloc0_8_r10.c: Likewise.
407         * generated/maxloc0_8_r16.c: Likewise.
408         * generated/maxloc0_8_r4.c: Likewise.
409         * generated/maxloc0_8_r8.c: Likewise.
410         * generated/maxloc1_16_i16.c: Likewise.
411         * generated/maxloc1_16_i1.c: Likewise.
412         * generated/maxloc1_16_i2.c: Likewise.
413         * generated/maxloc1_16_i4.c: Likewise.
414         * generated/maxloc1_16_i8.c: Likewise.
415         * generated/maxloc1_16_r10.c: Likewise.
416         * generated/maxloc1_16_r16.c: Likewise.
417         * generated/maxloc1_16_r4.c: Likewise.
418         * generated/maxloc1_16_r8.c: Likewise.
419         * generated/maxloc1_4_i16.c: Likewise.
420         * generated/maxloc1_4_i1.c: Likewise.
421         * generated/maxloc1_4_i2.c: Likewise.
422         * generated/maxloc1_4_i4.c: Likewise.
423         * generated/maxloc1_4_i8.c: Likewise.
424         * generated/maxloc1_4_r10.c: Likewise.
425         * generated/maxloc1_4_r16.c: Likewise.
426         * generated/maxloc1_4_r4.c: Likewise.
427         * generated/maxloc1_4_r8.c: Likewise.
428         * generated/maxloc1_8_i16.c: Likewise.
429         * generated/maxloc1_8_i1.c: Likewise.
430         * generated/maxloc1_8_i2.c: Likewise.
431         * generated/maxloc1_8_i4.c: Likewise.
432         * generated/maxloc1_8_i8.c: Likewise.
433         * generated/maxloc1_8_r10.c: Likewise.
434         * generated/maxloc1_8_r16.c: Likewise.
435         * generated/maxloc1_8_r4.c: Likewise.
436         * generated/maxloc1_8_r8.c: Likewise.
437         * generated/maxval_i16.c: Likewise.
438         * generated/maxval_i1.c: Likewise.
439         * generated/maxval_i2.c: Likewise.
440         * generated/maxval_i4.c: Likewise.
441         * generated/maxval_i8.c: Likewise.
442         * generated/maxval_r10.c: Likewise.
443         * generated/maxval_r16.c: Likewise.
444         * generated/maxval_r4.c: Likewise.
445         * generated/maxval_r8.c: Likewise.
446         * generated/minloc0_16_i16.c: Likewise.
447         * generated/minloc0_16_i1.c: Likewise.
448         * generated/minloc0_16_i2.c: Likewise.
449         * generated/minloc0_16_i4.c: Likewise.
450         * generated/minloc0_16_i8.c: Likewise.
451         * generated/minloc0_16_r10.c: Likewise.
452         * generated/minloc0_16_r16.c: Likewise.
453         * generated/minloc0_16_r4.c: Likewise.
454         * generated/minloc0_16_r8.c: Likewise.
455         * generated/minloc0_4_i16.c: Likewise.
456         * generated/minloc0_4_i1.c: Likewise.
457         * generated/minloc0_4_i2.c: Likewise.
458         * generated/minloc0_4_i4.c: Likewise.
459         * generated/minloc0_4_i8.c: Likewise.
460         * generated/minloc0_4_r10.c: Likewise.
461         * generated/minloc0_4_r16.c: Likewise.
462         * generated/minloc0_4_r4.c: Likewise.
463         * generated/minloc0_4_r8.c: Likewise.
464         * generated/minloc0_8_i16.c: Likewise.
465         * generated/minloc0_8_i1.c: Likewise.
466         * generated/minloc0_8_i2.c: Likewise.
467         * generated/minloc0_8_i4.c: Likewise.
468         * generated/minloc0_8_i8.c: Likewise.
469         * generated/minloc0_8_r10.c: Likewise.
470         * generated/minloc0_8_r16.c: Likewise.
471         * generated/minloc0_8_r4.c: Likewise.
472         * generated/minloc0_8_r8.c: Likewise.
473         * generated/minloc1_16_i16.c: Likewise.
474         * generated/minloc1_16_i1.c: Likewise.
475         * generated/minloc1_16_i2.c: Likewise.
476         * generated/minloc1_16_i4.c: Likewise.
477         * generated/minloc1_16_i8.c: Likewise.
478         * generated/minloc1_16_r10.c: Likewise.
479         * generated/minloc1_16_r16.c: Likewise.
480         * generated/minloc1_16_r4.c: Likewise.
481         * generated/minloc1_16_r8.c: Likewise.
482         * generated/minloc1_4_i16.c: Likewise.
483         * generated/minloc1_4_i1.c: Likewise.
484         * generated/minloc1_4_i2.c: Likewise.
485         * generated/minloc1_4_i4.c: Likewise.
486         * generated/minloc1_4_i8.c: Likewise.
487         * generated/minloc1_4_r10.c: Likewise.
488         * generated/minloc1_4_r16.c: Likewise.
489         * generated/minloc1_4_r4.c: Likewise.
490         * generated/minloc1_4_r8.c: Likewise.
491         * generated/minloc1_8_i16.c: Likewise.
492         * generated/minloc1_8_i1.c: Likewise.
493         * generated/minloc1_8_i2.c: Likewise.
494         * generated/minloc1_8_i4.c: Likewise.
495         * generated/minloc1_8_i8.c: Likewise.
496         * generated/minloc1_8_r10.c: Likewise.
497         * generated/minloc1_8_r16.c: Likewise.
498         * generated/minloc1_8_r4.c: Likewise.
499         * generated/minloc1_8_r8.c: Likewise.
500         * generated/minval_i16.c: Likewise.
501         * generated/minval_i1.c: Likewise.
502         * generated/minval_i2.c: Likewise.
503         * generated/minval_i4.c: Likewise.
504         * generated/minval_i8.c: Likewise.
505         * generated/minval_r10.c: Likewise.
506         * generated/minval_r16.c: Likewise.
507         * generated/minval_r4.c: Likewise.
508         * generated/minval_r8.c: Likewise.
509         * generated/product_c10.c: Likewise.
510         * generated/product_c16.c: Likewise.
511         * generated/product_c4.c: Likewise.
512         * generated/product_c8.c: Likewise.
513         * generated/product_i16.c: Likewise.
514         * generated/product_i1.c: Likewise.
515         * generated/product_i2.c: Likewise.
516         * generated/product_i4.c: Likewise.
517         * generated/product_i8.c: Likewise.
518         * generated/product_r10.c: Likewise.
519         * generated/product_r16.c: Likewise.
520         * generated/product_r4.c: Likewise.
521         * generated/product_r8.c: Likewise.
522         * generated/sum_c10.c: Likewise.
523         * generated/sum_c16.c: Likewise.
524         * generated/sum_c4.c: Likewise.
525         * generated/sum_c8.c: Likewise.
526         * generated/sum_i16.c: Likewise.
527         * generated/sum_i1.c: Likewise.
528         * generated/sum_i2.c: Likewise.
529         * generated/sum_i4.c: Likewise.
530         * generated/sum_i8.c: Likewise.
531         * generated/sum_r10.c: Likewise.
532         * generated/sum_r16.c: Likewise.
533         * generated/sum_r4.c: Likewise.
534         * generated/sum_r8.c: Likewise.
535
536 2009-07-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
537
538         PR libfortran/32784
539         * unix.c (regular_file): Check for CONIN$ CONOUT$, and CONERR$ and open
540         the respective /dev/conin or /dev/conout devices.  This is Cygwin
541         specific.
542
543 2009-07-19  Thomas Koenig  <tkoenig@gcc.gnu.org>
544
545         PR libfortran/34670
546         PR libfortran/36874
547         * Makefile.am:  Add bounds.c
548         * libgfortran.h (bounds_equal_extents):  Add prototype.
549         (bounds_iforeach_return):  Likewise.
550         (bounds_ifunction_return):  Likewise.
551         (bounds_reduced_extents):  Likewise.
552         * runtime/bounds.c:  New file.
553         (bounds_iforeach_return):  New function; correct typo in
554         error message.
555         (bounds_ifunction_return):  New function.
556         (bounds_equal_extents):  New function.
557         (bounds_reduced_extents):  Likewise.
558         * intrinsics/cshift0.c (cshift0):  Use new functions
559         for bounds checking.
560         * intrinsics/eoshift0.c (eoshift0):  Likewise.
561         * intrinsics/eoshift2.c (eoshift2):  Likewise.
562         * m4/iforeach.m4:  Likewise.
563         * m4/eoshift1.m4:  Likewise.
564         * m4/eoshift3.m4:  Likewise.
565         * m4/cshift1.m4:  Likewise.
566         * m4/ifunction.m4:  Likewise.
567         * Makefile.in:  Regenerated.
568         * generated/cshift1_16.c: Regenerated.
569         * generated/cshift1_4.c: Regenerated.
570         * generated/cshift1_8.c: Regenerated.
571         * generated/eoshift1_16.c: Regenerated.
572         * generated/eoshift1_4.c: Regenerated.
573         * generated/eoshift1_8.c: Regenerated.
574         * generated/eoshift3_16.c: Regenerated.
575         * generated/eoshift3_4.c: Regenerated.
576         * generated/eoshift3_8.c: Regenerated.
577         * generated/maxloc0_16_i1.c: Regenerated.
578         * generated/maxloc0_16_i16.c: Regenerated.
579         * generated/maxloc0_16_i2.c: Regenerated.
580         * generated/maxloc0_16_i4.c: Regenerated.
581         * generated/maxloc0_16_i8.c: Regenerated.
582         * generated/maxloc0_16_r10.c: Regenerated.
583         * generated/maxloc0_16_r16.c: Regenerated.
584         * generated/maxloc0_16_r4.c: Regenerated.
585         * generated/maxloc0_16_r8.c: Regenerated.
586         * generated/maxloc0_4_i1.c: Regenerated.
587         * generated/maxloc0_4_i16.c: Regenerated.
588         * generated/maxloc0_4_i2.c: Regenerated.
589         * generated/maxloc0_4_i4.c: Regenerated.
590         * generated/maxloc0_4_i8.c: Regenerated.
591         * generated/maxloc0_4_r10.c: Regenerated.
592         * generated/maxloc0_4_r16.c: Regenerated.
593         * generated/maxloc0_4_r4.c: Regenerated.
594         * generated/maxloc0_4_r8.c: Regenerated.
595         * generated/maxloc0_8_i1.c: Regenerated.
596         * generated/maxloc0_8_i16.c: Regenerated.
597         * generated/maxloc0_8_i2.c: Regenerated.
598         * generated/maxloc0_8_i4.c: Regenerated.
599         * generated/maxloc0_8_i8.c: Regenerated.
600         * generated/maxloc0_8_r10.c: Regenerated.
601         * generated/maxloc0_8_r16.c: Regenerated.
602         * generated/maxloc0_8_r4.c: Regenerated.
603         * generated/maxloc0_8_r8.c: Regenerated.
604         * generated/maxloc1_16_i1.c: Regenerated.
605         * generated/maxloc1_16_i16.c: Regenerated.
606         * generated/maxloc1_16_i2.c: Regenerated.
607         * generated/maxloc1_16_i4.c: Regenerated.
608         * generated/maxloc1_16_i8.c: Regenerated.
609         * generated/maxloc1_16_r10.c: Regenerated.
610         * generated/maxloc1_16_r16.c: Regenerated.
611         * generated/maxloc1_16_r4.c: Regenerated.
612         * generated/maxloc1_16_r8.c: Regenerated.
613         * generated/maxloc1_4_i1.c: Regenerated.
614         * generated/maxloc1_4_i16.c: Regenerated.
615         * generated/maxloc1_4_i2.c: Regenerated.
616         * generated/maxloc1_4_i4.c: Regenerated.
617         * generated/maxloc1_4_i8.c: Regenerated.
618         * generated/maxloc1_4_r10.c: Regenerated.
619         * generated/maxloc1_4_r16.c: Regenerated.
620         * generated/maxloc1_4_r4.c: Regenerated.
621         * generated/maxloc1_4_r8.c: Regenerated.
622         * generated/maxloc1_8_i1.c: Regenerated.
623         * generated/maxloc1_8_i16.c: Regenerated.
624         * generated/maxloc1_8_i2.c: Regenerated.
625         * generated/maxloc1_8_i4.c: Regenerated.
626         * generated/maxloc1_8_i8.c: Regenerated.
627         * generated/maxloc1_8_r10.c: Regenerated.
628         * generated/maxloc1_8_r16.c: Regenerated.
629         * generated/maxloc1_8_r4.c: Regenerated.
630         * generated/maxloc1_8_r8.c: Regenerated.
631         * generated/maxval_i1.c: Regenerated.
632         * generated/maxval_i16.c: Regenerated.
633         * generated/maxval_i2.c: Regenerated.
634         * generated/maxval_i4.c: Regenerated.
635         * generated/maxval_i8.c: Regenerated.
636         * generated/maxval_r10.c: Regenerated.
637         * generated/maxval_r16.c: Regenerated.
638         * generated/maxval_r4.c: Regenerated.
639         * generated/maxval_r8.c: Regenerated.
640         * generated/minloc0_16_i1.c: Regenerated.
641         * generated/minloc0_16_i16.c: Regenerated.
642         * generated/minloc0_16_i2.c: Regenerated.
643         * generated/minloc0_16_i4.c: Regenerated.
644         * generated/minloc0_16_i8.c: Regenerated.
645         * generated/minloc0_16_r10.c: Regenerated.
646         * generated/minloc0_16_r16.c: Regenerated.
647         * generated/minloc0_16_r4.c: Regenerated.
648         * generated/minloc0_16_r8.c: Regenerated.
649         * generated/minloc0_4_i1.c: Regenerated.
650         * generated/minloc0_4_i16.c: Regenerated.
651         * generated/minloc0_4_i2.c: Regenerated.
652         * generated/minloc0_4_i4.c: Regenerated.
653         * generated/minloc0_4_i8.c: Regenerated.
654         * generated/minloc0_4_r10.c: Regenerated.
655         * generated/minloc0_4_r16.c: Regenerated.
656         * generated/minloc0_4_r4.c: Regenerated.
657         * generated/minloc0_4_r8.c: Regenerated.
658         * generated/minloc0_8_i1.c: Regenerated.
659         * generated/minloc0_8_i16.c: Regenerated.
660         * generated/minloc0_8_i2.c: Regenerated.
661         * generated/minloc0_8_i4.c: Regenerated.
662         * generated/minloc0_8_i8.c: Regenerated.
663         * generated/minloc0_8_r10.c: Regenerated.
664         * generated/minloc0_8_r16.c: Regenerated.
665         * generated/minloc0_8_r4.c: Regenerated.
666         * generated/minloc0_8_r8.c: Regenerated.
667         * generated/minloc1_16_i1.c: Regenerated.
668         * generated/minloc1_16_i16.c: Regenerated.
669         * generated/minloc1_16_i2.c: Regenerated.
670         * generated/minloc1_16_i4.c: Regenerated.
671         * generated/minloc1_16_i8.c: Regenerated.
672         * generated/minloc1_16_r10.c: Regenerated.
673         * generated/minloc1_16_r16.c: Regenerated.
674         * generated/minloc1_16_r4.c: Regenerated.
675         * generated/minloc1_16_r8.c: Regenerated.
676         * generated/minloc1_4_i1.c: Regenerated.
677         * generated/minloc1_4_i16.c: Regenerated.
678         * generated/minloc1_4_i2.c: Regenerated.
679         * generated/minloc1_4_i4.c: Regenerated.
680         * generated/minloc1_4_i8.c: Regenerated.
681         * generated/minloc1_4_r10.c: Regenerated.
682         * generated/minloc1_4_r16.c: Regenerated.
683         * generated/minloc1_4_r4.c: Regenerated.
684         * generated/minloc1_4_r8.c: Regenerated.
685         * generated/minloc1_8_i1.c: Regenerated.
686         * generated/minloc1_8_i16.c: Regenerated.
687         * generated/minloc1_8_i2.c: Regenerated.
688         * generated/minloc1_8_i4.c: Regenerated.
689         * generated/minloc1_8_i8.c: Regenerated.
690         * generated/minloc1_8_r10.c: Regenerated.
691         * generated/minloc1_8_r16.c: Regenerated.
692         * generated/minloc1_8_r4.c: Regenerated.
693         * generated/minloc1_8_r8.c: Regenerated.
694         * generated/minval_i1.c: Regenerated.
695         * generated/minval_i16.c: Regenerated.
696         * generated/minval_i2.c: Regenerated.
697         * generated/minval_i4.c: Regenerated.
698         * generated/minval_i8.c: Regenerated.
699         * generated/minval_r10.c: Regenerated.
700         * generated/minval_r16.c: Regenerated.
701         * generated/minval_r4.c: Regenerated.
702         * generated/minval_r8.c: Regenerated.
703         * generated/product_c10.c: Regenerated.
704         * generated/product_c16.c: Regenerated.
705         * generated/product_c4.c: Regenerated.
706         * generated/product_c8.c: Regenerated.
707         * generated/product_i1.c: Regenerated.
708         * generated/product_i16.c: Regenerated.
709         * generated/product_i2.c: Regenerated.
710         * generated/product_i4.c: Regenerated.
711         * generated/product_i8.c: Regenerated.
712         * generated/product_r10.c: Regenerated.
713         * generated/product_r16.c: Regenerated.
714         * generated/product_r4.c: Regenerated.
715         * generated/product_r8.c: Regenerated.
716         * generated/sum_c10.c: Regenerated.
717         * generated/sum_c16.c: Regenerated.
718         * generated/sum_c4.c: Regenerated.
719         * generated/sum_c8.c: Regenerated.
720         * generated/sum_i1.c: Regenerated.
721         * generated/sum_i16.c: Regenerated.
722         * generated/sum_i2.c: Regenerated.
723         * generated/sum_i4.c: Regenerated.
724         * generated/sum_i8.c: Regenerated.
725         * generated/sum_r10.c: Regenerated.
726         * generated/sum_r16.c: Regenerated.
727         * generated/sum_r4.c: Regenerated.
728         * generated/sum_r8.c: Regenerated.
729
730 2009-07-17  Janne Blomqvist  <jb@gcc.gnu.org>
731             Jerry DeLisle  <jvdelisle@gcc.gnu.org>
732                 
733         PR libfortran/40714
734         * io/transfer.c (finalize_transfer): Set current_record to 0
735         before returning in case of error.
736
737 2009-07-12  Tobias Burnus  <burnus@net-b.de>
738
739         PR libfortran/22423
740         * io/io.h (namelist_type): Use the proper enum for GFC_DTYPE_*.
741         * intrinsics/iso_c_binding.c (c_f_pointer_u0): Make sure
742         variable is initialized to silence warning.
743
744 2009-07-10  Steven G. Kargl  <kargl@gcc.gnu.org>
745
746         * c99_functions.c (ccoshf, ccosh, ccoshl, ctanhf, ctanh, ctanl):
747         Fix errant minus.
748
749 2009-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
750
751         PR libfortran/40330
752         PR libfortran/40662
753         * io/io.h (st_parameter_dt): Define format_not_saved bit used to signal
754         whether the parsed format data was previously saved. Used to determine
755         if the current format data should be freed or not.
756         * io/transfer.c (st_read_done): Use the format_not_saved bit.
757         (st_write_done): Likewise.
758         * io/format.c (parse_format_list): Add boolean pointer to arg list. This
759         pointer is used to return status to the caller regarding whether it is
760         safe to cache the parsed format data.  Currently, if a FMT_STRING token
761         is encounetered, it is not safe to cache. Also, added a local boolean
762         variable to hold this information as recursive calls to
763         parse_format_list are made.  Remove previous save_format logic.
764         (parse_format): Do not use the format caching facility if the current
765         unit is an internal unit or if it is not safe to save parsed format
766         data.
767         
768 2009-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
769
770         PR libfortran/40576
771         * io/transfer.c (sset): Adjust exit condition for loop.
772
773 2009-06-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
774
775         PR libfortran/40508
776         * io/format.c: Don't save parsed format data for internal units.
777
778 2009-06-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
779
780         PR fortran/37577
781         Port from fortran-dev
782         * runtime/in_pack_generic (internal_pack):  Remove unnecessary
783         test for stride == 0.
784         * runtime/in_unpack_generic.c (internal_unpack):  Likewise.
785         * intrinsics/iso_c_binding.c (c_f_pointer_u0):  Take care
786         of stride in "shape" argument.  Use array access macros for
787         accessing array descriptors.
788         * libgfortran.h (struct descriptor_dimension):  Change stride
789         to _stride, lbound to _lbound and ubound to _ubound.
790         (GFC_DIMENSION_LBOUND):  Use new name(s) in struct
791         descriptor_dimension.
792         (GFC_DIMENSION_UBOUND):  Likewise.
793         (GFC_DIMENSION_STRIDE):  Likewise.
794         (GFC_DIMENSION_EXTENT):  Likewise.
795         (GFC_DIMENSION_SET):  Likewise.
796         (GFC_DESCRIPTOR_LBOUND):  Likewise.
797         (GFC_DESCRIPTOR_UBOUND):  Likewise.
798         (GFC_DESCRIPTOR_EXTENT):  Likewise.
799         (GFC_DESCRIPTOR_STRIDE):  Likewise.
800         * io/transfer.c (transfer_array):  Use array access macros.
801         Use byte-sized strides.
802         * intrinsics/eoshift0.c (eoshift0):  Use array access
803         macros everywhere.
804         * m4/in_pack.m4 (internal_pack_'rtype_ccode`):  Use
805         array access macros for accessing array descriptors.
806         * m4/in_unpack.m4 (internal_unpack_'rtype_ccode`):
807         Likewise.
808         * m4/matmull.m4 (matmul_'rtype_code`):  Likewise.
809         * m4/matmul.m4 (matmul_'rtype_code`):  Likewise.
810         * m4/unpack.m4 (unpack0_'rtype_code`):  Likewise.
811         (unpack1_'rtype_code`):  Likewise.
812         * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Likewise.
813         * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Use array access
814         macros everywhere.
815                 * intrinsics/dtime.c (dtime_sub):  Use array access macros
816         for accessing array descriptors.
817         * intrinsics/cshift0 (cshift0):  Likewise.
818         * intrinsics/etime.c:  Likewise.  Remove redundant calculation
819         of rdim.
820         * m4/cshift0.m4 (cshift0_'rtype_code`):  Use array access macros
821         for accessing array descriptors.
822         * m4/pack.m4 (pack_'rtype_code`):  Likewise.
823         * m4/spread.m4 (spread_'rtype_code`):  Likewise.
824         (spread_scalar_'rtype_code`):  Likewise.
825         * m4/transpose.m4 (transpose_'rtype_code`):  Likewise.
826         * m4/iforeach.m4 (name`'rtype_qual`_'atype_code):  Likewise.
827         * m4/eoshift1.m4 (eoshift1):  Likewise.  Remove size argument,
828         calculate within function.
829         (eoshift1_'atype_kind`):  Remove size argument from call
830         to eoshift1.
831         (eoshift1_'atype_kind`_char):  Likewise.
832         (eoshift1_'atype_kind`_char4):  Likewise.
833         * m4/eoshift3.m4 (eoshift3):  Remove size argument, calculate
834         within function. Use array access macros for accessing array
835         descriptors.
836         (eoshift3_'atype_kind`):  Remove size argument from call
837         to eoshift1.
838         (eoshift3_'atype_kind`_char):  Likewise.
839         (eoshift3_'atype_kind`_char4):  Likewise.
840         * m4/shape.m4 (shape_'rtype_kind`):  Use array access macros
841         for accessing array descriptors.
842         * m4/cshift1.m4 (cshift1): Remove size argument, calculate
843         within function. Use array access macros for accessing array
844         descriptors.
845         (cshift1_'atype_kind`):  Remove size argument from call to
846         cshift1.
847         (cshift1_'atype_kind`_char):  Remove size argument from call to
848         cshift1.
849         (cshift1_'atype_kind`_char4):  Remove size argument from call to
850         cshift1.
851         * m4/reshape.m4 (reshape_'rtype_ccode`):  Use array access macros
852         for accessing array descriptors.
853         * m4/ifunction.m4 (name`'rtype_qual`_'atype_code):  Likewise.
854         * intrinsics/pack_generic.c (pack_internal):  Use array access
855         macros for accessing array descriptors.
856         (pack_s_internal):  Likewise.
857         * intrinsics/transpose_generic.c (transpose_internal):  Remove
858         size argument, calculate from array descriptor. Use array
859         access macros for accessing array descriptors.
860         (transpose):  Remove size argument from call.
861         (transpoe_char):  Likewise.
862         (transpose_char4):  Likewise.
863         * intrinsics/move_alloc.c (move_alloc):  Use array access macros
864         for accessing array descriptors.
865         * intrinsics/spread_generic.c (spread_internal):  Remove size
866         argument, calculate from array descriptor.  Use array access
867         macros for accessing array descriptors.
868         (spread_internal_scalar):  Likewise.
869         (spread):  Remove size argument from call to spread_internal.
870         (spread_char):  Mark argument source_length as unused.
871         Remove size argument from call to spread_internal.
872         (spread_char4):  Likewise.
873         (spread_char_scalar):  Likewise.
874         (spread_char4_scalar):  Likewise.
875         * intrinsics/unpack_generic.c (unpack_internal):  Use array access
876         macros for accessing array descriptors.
877         * intrinsics/eoshift2.c (eoshift2):  Remove size argument, calculate
878         from array descriptor instead.  Use array access macros for
879         accessing array descriptors.
880         (eoshift2_##N):  Remove size argument from call to eoshift2.
881         (eoshift2_##N_##char):  Likewise.
882         (eoshift2_##N_##char4):  Likewise.
883         * intrinsics/reshape_generic.c (reshape_internal):  Use array
884         access macross for accessing array descriptors.
885         * libgfortran.h:  Introduce new macros GFC_DIMENSION_LBOUND,
886         GFC_DIMENSION_UBOUND,GFC_DIMENSION_STRIDE, GFC_DIMENSION_EXTENT,
887         GFC_DIMENSION_SET, GFC_DESCRIPTOR_LBOUND, GFC_DESCRIPTOR_UBOUND,
888         GFC_DESCRIPTOR_EXTENT, GFC_DESCRIPTOR_EXTENT_BYTES,
889         GFC_DESCRIPTOR_STRIDE, GFC_DESCRIPTOR_STRIDE_BYTES
890         * runtime/in_pack_generic.c (internal_pack):  Use new macros
891         for array descriptor access.
892         * runtime/in_unpack_generic.c (internal_unpack):  Likewise.
893         * intrinsics/dtime.c (dtime_sub):  Likewise.
894         * intrinsics/cshift0 (cshift0):  Remove argument size,
895         calculate directly from the array descriptor.  Use new macros
896         for array descriptor access.
897         * cshift0_##N:  Remove shift argument in call to cshift0.
898         * cshift0_##N_char:  Mark array_length as unused.  Remove
899         array_length in call to cshift0.
900         * cshift0_##N_char4:  Likewise.
901         * intrisics/etime.c:  Use new macros for array descriptor access.
902         * intrinsics/stat.c (stat_i4_sub_0):  Likewise.
903         (stat_i8_sub_0):  Likewise.
904         (fstat_i4_sub):  Likewise.
905         (fstat_i8_sub):  Likewise.
906         * intrinsics/date_and_time.c (date_and_time):  Likewise.
907         (secnds):  Likewise.
908         (itime_i4):  Likewise.
909         (itime_i8):  Likewise.
910         (idate_i4):  Likewise.
911         (idate_i8):  Likewise.
912         (gmtime_i4):  Likewise.
913         (gmtime_i8):  Likewise.
914         (ltime_i4):  Likewise.
915         (litme_i8):  Likewise.
916         * intrinsics/associated.c (associated):  Likewise.
917         * intrinsics/eoshift0.c (eoshift0):  Likewise.
918         * intriniscs/size.c (size0):  Likewise.
919         * intrinsics/random.c (arandom_r4):  Likewise.
920         (arandom_r8):  Likewise.
921         (arandom_r10):  Likewise.
922         (arandom_r16):  Likewise.
923         (random_seed_i4):  Likewise.
924         (random_seed_i8):  Likewise.
925         * io/list_read.c (nml_parse_qualifier):  Likewise.
926         (nml_touch_nodes):  Likewise.
927         (nml_read_obj):  Likewise.
928         (get_name):  Likewise.
929         * io/transfer.c (transfer_array):  Likewise.
930         (init_loop_spec):  Likewise.
931         (st_set_nml_var_dim):  Likewise.
932         * io/write.c (nml_write_obj):  Likewise.
933         (obj_loop):  Likewise.
934         * generated/all_l1.c: Regenerated.
935         * generated/all_l16.c: Regenerated.
936         * generated/all_l2.c: Regenerated.
937         * generated/all_l4.c: Regenerated.
938         * generated/all_l8.c: Regenerated.
939         * generated/any_l1.c: Regenerated.
940         * generated/any_l16.c: Regenerated.
941         * generated/any_l2.c: Regenerated.
942         * generated/any_l4.c: Regenerated.
943         * generated/any_l8.c: Regenerated.
944         * generated/count_16_l.c: Regenerated.
945         * generated/count_1_l.c: Regenerated.
946         * generated/count_2_l.c: Regenerated.
947         * generated/count_4_l.c: Regenerated.
948         * generated/count_8_l.c: Regenerated.
949         * generated/cshift0_c10.c: Regenerated.
950         * generated/cshift0_c16.c: Regenerated.
951         * generated/cshift0_c4.c: Regenerated.
952         * generated/cshift0_c8.c: Regenerated.
953         * generated/cshift0_i1.c: Regenerated.
954         * generated/cshift0_i16.c: Regenerated.
955         * generated/cshift0_i2.c: Regenerated.
956         * generated/cshift0_i4.c: Regenerated.
957         * generated/cshift0_i8.c: Regenerated.
958         * generated/cshift0_r10.c: Regenerated.
959         * generated/cshift0_r16.c: Regenerated.
960         * generated/cshift0_r4.c: Regenerated.
961         * generated/cshift0_r8.c: Regenerated.
962         * generated/cshift1_16.c: Regenerated.
963         * generated/cshift1_4.c: Regenerated.
964         * generated/cshift1_8.c: Regenerated.
965         * generated/eoshift1_16.c: Regenerated.
966         * generated/eoshift1_4.c: Regenerated.
967         * generated/eoshift1_8.c: Regenerated.
968         * generated/eoshift3_16.c: Regenerated.
969         * generated/eoshift3_4.c: Regenerated.
970         * generated/eoshift3_8.c: Regenerated.
971         * generated/in_pack_c10.c: Regenerated.
972         * generated/in_pack_c16.c: Regenerated.
973         * generated/in_pack_c4.c: Regenerated.
974         * generated/in_pack_c8.c: Regenerated.
975         * generated/in_pack_i1.c: Regenerated.
976         * generated/in_pack_i16.c: Regenerated.
977         * generated/in_pack_i2.c: Regenerated.
978         * generated/in_pack_i4.c: Regenerated.
979         * generated/in_pack_i8.c: Regenerated.
980         * generated/in_pack_r10.c: Regenerated.
981         * generated/in_pack_r16.c: Regenerated.
982         * generated/in_pack_r4.c: Regenerated.
983         * generated/in_pack_r8.c: Regenerated.
984         * generated/in_unpack_c10.c: Regenerated.
985         * generated/in_unpack_c16.c: Regenerated.
986         * generated/in_unpack_c4.c: Regenerated.
987         * generated/in_unpack_c8.c: Regenerated.
988         * generated/in_unpack_i1.c: Regenerated.
989         * generated/in_unpack_i16.c: Regenerated.
990         * generated/in_unpack_i2.c: Regenerated.
991         * generated/in_unpack_i4.c: Regenerated.
992         * generated/in_unpack_i8.c: Regenerated.
993         * generated/in_unpack_r10.c: Regenerated.
994         * generated/in_unpack_r16.c: Regenerated.
995         * generated/in_unpack_r4.c: Regenerated.
996         * generated/in_unpack_r8.c: Regenerated.
997         * generated/matmul_c10.c: Regenerated.
998         * generated/matmul_c16.c: Regenerated.
999         * generated/matmul_c4.c: Regenerated.
1000         * generated/matmul_c8.c: Regenerated.
1001         * generated/matmul_i1.c: Regenerated.
1002         * generated/matmul_i16.c: Regenerated.
1003         * generated/matmul_i2.c: Regenerated.
1004         * generated/matmul_i4.c: Regenerated.
1005         * generated/matmul_i8.c: Regenerated.
1006         * generated/matmul_l16.c: Regenerated.
1007         * generated/matmul_l4.c: Regenerated.
1008         * generated/matmul_l8.c: Regenerated.
1009         * generated/matmul_r10.c: Regenerated.
1010         * generated/matmul_r16.c: Regenerated.
1011         * generated/matmul_r4.c: Regenerated.
1012         * generated/matmul_r8.c: Regenerated.
1013         * generated/maxloc0_16_i1.c: Regenerated.
1014         * generated/maxloc0_16_i16.c: Regenerated.
1015         * generated/maxloc0_16_i2.c: Regenerated.
1016         * generated/maxloc0_16_i4.c: Regenerated.
1017         * generated/maxloc0_16_i8.c: Regenerated.
1018         * generated/maxloc0_16_r10.c: Regenerated.
1019         * generated/maxloc0_16_r16.c: Regenerated.
1020         * generated/maxloc0_16_r4.c: Regenerated.
1021         * generated/maxloc0_16_r8.c: Regenerated.
1022         * generated/maxloc0_4_i1.c: Regenerated.
1023         * generated/maxloc0_4_i16.c: Regenerated.
1024         * generated/maxloc0_4_i2.c: Regenerated.
1025         * generated/maxloc0_4_i4.c: Regenerated.
1026         * generated/maxloc0_4_i8.c: Regenerated.
1027         * generated/maxloc0_4_r10.c: Regenerated.
1028         * generated/maxloc0_4_r16.c: Regenerated.
1029         * generated/maxloc0_4_r4.c: Regenerated.
1030         * generated/maxloc0_4_r8.c: Regenerated.
1031         * generated/maxloc0_8_i1.c: Regenerated.
1032         * generated/maxloc0_8_i16.c: Regenerated.
1033         * generated/maxloc0_8_i2.c: Regenerated.
1034         * generated/maxloc0_8_i4.c: Regenerated.
1035         * generated/maxloc0_8_i8.c: Regenerated.
1036         * generated/maxloc0_8_r10.c: Regenerated.
1037         * generated/maxloc0_8_r16.c: Regenerated.
1038         * generated/maxloc0_8_r4.c: Regenerated.
1039         * generated/maxloc0_8_r8.c: Regenerated.
1040         * generated/maxloc1_16_i1.c: Regenerated.
1041         * generated/maxloc1_16_i16.c: Regenerated.
1042         * generated/maxloc1_16_i2.c: Regenerated.
1043         * generated/maxloc1_16_i4.c: Regenerated.
1044         * generated/maxloc1_16_i8.c: Regenerated.
1045         * generated/maxloc1_16_r10.c: Regenerated.
1046         * generated/maxloc1_16_r16.c: Regenerated.
1047         * generated/maxloc1_16_r4.c: Regenerated.
1048         * generated/maxloc1_16_r8.c: Regenerated.
1049         * generated/maxloc1_4_i1.c: Regenerated.
1050         * generated/maxloc1_4_i16.c: Regenerated.
1051         * generated/maxloc1_4_i2.c: Regenerated.
1052         * generated/maxloc1_4_i4.c: Regenerated.
1053         * generated/maxloc1_4_i8.c: Regenerated.
1054         * generated/maxloc1_4_r10.c: Regenerated.
1055         * generated/maxloc1_4_r16.c: Regenerated.
1056         * generated/maxloc1_4_r4.c: Regenerated.
1057         * generated/maxloc1_4_r8.c: Regenerated.
1058         * generated/maxloc1_8_i1.c: Regenerated.
1059         * generated/maxloc1_8_i16.c: Regenerated.
1060         * generated/maxloc1_8_i2.c: Regenerated.
1061         * generated/maxloc1_8_i4.c: Regenerated.
1062         * generated/maxloc1_8_i8.c: Regenerated.
1063         * generated/maxloc1_8_r10.c: Regenerated.
1064         * generated/maxloc1_8_r16.c: Regenerated.
1065         * generated/maxloc1_8_r4.c: Regenerated.
1066         * generated/maxloc1_8_r8.c: Regenerated.
1067         * generated/maxval_i1.c: Regenerated.
1068         * generated/maxval_i16.c: Regenerated.
1069         * generated/maxval_i2.c: Regenerated.
1070         * generated/maxval_i4.c: Regenerated.
1071         * generated/maxval_i8.c: Regenerated.
1072         * generated/maxval_r10.c: Regenerated.
1073         * generated/maxval_r16.c: Regenerated.
1074         * generated/maxval_r4.c: Regenerated.
1075         * generated/maxval_r8.c: Regenerated.
1076         * generated/minloc0_16_i1.c: Regenerated.
1077         * generated/minloc0_16_i16.c: Regenerated.
1078         * generated/minloc0_16_i2.c: Regenerated.
1079         * generated/minloc0_16_i4.c: Regenerated.
1080         * generated/minloc0_16_i8.c: Regenerated.
1081         * generated/minloc0_16_r10.c: Regenerated.
1082         * generated/minloc0_16_r16.c: Regenerated.
1083         * generated/minloc0_16_r4.c: Regenerated.
1084         * generated/minloc0_16_r8.c: Regenerated.
1085         * generated/minloc0_4_i1.c: Regenerated.
1086         * generated/minloc0_4_i16.c: Regenerated.
1087         * generated/minloc0_4_i2.c: Regenerated.
1088         * generated/minloc0_4_i4.c: Regenerated.
1089         * generated/minloc0_4_i8.c: Regenerated.
1090         * generated/minloc0_4_r10.c: Regenerated.
1091         * generated/minloc0_4_r16.c: Regenerated.
1092         * generated/minloc0_4_r4.c: Regenerated.
1093         * generated/minloc0_4_r8.c: Regenerated.
1094         * generated/minloc0_8_i1.c: Regenerated.
1095         * generated/minloc0_8_i16.c: Regenerated.
1096         * generated/minloc0_8_i2.c: Regenerated.
1097         * generated/minloc0_8_i4.c: Regenerated.
1098         * generated/minloc0_8_i8.c: Regenerated.
1099         * generated/minloc0_8_r10.c: Regenerated.
1100         * generated/minloc0_8_r16.c: Regenerated.
1101         * generated/minloc0_8_r4.c: Regenerated.
1102         * generated/minloc0_8_r8.c: Regenerated.
1103         * generated/minloc1_16_i1.c: Regenerated.
1104         * generated/minloc1_16_i16.c: Regenerated.
1105         * generated/minloc1_16_i2.c: Regenerated.
1106         * generated/minloc1_16_i4.c: Regenerated.
1107         * generated/minloc1_16_i8.c: Regenerated.
1108         * generated/minloc1_16_r10.c: Regenerated.
1109         * generated/minloc1_16_r16.c: Regenerated.
1110         * generated/minloc1_16_r4.c: Regenerated.
1111         * generated/minloc1_16_r8.c: Regenerated.
1112         * generated/minloc1_4_i1.c: Regenerated.
1113         * generated/minloc1_4_i16.c: Regenerated.
1114         * generated/minloc1_4_i2.c: Regenerated.
1115         * generated/minloc1_4_i4.c: Regenerated.
1116         * generated/minloc1_4_i8.c: Regenerated.
1117         * generated/minloc1_4_r10.c: Regenerated.
1118         * generated/minloc1_4_r16.c: Regenerated.
1119         * generated/minloc1_4_r4.c: Regenerated.
1120         * generated/minloc1_4_r8.c: Regenerated.
1121         * generated/minloc1_8_i1.c: Regenerated.
1122         * generated/minloc1_8_i16.c: Regenerated.
1123         * generated/minloc1_8_i2.c: Regenerated.
1124         * generated/minloc1_8_i4.c: Regenerated.
1125         * generated/minloc1_8_i8.c: Regenerated.
1126         * generated/minloc1_8_r10.c: Regenerated.
1127         * generated/minloc1_8_r16.c: Regenerated.
1128         * generated/minloc1_8_r4.c: Regenerated.
1129         * generated/minloc1_8_r8.c: Regenerated.
1130         * generated/minval_i1.c: Regenerated.
1131         * generated/minval_i16.c: Regenerated.
1132         * generated/minval_i2.c: Regenerated.
1133         * generated/minval_i4.c: Regenerated.
1134         * generated/minval_i8.c: Regenerated.
1135         * generated/minval_r10.c: Regenerated.
1136         * generated/minval_r16.c: Regenerated.
1137         * generated/minval_r4.c: Regenerated.
1138         * generated/minval_r8.c: Regenerated.
1139         * generated/pack_c10.c: Regenerated.
1140         * generated/pack_c16.c: Regenerated.
1141         * generated/pack_c4.c: Regenerated.
1142         * generated/pack_c8.c: Regenerated.
1143         * generated/pack_i1.c: Regenerated.
1144         * generated/pack_i16.c: Regenerated.
1145         * generated/pack_i2.c: Regenerated.
1146         * generated/pack_i4.c: Regenerated.
1147         * generated/pack_i8.c: Regenerated.
1148         * generated/pack_r10.c: Regenerated.
1149         * generated/pack_r16.c: Regenerated.
1150         * generated/pack_r4.c: Regenerated.
1151         * generated/pack_r8.c: Regenerated.
1152         * generated/product_c10.c: Regenerated.
1153         * generated/product_c16.c: Regenerated.
1154         * generated/product_c4.c: Regenerated.
1155         * generated/product_c8.c: Regenerated.
1156         * generated/product_i1.c: Regenerated.
1157         * generated/product_i16.c: Regenerated.
1158         * generated/product_i2.c: Regenerated.
1159         * generated/product_i4.c: Regenerated.
1160         * generated/product_i8.c: Regenerated.
1161         * generated/product_r10.c: Regenerated.
1162         * generated/product_r16.c: Regenerated.
1163         * generated/product_r4.c: Regenerated.
1164         * generated/product_r8.c: Regenerated.
1165         * generated/reshape_c10.c: Regenerated.
1166         * generated/reshape_c16.c: Regenerated.
1167         * generated/reshape_c4.c: Regenerated.
1168         * generated/reshape_c8.c: Regenerated.
1169         * generated/reshape_i16.c: Regenerated.
1170         * generated/reshape_i4.c: Regenerated.
1171         * generated/reshape_i8.c: Regenerated.
1172         * generated/reshape_r10.c: Regenerated.
1173         * generated/reshape_r16.c: Regenerated.
1174         * generated/reshape_r4.c: Regenerated.
1175         * generated/reshape_r8.c: Regenerated.
1176         * generated/shape_i16.c: Regenerated.
1177         * generated/shape_i4.c: Regenerated.
1178         * generated/shape_i8.c: Regenerated.
1179         * generated/spread_c10.c: Regenerated.
1180         * generated/spread_c16.c: Regenerated.
1181         * generated/spread_c4.c: Regenerated.
1182         * generated/spread_c8.c: Regenerated.
1183         * generated/spread_i1.c: Regenerated.
1184         * generated/spread_i16.c: Regenerated.
1185         * generated/spread_i2.c: Regenerated.
1186         * generated/spread_i4.c: Regenerated.
1187         * generated/spread_i8.c: Regenerated.
1188         * generated/spread_r10.c: Regenerated.
1189         * generated/spread_r16.c: Regenerated.
1190         * generated/spread_r4.c: Regenerated.
1191         * generated/spread_r8.c: Regenerated.
1192         * generated/sum_c10.c: Regenerated.
1193         * generated/sum_c16.c: Regenerated.
1194         * generated/sum_c4.c: Regenerated.
1195         * generated/sum_c8.c: Regenerated.
1196         * generated/sum_i1.c: Regenerated.
1197         * generated/sum_i16.c: Regenerated.
1198         * generated/sum_i2.c: Regenerated.
1199         * generated/sum_i4.c: Regenerated.
1200         * generated/sum_i8.c: Regenerated.
1201         * generated/sum_r10.c: Regenerated.
1202         * generated/sum_r16.c: Regenerated.
1203         * generated/sum_r4.c: Regenerated.
1204         * generated/sum_r8.c: Regenerated.
1205         * generated/transpose_c10.c: Regenerated.
1206         * generated/transpose_c16.c: Regenerated.
1207         * generated/transpose_c4.c: Regenerated.
1208         * generated/transpose_c8.c: Regenerated.
1209         * generated/transpose_i16.c: Regenerated.
1210         * generated/transpose_i4.c: Regenerated.
1211         * generated/transpose_i8.c: Regenerated.
1212         * generated/transpose_r10.c: Regenerated.
1213         * generated/transpose_r16.c: Regenerated.
1214         * generated/transpose_r4.c: Regenerated.
1215         * generated/transpose_r8.c: Regenerated.
1216         * generated/unpack_c10.c: Regenerated.
1217         * generated/unpack_c16.c: Regenerated.
1218         * generated/unpack_c4.c: Regenerated.
1219         * generated/unpack_c8.c: Regenerated.
1220         * generated/unpack_i1.c: Regenerated.
1221         * generated/unpack_i16.c: Regenerated.
1222         * generated/unpack_i2.c: Regenerated.
1223         * generated/unpack_i4.c: Regenerated.
1224         * generated/unpack_i8.c: Regenerated.
1225         * generated/unpack_r10.c: Regenerated.
1226         * generated/unpack_r16.c: Regenerated.
1227         * generated/unpack_r4.c: Regenerated.
1228         * generated/unpack_r8.c: Regenerated.
1229
1230 2009-06-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1231
1232         * fmain.c (main): Don't PREFIX set_args.
1233         * libgfortran.h (set_args): Use iexport_proto.
1234         * runtime/main.c (set_args): Use iexport.
1235
1236 2009-06-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1237
1238         PR libfortran/40008
1239         * libgfortran.h: Define IOPARM_OPEN_HAS_NEWUNIT.
1240         * io/open.c (st_open): Don't error on negative unit number if NEWUNIT
1241         was specified. If NEWUNIT is specified, call new function to get the
1242         unique unit number and assign it.
1243         * io/io.h (st_parameter_open): Add pointer to newunit.  Add prototype for
1244         next_available_newunit. Add prototype for new function,
1245         get_unique_unit_number.
1246         * io/unit.c: Declare next_available_newunit. Define the first newunit
1247         number. (init_units): Initialize next_available_unit.
1248         (get_unique_unit_number): New function. Fix whitespace and comments.
1249         * io/transfer.c (data_transfer_init): Update error message to not be
1250         specific to OPEN statements.
1251
1252 2009-06-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1253
1254         PR libfortran/40334
1255         * io/list_read.c (list_formatted_read_scalar): Set the end file
1256         conditions after a return from EOF error.
1257
1258 2009-06-04  Janne Blomqvist  <jb@gcc.gnu.org>
1259
1260         PR libfortran/40330
1261         * io/format.c (free_format_hash_table): Also free and nullify hash key.
1262         (save_parsed_format): Copy string rather than pointer copy.
1263         
1264 2009-05-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1265
1266         PR fortran/40019
1267         * intrinsics/bit_intrinsics.c: New file.
1268         * gfortran.map (GFORTRAN_1.2): New list.
1269         * Makefile.am: Add intrinsics/bit_intrinsics.c.
1270         * Makefile.in: Regenerate.
1271
1272 2009-05-29  Janne Blomqvist  <jb@gcc.gnu.org>
1273
1274         PR libfortran/40190
1275         * configure.ac: Check for localtime_r and gmtime_r.
1276         * intrinsics/date_and_time.c: Add fallback implementations for
1277         localtime_r and gmtime_r.
1278         (date_and_time): Change to use localtime_r and gmtime_r instead of
1279         localtime and gmtime, respectively.
1280         (itime0): Use localtime_r instead of localtime.
1281         (ltime_0): Likewise.
1282         (gmtime_0): Use gmtime_r instead of gmtime.
1283         * config.h.in: Regenerated
1284         * configure: Regenerated.
1285
1286 2009-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
1287
1288         PR fortran/39178
1289         * runtime/main.c (store_exe_path): Remove static attribute.
1290         * libgfortran.h: Add back store_exe_path prototype.
1291
1292 2009-05-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
1293
1294         PR libfortran/40187
1295         * intrinsics/iso_c_binding.c (c_f_pointer_u0):  Take care
1296         of stride in "shape" argument.
1297
1298 2009-05-26  Tobias Burnus  <burnus@net-b.de>
1299
1300         PR fortran/39178
1301         * runtime/main.c (store_exe_path): Make static
1302         and multiple-times callable.
1303         (set_args): Call store_exe_path.
1304         * libgfortran.h: Remove store_exe_path prototype.
1305         * fmain.c (main): Remove store_exe_path call.
1306
1307 2009-05-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1308
1309         PR libfortran/37754
1310         * io/write_float.def: Simplify format calculation.
1311         
1312 2009-05-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1313
1314         PR fortran/22423
1315         * io/transfer.c (read_block_direct): Avoid warning.
1316         * runtime/string.c (compare0): Avoid warning.
1317
1318 2009-04-30  Janne Blomqvist  <jb@gcc.gnu.org>
1319
1320         PR libfortran/39667
1321         * io/file_pos.c (st_rewind): Don't truncate or flush.
1322         * io/intrinsics.c (fgetc): Flush if switching mode.
1323         (fputc): Likewise.
1324
1325 2009-04-18  Janne Blomqvist  <jb@gcc.gnu.org>
1326
1327         PR libfortran/39782
1328         * io/transfer.c (data_transfer_init): Don't flush before seek.
1329         (finalize_transfer): Remove extra flush.
1330
1331 2009-04-17  Janne Blomqvist  <jb@gcc.gnu.org>
1332
1333         * io/io.h (is_preconnected): Remove prototype.
1334         * io/unix.c (is_preconnected): Remove function.
1335
1336 2009-04-17  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1337
1338         * configure.ac: Test for -ffunction-sections -fdata-sections and
1339         set SECTION_FLAGS accordingly.
1340         * configure: Regenerate.
1341
1342         * Makefile.am: Add SECTION_FLAGS to AM_CFLAGS.
1343         * Makefile.in: Regenerate.
1344
1345 2009-04-15  Janne Blomqvist  <jb@gcc.gnu.org>
1346
1347         PR libfortran/38668
1348         * io/transfer.c (finalize_transfer): Don't flush for advance='no'.
1349
1350 2009-04-15 Danny Smith  <dannysmith@clear.net.nz>
1351
1352         * io/write.c (itoa) : Rename back to gfc_itoa.
1353         (write_i): Adjust call to write_decimal.
1354         (write_integer):  Use gfc_itoa.
1355
1356 2009-04-10  Janne Blomqvist  <jb@gcc.gnu.org>
1357
1358         * io/io.h (move_pos_offset): Remove prototype.
1359         * io/transfer.c (formatted_transfer_scalar_read): Use sseek
1360         instead of move_pos_offset.
1361         * io/unix.c (move_pos_offset): Remove.
1362
1363 2009-04-10  Janne Blomqvist  <jb@gcc.gnu.org>
1364
1365         PR libfortran/39665 libfortran/39702 libfortran/39709
1366         * io/io.h (st_parameter_dt): Revert aligned attribute from u.p.value.
1367         * io/list_read.c (read_complex): Read directly into user pointer.
1368         (read_real): Likewise.
1369         (list_formatted_read_scalar): Update read_complex and read_real calls.
1370         (nml_read_obj): Read directly into user pointer.
1371
1372 2009-04-09  Janne Blomqvist  <jb@gcc.gnu.org>
1373
1374         PR libfortran/39665
1375         * io/io.h (st_parameter_dt): Add aligned attribute to u.p.value.
1376         * io/read.c (convert_real): Add note about alignment requirements.
1377
1378 2009-04-09  Nick Clifton  <nickc@redhat.com>
1379
1380         * m4/cshift0.m4: Change copyright header to refer to version 3
1381         of the GNU General Public License with version 3.1 of the GCC
1382         Runtime Library Exception and to point readers at the COPYING3
1383         and COPYING3.RUNTIME files and the FSF's license web page.
1384         * c99_protos.h: Likewise.
1385         * config/fpu-387.h: Likewise.
1386         * config/fpu-aix.h: Likewise.
1387         * config/fpu-generic.h: Likewise.
1388         * config/fpu-glibc.h: Likewise.
1389         * config/fpu-sysv.h: Likewise.
1390         * intrinsics/abort.c: Likewise.
1391         * intrinsics/access.c: Likewise.
1392         * intrinsics/args.c: Likewise.
1393         * intrinsics/associated.c: Likewise.
1394         * intrinsics/c99_functions.c: Likewise.
1395         * intrinsics/chdir.c: Likewise.
1396         * intrinsics/chmod.c: Likewise.
1397         * intrinsics/clock.c: Likewise.
1398         * intrinsics/cpu_time.c: Likewise.
1399         * intrinsics/cshift0.c: Likewise.
1400         * intrinsics/ctime.c: Likewise.
1401         * intrinsics/date_and_time.c: Likewise.
1402         * intrinsics/dprod_r8.f90: Likewise.
1403         * intrinsics/dtime.c: Likewise.
1404         * intrinsics/env.c: Likewise.
1405         * intrinsics/eoshift0.c: Likewise.
1406         * intrinsics/eoshift2.c: Likewise.
1407         * intrinsics/erfc_scaled.c: Likewise.
1408         * intrinsics/erfc_scaled_inc.c: Likewise.
1409         * intrinsics/etime.c: Likewise.
1410         * intrinsics/exit.c: Likewise.
1411         * intrinsics/f2c_specifics.F90: Likewise.
1412         * intrinsics/fnum.c: Likewise.
1413         * intrinsics/gerror.c: Likewise.
1414         * intrinsics/getXid.c: Likewise.
1415         * intrinsics/getcwd.c: Likewise.
1416         * intrinsics/getlog.c: Likewise.
1417         * intrinsics/hostnm.c: Likewise.
1418         * intrinsics/ierrno.c: Likewise.
1419         * intrinsics/ishftc.c: Likewise.
1420         * intrinsics/iso_c_binding.c: Likewise.
1421         * intrinsics/iso_c_binding.h: Likewise.
1422         * intrinsics/iso_c_generated_procs.c: Likewise.
1423         * intrinsics/kill.c: Likewise.
1424         * intrinsics/link.c: Likewise.
1425         * intrinsics/malloc.c: Likewise.
1426         * intrinsics/move_alloc.c: Likewise.
1427         * intrinsics/mvbits.c: Likewise.
1428         * intrinsics/pack_generic.c: Likewise.
1429         * intrinsics/perror.c: Likewise.
1430         * intrinsics/rand.c: Likewise.
1431         * intrinsics/random.c: Likewise.
1432         * intrinsics/rename.c: Likewise.
1433         * intrinsics/reshape_generic.c: Likewise.
1434         * intrinsics/reshape_packed.c: Likewise.
1435         * intrinsics/selected_char_kind.c: Likewise.
1436         * intrinsics/selected_int_kind.f90: Likewise.
1437         * intrinsics/selected_real_kind.f90: Likewise.
1438         * intrinsics/signal.c: Likewise.
1439         * intrinsics/size.c: Likewise.
1440         * intrinsics/sleep.c: Likewise.
1441         * intrinsics/spread_generic.c: Likewise.
1442         * intrinsics/stat.c: Likewise.
1443         * intrinsics/string_intrinsics.c: Likewise.
1444         * intrinsics/string_intrinsics_inc.c: Likewise.
1445         * intrinsics/symlnk.c: Likewise.
1446         * intrinsics/system.c: Likewise.
1447         * intrinsics/system_clock.c: Likewise.
1448         * intrinsics/time.c: Likewise.
1449         * intrinsics/time_1.h: Likewise.
1450         * intrinsics/transpose_generic.c: Likewise.
1451         * intrinsics/umask.c: Likewise.
1452         * intrinsics/unlink.c: Likewise.
1453         * intrinsics/unpack_generic.c: Likewise.
1454         * io/close.c: Likewise.
1455         * io/fbuf.c: Likewise.
1456         * io/file_pos.c: Likewise.
1457         * io/format.c: Likewise.
1458         * io/inquire.c: Likewise.
1459         * io/intrinsics.c: Likewise.
1460         * io/io.h: Likewise.
1461         * io/list_read.c: Likewise.
1462         * io/lock.c: Likewise.
1463         * io/open.c: Likewise.
1464         * io/read.c: Likewise.
1465         * io/size_from_kind.c: Likewise.
1466         * io/transfer.c: Likewise.
1467         * io/unit.c: Likewise.
1468         * io/unix.c: Likewise.
1469         * io/write.c: Likewise.
1470         * io/write_float.def: Likewise.
1471         * libgfortran.h: Likewise.
1472         * m4/all.m4: Likewise.
1473         * m4/any.m4: Likewise.
1474         * m4/count.m4: Likewise.
1475         * m4/cshift1.m4: Likewise.
1476         * m4/eoshift1.m4: Likewise.
1477         * m4/eoshift3.m4: Likewise.
1478         * m4/exponent.m4: Likewise.
1479         * m4/fraction.m4: Likewise.
1480         * m4/head.m4: Likewise.
1481         * m4/in_pack.m4: Likewise.
1482         * m4/in_unpack.m4: Likewise.
1483         * m4/matmul.m4: Likewise.
1484         * m4/matmull.m4: Likewise.
1485         * m4/maxloc0.m4: Likewise.
1486         * m4/maxloc1.m4: Likewise.
1487         * m4/maxval.m4: Likewise.
1488         * m4/minloc0.m4: Likewise.
1489         * m4/minloc1.m4: Likewise.
1490         * m4/minval.m4: Likewise.
1491         * m4/nearest.m4: Likewise.
1492         * m4/pack.m4: Likewise.
1493         * m4/pow.m4: Likewise.
1494         * m4/product.m4: Likewise.
1495         * m4/reshape.m4: Likewise.
1496         * m4/rrspacing.m4: Likewise.
1497         * m4/set_exponent.m4: Likewise.
1498         * m4/shape.m4: Likewise.
1499         * m4/spacing.m4: Likewise.
1500         * m4/spread.m4: Likewise.
1501         * m4/sum.m4: Likewise.
1502         * m4/transpose.m4: Likewise.
1503         * m4/unpack.m4: Likewise.
1504         * runtime/backtrace.c: Likewise.
1505         * runtime/compile_options.c: Likewise.
1506         * runtime/convert_char.c: Likewise.
1507         * runtime/environ.c: Likewise.
1508         * runtime/error.c: Likewise.
1509         * runtime/in_pack_generic.c: Likewise.
1510         * runtime/in_unpack_generic.c: Likewise.
1511         * runtime/main.c: Likewise.
1512         * runtime/memory.c: Likewise.
1513         * runtime/pause.c: Likewise.
1514         * runtime/select.c: Likewise.
1515         * runtime/select_inc.c: Likewise.
1516         * runtime/stop.c: Likewise.
1517         * runtime/string.c: Likewise.
1518         * generated/_abs_c10.F90: Regenerate.
1519         * generated/_abs_c16.F90: Regenerate.
1520         * generated/_abs_c4.F90: Regenerate.
1521         * generated/_abs_c8.F90: Regenerate.
1522         * generated/_abs_i16.F90: Regenerate.
1523         * generated/_abs_i4.F90: Regenerate.
1524         * generated/_abs_i8.F90: Regenerate.
1525         * generated/_abs_r10.F90: Regenerate.
1526         * generated/_abs_r16.F90: Regenerate.
1527         * generated/_abs_r4.F90: Regenerate.
1528         * generated/_abs_r8.F90: Regenerate.
1529         * generated/_acos_r10.F90: Regenerate.
1530         * generated/_acos_r16.F90: Regenerate.
1531         * generated/_acos_r4.F90: Regenerate.
1532         * generated/_acos_r8.F90: Regenerate.
1533         * generated/_acosh_r10.F90: Regenerate.
1534         * generated/_acosh_r16.F90: Regenerate.
1535         * generated/_acosh_r4.F90: Regenerate.
1536         * generated/_acosh_r8.F90: Regenerate.
1537         * generated/_aimag_c10.F90: Regenerate.
1538         * generated/_aimag_c16.F90: Regenerate.
1539         * generated/_aimag_c4.F90: Regenerate.
1540         * generated/_aimag_c8.F90: Regenerate.
1541         * generated/_aint_r10.F90: Regenerate.
1542         * generated/_aint_r16.F90: Regenerate.
1543         * generated/_aint_r4.F90: Regenerate.
1544         * generated/_aint_r8.F90: Regenerate.
1545         * generated/_anint_r10.F90: Regenerate.
1546         * generated/_anint_r16.F90: Regenerate.
1547         * generated/_anint_r4.F90: Regenerate.
1548         * generated/_anint_r8.F90: Regenerate.
1549         * generated/_asin_r10.F90: Regenerate.
1550         * generated/_asin_r16.F90: Regenerate.
1551         * generated/_asin_r4.F90: Regenerate.
1552         * generated/_asin_r8.F90: Regenerate.
1553         * generated/_asinh_r10.F90: Regenerate.
1554         * generated/_asinh_r16.F90: Regenerate.
1555         * generated/_asinh_r4.F90: Regenerate.
1556         * generated/_asinh_r8.F90: Regenerate.
1557         * generated/_atan2_r10.F90: Regenerate.
1558         * generated/_atan2_r16.F90: Regenerate.
1559         * generated/_atan2_r4.F90: Regenerate.
1560         * generated/_atan2_r8.F90: Regenerate.
1561         * generated/_atan_r10.F90: Regenerate.
1562         * generated/_atan_r16.F90: Regenerate.
1563         * generated/_atan_r4.F90: Regenerate.
1564         * generated/_atan_r8.F90: Regenerate.
1565         * generated/_atanh_r10.F90: Regenerate.
1566         * generated/_atanh_r16.F90: Regenerate.
1567         * generated/_atanh_r4.F90: Regenerate.
1568         * generated/_atanh_r8.F90: Regenerate.
1569         * generated/_conjg_c10.F90: Regenerate.
1570         * generated/_conjg_c16.F90: Regenerate.
1571         * generated/_conjg_c4.F90: Regenerate.
1572         * generated/_conjg_c8.F90: Regenerate.
1573         * generated/_cos_c10.F90: Regenerate.
1574         * generated/_cos_c16.F90: Regenerate.
1575         * generated/_cos_c4.F90: Regenerate.
1576         * generated/_cos_c8.F90: Regenerate.
1577         * generated/_cos_r10.F90: Regenerate.
1578         * generated/_cos_r16.F90: Regenerate.
1579         * generated/_cos_r4.F90: Regenerate.
1580         * generated/_cos_r8.F90: Regenerate.
1581         * generated/_cosh_r10.F90: Regenerate.
1582         * generated/_cosh_r16.F90: Regenerate.
1583         * generated/_cosh_r4.F90: Regenerate.
1584         * generated/_cosh_r8.F90: Regenerate.
1585         * generated/_dim_i16.F90: Regenerate.
1586         * generated/_dim_i4.F90: Regenerate.
1587         * generated/_dim_i8.F90: Regenerate.
1588         * generated/_dim_r10.F90: Regenerate.
1589         * generated/_dim_r16.F90: Regenerate.
1590         * generated/_dim_r4.F90: Regenerate.
1591         * generated/_dim_r8.F90: Regenerate.
1592         * generated/_exp_c10.F90: Regenerate.
1593         * generated/_exp_c16.F90: Regenerate.
1594         * generated/_exp_c4.F90: Regenerate.
1595         * generated/_exp_c8.F90: Regenerate.
1596         * generated/_exp_r10.F90: Regenerate.
1597         * generated/_exp_r16.F90: Regenerate.
1598         * generated/_exp_r4.F90: Regenerate.
1599         * generated/_exp_r8.F90: Regenerate.
1600         * generated/_log10_r10.F90: Regenerate.
1601         * generated/_log10_r16.F90: Regenerate.
1602         * generated/_log10_r4.F90: Regenerate.
1603         * generated/_log10_r8.F90: Regenerate.
1604         * generated/_log_c10.F90: Regenerate.
1605         * generated/_log_c16.F90: Regenerate.
1606         * generated/_log_c4.F90: Regenerate.
1607         * generated/_log_c8.F90: Regenerate.
1608         * generated/_log_r10.F90: Regenerate.
1609         * generated/_log_r16.F90: Regenerate.
1610         * generated/_log_r4.F90: Regenerate.
1611         * generated/_log_r8.F90: Regenerate.
1612         * generated/_mod_i16.F90: Regenerate.
1613         * generated/_mod_i4.F90: Regenerate.
1614         * generated/_mod_i8.F90: Regenerate.
1615         * generated/_mod_r10.F90: Regenerate.
1616         * generated/_mod_r16.F90: Regenerate.
1617         * generated/_mod_r4.F90: Regenerate.
1618         * generated/_mod_r8.F90: Regenerate.
1619         * generated/_sign_i16.F90: Regenerate.
1620         * generated/_sign_i4.F90: Regenerate.
1621         * generated/_sign_i8.F90: Regenerate.
1622         * generated/_sign_r10.F90: Regenerate.
1623         * generated/_sign_r16.F90: Regenerate.
1624         * generated/_sign_r4.F90: Regenerate.
1625         * generated/_sign_r8.F90: Regenerate.
1626         * generated/_sin_c10.F90: Regenerate.
1627         * generated/_sin_c16.F90: Regenerate.
1628         * generated/_sin_c4.F90: Regenerate.
1629         * generated/_sin_c8.F90: Regenerate.
1630         * generated/_sin_r10.F90: Regenerate.
1631         * generated/_sin_r16.F90: Regenerate.
1632         * generated/_sin_r4.F90: Regenerate.
1633         * generated/_sin_r8.F90: Regenerate.
1634         * generated/_sinh_r10.F90: Regenerate.
1635         * generated/_sinh_r16.F90: Regenerate.
1636         * generated/_sinh_r4.F90: Regenerate.
1637         * generated/_sinh_r8.F90: Regenerate.
1638         * generated/_sqrt_c10.F90: Regenerate.
1639         * generated/_sqrt_c16.F90: Regenerate.
1640         * generated/_sqrt_c4.F90: Regenerate.
1641         * generated/_sqrt_c8.F90: Regenerate.
1642         * generated/_sqrt_r10.F90: Regenerate.
1643         * generated/_sqrt_r16.F90: Regenerate.
1644         * generated/_sqrt_r4.F90: Regenerate.
1645         * generated/_sqrt_r8.F90: Regenerate.
1646         * generated/_tan_r10.F90: Regenerate.
1647         * generated/_tan_r16.F90: Regenerate.
1648         * generated/_tan_r4.F90: Regenerate.
1649         * generated/_tan_r8.F90: Regenerate.
1650         * generated/_tanh_r10.F90: Regenerate.
1651         * generated/_tanh_r16.F90: Regenerate.
1652         * generated/_tanh_r4.F90: Regenerate.
1653         * generated/_tanh_r8.F90: Regenerate.
1654         * generated/all_l1.c: Regenerate.
1655         * generated/all_l16.c: Regenerate.
1656         * generated/all_l2.c: Regenerate.
1657         * generated/all_l4.c: Regenerate.
1658         * generated/all_l8.c: Regenerate.
1659         * generated/any_l1.c: Regenerate.
1660         * generated/any_l16.c: Regenerate.
1661         * generated/any_l2.c: Regenerate.
1662         * generated/any_l4.c: Regenerate.
1663         * generated/any_l8.c: Regenerate.
1664         * generated/count_16_l.c: Regenerate.
1665         * generated/count_1_l.c: Regenerate.
1666         * generated/count_2_l.c: Regenerate.
1667         * generated/count_4_l.c: Regenerate.
1668         * generated/count_8_l.c: Regenerate.
1669         * generated/cshift0_c10.c: Regenerate.
1670         * generated/cshift0_c16.c: Regenerate.
1671         * generated/cshift0_c4.c: Regenerate.
1672         * generated/cshift0_c8.c: Regenerate.
1673         * generated/cshift0_i1.c: Regenerate.
1674         * generated/cshift0_i16.c: Regenerate.
1675         * generated/cshift0_i2.c: Regenerate.
1676         * generated/cshift0_i4.c: Regenerate.
1677         * generated/cshift0_i8.c: Regenerate.
1678         * generated/cshift0_r10.c: Regenerate.
1679         * generated/cshift0_r16.c: Regenerate.
1680         * generated/cshift0_r4.c: Regenerate.
1681         * generated/cshift0_r8.c: Regenerate.
1682         * generated/cshift1_16.c: Regenerate.
1683         * generated/cshift1_4.c: Regenerate.
1684         * generated/cshift1_8.c: Regenerate.
1685         * generated/eoshift1_16.c: Regenerate.
1686         * generated/eoshift1_4.c: Regenerate.
1687         * generated/eoshift1_8.c: Regenerate.
1688         * generated/eoshift3_16.c: Regenerate.
1689         * generated/eoshift3_4.c: Regenerate.
1690         * generated/eoshift3_8.c: Regenerate.
1691         * generated/exponent_r10.c: Regenerate.
1692         * generated/exponent_r16.c: Regenerate.
1693         * generated/exponent_r4.c: Regenerate.
1694         * generated/exponent_r8.c: Regenerate.
1695         * generated/fraction_r10.c: Regenerate.
1696         * generated/fraction_r16.c: Regenerate.
1697         * generated/fraction_r4.c: Regenerate.
1698         * generated/fraction_r8.c: Regenerate.
1699         * generated/in_pack_c10.c: Regenerate.
1700         * generated/in_pack_c16.c: Regenerate.
1701         * generated/in_pack_c4.c: Regenerate.
1702         * generated/in_pack_c8.c: Regenerate.
1703         * generated/in_pack_i1.c: Regenerate.
1704         * generated/in_pack_i16.c: Regenerate.
1705         * generated/in_pack_i2.c: Regenerate.
1706         * generated/in_pack_i4.c: Regenerate.
1707         * generated/in_pack_i8.c: Regenerate.
1708         * generated/in_pack_r10.c: Regenerate.
1709         * generated/in_pack_r16.c: Regenerate.
1710         * generated/in_pack_r4.c: Regenerate.
1711         * generated/in_pack_r8.c: Regenerate.
1712         * generated/in_unpack_c10.c: Regenerate.
1713         * generated/in_unpack_c16.c: Regenerate.
1714         * generated/in_unpack_c4.c: Regenerate.
1715         * generated/in_unpack_c8.c: Regenerate.
1716         * generated/in_unpack_i1.c: Regenerate.
1717         * generated/in_unpack_i16.c: Regenerate.
1718         * generated/in_unpack_i2.c: Regenerate.
1719         * generated/in_unpack_i4.c: Regenerate.
1720         * generated/in_unpack_i8.c: Regenerate.
1721         * generated/in_unpack_r10.c: Regenerate.
1722         * generated/in_unpack_r16.c: Regenerate.
1723         * generated/in_unpack_r4.c: Regenerate.
1724         * generated/in_unpack_r8.c: Regenerate.
1725         * generated/matmul_c10.c: Regenerate.
1726         * generated/matmul_c16.c: Regenerate.
1727         * generated/matmul_c4.c: Regenerate.
1728         * generated/matmul_c8.c: Regenerate.
1729         * generated/matmul_i1.c: Regenerate.
1730         * generated/matmul_i16.c: Regenerate.
1731         * generated/matmul_i2.c: Regenerate.
1732         * generated/matmul_i4.c: Regenerate.
1733         * generated/matmul_i8.c: Regenerate.
1734         * generated/matmul_l16.c: Regenerate.
1735         * generated/matmul_l4.c: Regenerate.
1736         * generated/matmul_l8.c: Regenerate.
1737         * generated/matmul_r10.c: Regenerate.
1738         * generated/matmul_r16.c: Regenerate.
1739         * generated/matmul_r4.c: Regenerate.
1740         * generated/matmul_r8.c: Regenerate.
1741         * generated/maxloc0_16_i1.c: Regenerate.
1742         * generated/maxloc0_16_i16.c: Regenerate.
1743         * generated/maxloc0_16_i2.c: Regenerate.
1744         * generated/maxloc0_16_i4.c: Regenerate.
1745         * generated/maxloc0_16_i8.c: Regenerate.
1746         * generated/maxloc0_16_r10.c: Regenerate.
1747         * generated/maxloc0_16_r16.c: Regenerate.
1748         * generated/maxloc0_16_r4.c: Regenerate.
1749         * generated/maxloc0_16_r8.c: Regenerate.
1750         * generated/maxloc0_4_i1.c: Regenerate.
1751         * generated/maxloc0_4_i16.c: Regenerate.
1752         * generated/maxloc0_4_i2.c: Regenerate.
1753         * generated/maxloc0_4_i4.c: Regenerate.
1754         * generated/maxloc0_4_i8.c: Regenerate.
1755         * generated/maxloc0_4_r10.c: Regenerate.
1756         * generated/maxloc0_4_r16.c: Regenerate.
1757         * generated/maxloc0_4_r4.c: Regenerate.
1758         * generated/maxloc0_4_r8.c: Regenerate.
1759         * generated/maxloc0_8_i1.c: Regenerate.
1760         * generated/maxloc0_8_i16.c: Regenerate.
1761         * generated/maxloc0_8_i2.c: Regenerate.
1762         * generated/maxloc0_8_i4.c: Regenerate.
1763         * generated/maxloc0_8_i8.c: Regenerate.
1764         * generated/maxloc0_8_r10.c: Regenerate.
1765         * generated/maxloc0_8_r16.c: Regenerate.
1766         * generated/maxloc0_8_r4.c: Regenerate.
1767         * generated/maxloc0_8_r8.c: Regenerate.
1768         * generated/maxloc1_16_i1.c: Regenerate.
1769         * generated/maxloc1_16_i16.c: Regenerate.
1770         * generated/maxloc1_16_i2.c: Regenerate.
1771         * generated/maxloc1_16_i4.c: Regenerate.
1772         * generated/maxloc1_16_i8.c: Regenerate.
1773         * generated/maxloc1_16_r10.c: Regenerate.
1774         * generated/maxloc1_16_r16.c: Regenerate.
1775         * generated/maxloc1_16_r4.c: Regenerate.
1776         * generated/maxloc1_16_r8.c: Regenerate.
1777         * generated/maxloc1_4_i1.c: Regenerate.
1778         * generated/maxloc1_4_i16.c: Regenerate.
1779         * generated/maxloc1_4_i2.c: Regenerate.
1780         * generated/maxloc1_4_i4.c: Regenerate.
1781         * generated/maxloc1_4_i8.c: Regenerate.
1782         * generated/maxloc1_4_r10.c: Regenerate.
1783         * generated/maxloc1_4_r16.c: Regenerate.
1784         * generated/maxloc1_4_r4.c: Regenerate.
1785         * generated/maxloc1_4_r8.c: Regenerate.
1786         * generated/maxloc1_8_i1.c: Regenerate.
1787         * generated/maxloc1_8_i16.c: Regenerate.
1788         * generated/maxloc1_8_i2.c: Regenerate.
1789         * generated/maxloc1_8_i4.c: Regenerate.
1790         * generated/maxloc1_8_i8.c: Regenerate.
1791         * generated/maxloc1_8_r10.c: Regenerate.
1792         * generated/maxloc1_8_r16.c: Regenerate.
1793         * generated/maxloc1_8_r4.c: Regenerate.
1794         * generated/maxloc1_8_r8.c: Regenerate.
1795         * generated/maxval_i1.c: Regenerate.
1796         * generated/maxval_i16.c: Regenerate.
1797         * generated/maxval_i2.c: Regenerate.
1798         * generated/maxval_i4.c: Regenerate.
1799         * generated/maxval_i8.c: Regenerate.
1800         * generated/maxval_r10.c: Regenerate.
1801         * generated/maxval_r16.c: Regenerate.
1802         * generated/maxval_r4.c: Regenerate.
1803         * generated/maxval_r8.c: Regenerate.
1804         * generated/minloc0_16_i1.c: Regenerate.
1805         * generated/minloc0_16_i16.c: Regenerate.
1806         * generated/minloc0_16_i2.c: Regenerate.
1807         * generated/minloc0_16_i4.c: Regenerate.
1808         * generated/minloc0_16_i8.c: Regenerate.
1809         * generated/minloc0_16_r10.c: Regenerate.
1810         * generated/minloc0_16_r16.c: Regenerate.
1811         * generated/minloc0_16_r4.c: Regenerate.
1812         * generated/minloc0_16_r8.c: Regenerate.
1813         * generated/minloc0_4_i1.c: Regenerate.
1814         * generated/minloc0_4_i16.c: Regenerate.
1815         * generated/minloc0_4_i2.c: Regenerate.
1816         * generated/minloc0_4_i4.c: Regenerate.
1817         * generated/minloc0_4_i8.c: Regenerate.
1818         * generated/minloc0_4_r10.c: Regenerate.
1819         * generated/minloc0_4_r16.c: Regenerate.
1820         * generated/minloc0_4_r4.c: Regenerate.
1821         * generated/minloc0_4_r8.c: Regenerate.
1822         * generated/minloc0_8_i1.c: Regenerate.
1823         * generated/minloc0_8_i16.c: Regenerate.
1824         * generated/minloc0_8_i2.c: Regenerate.
1825         * generated/minloc0_8_i4.c: Regenerate.
1826         * generated/minloc0_8_i8.c: Regenerate.
1827         * generated/minloc0_8_r10.c: Regenerate.
1828         * generated/minloc0_8_r16.c: Regenerate.
1829         * generated/minloc0_8_r4.c: Regenerate.
1830         * generated/minloc0_8_r8.c: Regenerate.
1831         * generated/minloc1_16_i1.c: Regenerate.
1832         * generated/minloc1_16_i16.c: Regenerate.
1833         * generated/minloc1_16_i2.c: Regenerate.
1834         * generated/minloc1_16_i4.c: Regenerate.
1835         * generated/minloc1_16_i8.c: Regenerate.
1836         * generated/minloc1_16_r10.c: Regenerate.
1837         * generated/minloc1_16_r16.c: Regenerate.
1838         * generated/minloc1_16_r4.c: Regenerate.
1839         * generated/minloc1_16_r8.c: Regenerate.
1840         * generated/minloc1_4_i1.c: Regenerate.
1841         * generated/minloc1_4_i16.c: Regenerate.
1842         * generated/minloc1_4_i2.c: Regenerate.
1843         * generated/minloc1_4_i4.c: Regenerate.
1844         * generated/minloc1_4_i8.c: Regenerate.
1845         * generated/minloc1_4_r10.c: Regenerate.
1846         * generated/minloc1_4_r16.c: Regenerate.
1847         * generated/minloc1_4_r4.c: Regenerate.
1848         * generated/minloc1_4_r8.c: Regenerate.
1849         * generated/minloc1_8_i1.c: Regenerate.
1850         * generated/minloc1_8_i16.c: Regenerate.
1851         * generated/minloc1_8_i2.c: Regenerate.
1852         * generated/minloc1_8_i4.c: Regenerate.
1853         * generated/minloc1_8_i8.c: Regenerate.
1854         * generated/minloc1_8_r10.c: Regenerate.
1855         * generated/minloc1_8_r16.c: Regenerate.
1856         * generated/minloc1_8_r4.c: Regenerate.
1857         * generated/minloc1_8_r8.c: Regenerate.
1858         * generated/minval_i1.c: Regenerate.
1859         * generated/minval_i16.c: Regenerate.
1860         * generated/minval_i2.c: Regenerate.
1861         * generated/minval_i4.c: Regenerate.
1862         * generated/minval_i8.c: Regenerate.
1863         * generated/minval_r10.c: Regenerate.
1864         * generated/minval_r16.c: Regenerate.
1865         * generated/minval_r4.c: Regenerate.
1866         * generated/minval_r8.c: Regenerate.
1867         * generated/misc_specifics.F90: Regenerate.
1868         * generated/nearest_r10.c: Regenerate.
1869         * generated/nearest_r16.c: Regenerate.
1870         * generated/nearest_r4.c: Regenerate.
1871         * generated/nearest_r8.c: Regenerate.
1872         * generated/pack_c10.c: Regenerate.
1873         * generated/pack_c16.c: Regenerate.
1874         * generated/pack_c4.c: Regenerate.
1875         * generated/pack_c8.c: Regenerate.
1876         * generated/pack_i1.c: Regenerate.
1877         * generated/pack_i16.c: Regenerate.
1878         * generated/pack_i2.c: Regenerate.
1879         * generated/pack_i4.c: Regenerate.
1880         * generated/pack_i8.c: Regenerate.
1881         * generated/pack_r10.c: Regenerate.
1882         * generated/pack_r16.c: Regenerate.
1883         * generated/pack_r4.c: Regenerate.
1884         * generated/pack_r8.c: Regenerate.
1885         * generated/pow_c10_i16.c: Regenerate.
1886         * generated/pow_c10_i4.c: Regenerate.
1887         * generated/pow_c10_i8.c: Regenerate.
1888         * generated/pow_c16_i16.c: Regenerate.
1889         * generated/pow_c16_i4.c: Regenerate.
1890         * generated/pow_c16_i8.c: Regenerate.
1891         * generated/pow_c4_i16.c: Regenerate.
1892         * generated/pow_c4_i4.c: Regenerate.
1893         * generated/pow_c4_i8.c: Regenerate.
1894         * generated/pow_c8_i16.c: Regenerate.
1895         * generated/pow_c8_i4.c: Regenerate.
1896         * generated/pow_c8_i8.c: Regenerate.
1897         * generated/pow_i16_i16.c: Regenerate.
1898         * generated/pow_i16_i4.c: Regenerate.
1899         * generated/pow_i16_i8.c: Regenerate.
1900         * generated/pow_i4_i16.c: Regenerate.
1901         * generated/pow_i4_i4.c: Regenerate.
1902         * generated/pow_i4_i8.c: Regenerate.
1903         * generated/pow_i8_i16.c: Regenerate.
1904         * generated/pow_i8_i4.c: Regenerate.
1905         * generated/pow_i8_i8.c: Regenerate.
1906         * generated/pow_r10_i16.c: Regenerate.
1907         * generated/pow_r10_i8.c: Regenerate.
1908         * generated/pow_r16_i16.c: Regenerate.
1909         * generated/pow_r16_i8.c: Regenerate.
1910         * generated/pow_r4_i16.c: Regenerate.
1911         * generated/pow_r4_i8.c: Regenerate.
1912         * generated/pow_r8_i16.c: Regenerate.
1913         * generated/pow_r8_i8.c: Regenerate.
1914         * generated/product_c10.c: Regenerate.
1915         * generated/product_c16.c: Regenerate.
1916         * generated/product_c4.c: Regenerate.
1917         * generated/product_c8.c: Regenerate.
1918         * generated/product_i1.c: Regenerate.
1919         * generated/product_i16.c: Regenerate.
1920         * generated/product_i2.c: Regenerate.
1921         * generated/product_i4.c: Regenerate.
1922         * generated/product_i8.c: Regenerate.
1923         * generated/product_r10.c: Regenerate.
1924         * generated/product_r16.c: Regenerate.
1925         * generated/product_r4.c: Regenerate.
1926         * generated/product_r8.c: Regenerate.
1927         * generated/reshape_c10.c: Regenerate.
1928         * generated/reshape_c16.c: Regenerate.
1929         * generated/reshape_c4.c: Regenerate.
1930         * generated/reshape_c8.c: Regenerate.
1931         * generated/reshape_i16.c: Regenerate.
1932         * generated/reshape_i4.c: Regenerate.
1933         * generated/reshape_i8.c: Regenerate.
1934         * generated/reshape_r10.c: Regenerate.
1935         * generated/reshape_r16.c: Regenerate.
1936         * generated/reshape_r4.c: Regenerate.
1937         * generated/reshape_r8.c: Regenerate.
1938         * generated/rrspacing_r10.c: Regenerate.
1939         * generated/rrspacing_r16.c: Regenerate.
1940         * generated/rrspacing_r4.c: Regenerate.
1941         * generated/rrspacing_r8.c: Regenerate.
1942         * generated/set_exponent_r10.c: Regenerate.
1943         * generated/set_exponent_r16.c: Regenerate.
1944         * generated/set_exponent_r4.c: Regenerate.
1945         * generated/set_exponent_r8.c: Regenerate.
1946         * generated/shape_i16.c: Regenerate.
1947         * generated/shape_i4.c: Regenerate.
1948         * generated/shape_i8.c: Regenerate.
1949         * generated/spacing_r10.c: Regenerate.
1950         * generated/spacing_r16.c: Regenerate.
1951         * generated/spacing_r4.c: Regenerate.
1952         * generated/spacing_r8.c: Regenerate.
1953         * generated/spread_c10.c: Regenerate.
1954         * generated/spread_c16.c: Regenerate.
1955         * generated/spread_c4.c: Regenerate.
1956         * generated/spread_c8.c: Regenerate.
1957         * generated/spread_i1.c: Regenerate.
1958         * generated/spread_i16.c: Regenerate.
1959         * generated/spread_i2.c: Regenerate.
1960         * generated/spread_i4.c: Regenerate.
1961         * generated/spread_i8.c: Regenerate.
1962         * generated/spread_r10.c: Regenerate.
1963         * generated/spread_r16.c: Regenerate.
1964         * generated/spread_r4.c: Regenerate.
1965         * generated/spread_r8.c: Regenerate.
1966         * generated/sum_c10.c: Regenerate.
1967         * generated/sum_c16.c: Regenerate.
1968         * generated/sum_c4.c: Regenerate.
1969         * generated/sum_c8.c: Regenerate.
1970         * generated/sum_i1.c: Regenerate.
1971         * generated/sum_i16.c: Regenerate.
1972         * generated/sum_i2.c: Regenerate.
1973         * generated/sum_i4.c: Regenerate.
1974         * generated/sum_i8.c: Regenerate.
1975         * generated/sum_r10.c: Regenerate.
1976         * generated/sum_r16.c: Regenerate.
1977         * generated/sum_r4.c: Regenerate.
1978         * generated/sum_r8.c: Regenerate.
1979         * generated/transpose_c10.c: Regenerate.
1980         * generated/transpose_c16.c: Regenerate.
1981         * generated/transpose_c4.c: Regenerate.
1982         * generated/transpose_c8.c: Regenerate.
1983         * generated/transpose_i16.c: Regenerate.
1984         * generated/transpose_i4.c: Regenerate.
1985         * generated/transpose_i8.c: Regenerate.
1986         * generated/transpose_r10.c: Regenerate.
1987         * generated/transpose_r16.c: Regenerate.
1988         * generated/transpose_r4.c: Regenerate.
1989         * generated/transpose_r8.c: Regenerate.
1990         * generated/unpack_c10.c: Regenerate.
1991         * generated/unpack_c16.c: Regenerate.
1992         * generated/unpack_c4.c: Regenerate.
1993         * generated/unpack_c8.c: Regenerate.
1994         * generated/unpack_i1.c: Regenerate.
1995         * generated/unpack_i16.c: Regenerate.
1996         * generated/unpack_i2.c: Regenerate.
1997         * generated/unpack_i4.c: Regenerate.
1998         * generated/unpack_i8.c: Regenerate.
1999         * generated/unpack_r10.c: Regenerate.
2000         * generated/unpack_r16.c: Regenerate.
2001         * generated/unpack_r4.c: Regenerate.
2002         * generated/unpack_r8.c: Regenerate.
2003
2004 2009-04-08  Janne Blomqvist  <jb@gcc.gnu.org>
2005
2006         * io/open.c (already_open): Test for POSIX close return value.
2007         * io/unit.c (close_unit_1): Likewise.
2008         * io/unix.c (raw_close): Return 0 for success for preconnected units.
2009
2010 2009-04-08  Janne Blomqvist  <jb@gcc.gnu.org>
2011
2012         * runtime/string.c (compare0): Use gfc_charlen_type.
2013         * runtime/error.c (gfc_itoa): Move to io/write.c
2014         (xtoa): Rename to gfc_xtoa.
2015         * runtime/backtrace.c (show_backtrace): Call gfc_xtoa.
2016         * intrinsics/cshift0.c (cshift0): Use index_type for shift arg.
2017         * intrinsics/date_and_time.c (date_and_time): Use index_type.
2018         (itime_i4): Likewise.
2019         (itime_i8): Likewise.
2020         (idate_i4): Likewise.
2021         (idate_i8): Likewise.
2022         (gmtime_i4): Likewise.
2023         (gmtime_i8): Likewise.
2024         (ltime_i4): Likewise.
2025         (ltime_i8): Likewise.
2026         * libgfortran.h (gfc_itoa): Remove prototype.
2027         (xtoa): Rename prototype to gfc_xtoa.
2028         * io/list_read.c (nml_read_obj): Use size_t for string length.
2029         * io/transfer.c (read_block_direct): Change nbytes arg from
2030         pointer to value.
2031         (unformatted_read): Minor cleanup, call read_block_directly properly.
2032         (skip_record): Use ssize_t.
2033         (next_record_w_unf): Avoid stell() call by calling sseek with SEEK_CUR.
2034         (iolength_transfer): Make sure to multiply before cast.
2035         * io/intrinsics.c (fgetc): Remove unnecessary variable.
2036         * io/format.c (format_hash): Use gfc_charlen_type.
2037         * io/write.c (itoa): Move from runtime/error.c:gfc_itoa, rename,
2038         make static.
2039         (write_i): Call with pointer to itoa.
2040         (write_z): Call with pointer to gfc_xtoa.
2041         (write_integer): Pointer to itoa.
2042         (nml_write_obj): Type cleanup, don't call strlen in loop.
2043         
2044 2009-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2045
2046         PR libgfortran/39664
2047         * io/unix.c (raw_close): Don't close STDOUT_FILENO,
2048         STDERR_FILENO nor STDIN_FILENO.
2049
2050 2009-04-06  David Edelsohn  <edelsohn@gnu.org>
2051         
2052         * io/io.h (struct stream): Rename truncate to trunc.
2053         (struncate): Same.
2054         * io/unix.c (raw_init): Rename truncate to trunc.
2055         (buf_init): Same.
2056         (open_internal): Same.
2057         
2058 2009-04-05  Daniel Kraft  <d@domob.eu>
2059
2060         PR fortran/38654
2061         * io/read.c (read_f): Reworked to speed up floating point parsing.
2062         (convert_real): Use pointer-casting instead of memcpy and temporaries.
2063
2064 2009-04-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2065
2066         PR libfortran/37754
2067         * io/io.h (format_hash_entry): New structure for hash table.
2068         (format_hash_table): The hash table itself.
2069         (free_format_data): Revise function prototype.
2070         (free_format_hash_table, init_format_hash,
2071         free_format_hash): New function prototypes.
2072         * io/unit.c (close_unit_1): Use free_format_hash_table.
2073         * io/transfer.c (st_read_done, st_write_done): Free format data if
2074         internal unit.
2075         * io/format.c (free_format_hash_table): New function that frees any
2076         memory allocated previously for cached format data.
2077         (reset_node): New static helper function to reset the format counters
2078         for a format node.
2079         (reset_fnode_counters): New static function recursively calls reset_node
2080         to traverse the fnode tree.
2081         (format_hash): New simple hash function based on XOR, probabalistic,
2082         tosses collisions.
2083         (save_parsed_format): New static function to save the parsed format
2084         data to use again.
2085         (find_parsed_format): New static function searches the hash table
2086         looking for a match.
2087         (free_format_data): Revised to accept pointer to format data rather than
2088         the dtp pointer so that the function can be used in more places.
2089         (format_lex): Editorial.
2090         (parse_format_list): Set flag used to determine of format data hashing
2091         is to be used.  Internal units are not persistent enough for this.
2092         (revert): Move to ne location in file.
2093         (parse_format): Use new functions to look for previously parsed
2094         format strings and use them rather than re-parse.  If not found, saves
2095         the parsed format data for later use.
2096         
2097 2009-04-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2098
2099         PR libfortran/37754
2100         * io/transfer.c (formatted_transfer_scalar): Remove this function by
2101         factoring it into two new functions, one for read and one for write,
2102         eliminating all the conditionals for read or write mode.
2103         (formatted transfer_scalar_read): New function.
2104         (formatted transfer_scalar_write): New function.
2105         (formatted_transfer): Use new functions.
2106
2107 2009-04-05  Janne Blomqvist  <jb@gcc.gnu.org>
2108
2109         PR libfortran/25561 libfortran/37754
2110         * io/io.h (struct stream): Define new stream interface function
2111         pointers, and inline functions for accessing it.
2112         (struct fbuf): Use int instead of size_t, remove flushed element.
2113         (mem_alloc_w): New prototype.
2114         (mem_alloc_r): New prototype.
2115         (stream_at_bof): Remove prototype.
2116         (stream_at_eof): Remove prototype.
2117         (file_position): Remove prototype.
2118         (flush): Remove prototype.
2119         (stream_offset): Remove prototype.
2120         (unit_truncate): New prototype.
2121         (read_block_form): Change to return pointer, int* argument.
2122         (hit_eof): New prototype.
2123         (fbuf_init): Change prototype.
2124         (fbuf_reset): Change prototype.
2125         (fbuf_alloc): Change prototype.
2126         (fbuf_flush): Change prototype.
2127         (fbuf_seek): Change prototype.
2128         (fbuf_read): New prototype.
2129         (fbuf_getc_refill): New prototype.
2130         (fbuf_getc): New inline function.
2131         * io/fbuf.c (fbuf_init): Use int, get rid of flushed.
2132         (fbuf_debug): New function.
2133         (fbuf_reset): Flush, and return position offset.
2134         (fbuf_alloc): Simplify, don't flush, just realloc.
2135         (fbuf_flush): Make usable for read mode, salvage remaining bytes.
2136         (fbuf_seek): New whence argument.
2137         (fbuf_read): New function.
2138         (fbuf_getc_refill): New function.
2139         * io/file_pos.c (formatted_backspace): Use new stream interface.
2140         (unformatted_backspace): Likewise.
2141         (st_backspace): Make sure format buffer is reset, use new stream
2142         interface, use unit_truncate.
2143         (st_endfile): Likewise.
2144         (st_rewind): Likewise.
2145         * io/intrinsics.c: Use new stream interface.
2146         * io/list_read.c (push_char): Don't use u.p.scratch, use realloc
2147         to resize.
2148         (free_saved): Don't check u.p.scratch.
2149         (next_char): Use new stream interface, use fbuf_getc() for external files.
2150         (finish_list_read): flush format buffer.
2151         (nml_query): Update to use modified interface:s
2152         * io/open.c (test_endfile): Use new stream interface.
2153         (edit_modes): Likewise.
2154         (new_unit): Likewise, set bytes_left to 1 for stream files.
2155         * io/read.c (read_l): Use new read_block_form interface.
2156         (read_utf8): Likewise.
2157         (read_utf8_char1): Likewise.
2158         (read_default_char1): Likewise.
2159         (read_utf8_char4): Likewise.
2160         (read_default_char4): Likewise.
2161         (read_a): Likewise.
2162         (read_a_char4): Likewise.
2163         (read_decimal): Likewise.
2164         (read_radix): Likewise.
2165         (read_f): Likewise.
2166         * io/transfer.c (read_sf): Use fbuf_read and mem_alloc_r, remove
2167         usage of u.p.line_buffer.
2168         (read_block_form): Update interface to return pointer, use
2169         fbuf_read for direct access.
2170         (read_block_direct): Update to new stream interface.
2171         (write_block): Use mem_alloc_w for internal I/O.
2172         (write_buf): Update to new stream interface.
2173         (formatted_transfer_scalar): Don't use u.p.line_buffer, use
2174         fbuf_seek for external files.
2175         (us_read): Update to new stream interface.
2176         (us_write): Likewise.
2177         (data_transfer_init): Always check if we switch modes and flush.
2178         (skip_record): Use new stream interface, fix comparison.
2179         (next_record_r): Check for and reset u.p.at_eof, use new stream
2180         interface, use fbuf_getc for spacing.
2181         (write_us_marker): Update to new stream interface, don't inline.
2182         (next_record_w_unf): Likewise.
2183         (sset): New function.
2184         (next_record_w): Use new stream interface, use fbuf for printing
2185         newline.
2186         (next_record): Use new stream interface.
2187         (finalize_transfer): Remove sfree call, use new stream interface.
2188         (st_iolength_done): Don't use u.p.scratch.
2189         (st_read): Don't check for end of file.
2190         (st_read_done): Don't use u.p.scratch, use unit_truncate.
2191         (hit_eof): New function.
2192         * io/unit.c (init_units): Always init fbuf for formatted units.
2193         (update_position): Use new stream interface.
2194         (unit_truncate): New function.
2195         (finish_last_advance_record): Use fbuf to print newline.
2196         * io/unix.c: Remove unused SSIZE_MAX macro.
2197         (BUFFER_SIZE): Make static const variable rather than macro.
2198         (struct unix_stream): Remove dirty_offset, len, method,
2199         small_buffer. Order elements by decreasing size.
2200         (struct int_stream): Remove.
2201         (move_pos_offset): Remove usage of dirty_offset.
2202         (reset_stream): Remove.
2203         (do_read): Rename to raw_read, update to match new stream
2204         interface.
2205         (do_write): Rename to raw_write, update to new stream interface.
2206         (raw_seek): New function.
2207         (raw_tell): New function.
2208         (raw_truncate): New function.
2209         (raw_close): New function.
2210         (raw_flush): New function.
2211         (raw_init): New function.
2212         (fd_alloc): Remove.
2213         (fd_alloc_r_at): Remove.
2214         (fd_alloc_w_at): Remove.
2215         (fd_sfree): Remove.
2216         (fd_seek): Remove.
2217         (fd_truncate): Remove.
2218         (fd_sset): Remove.
2219         (fd_read): Remove.
2220         (fd_write): Remove.
2221         (fd_close): Remove.
2222         (fd_open): Remove.
2223         (fd_flush): Rename to buf_flush, update to new stream interface
2224         and unix_stream.
2225         (buf_read): New function.
2226         (buf_write): New function.
2227         (buf_seek): New function.
2228         (buf_tell): New function.
2229         (buf_truncate): New function.
2230         (buf_close): New function.
2231         (buf_init): New function.
2232         (mem_alloc_r_at): Rename to mem_alloc_r, change prototype.
2233         (mem_alloc_w_at): Rename to mem_alloc_w, change prototype.
2234         (mem_read): Change to match new stream interface.
2235         (mem_write): Likewise.
2236         (mem_seek): Likewise.
2237         (mem_tell): Likewise.
2238         (mem_truncate): Likewise.
2239         (mem_close): Likewise.
2240         (mem_flush): New function.
2241         (mem_sfree): Remove.
2242         (empty_internal_buffer): Cast to correct type.
2243         (open_internal): Use correct type, init function pointers.
2244         (fd_to_stream): Test whether to open file as buffered or raw.
2245         (output_stream): Remove mode set.
2246         (error_stream): Likewise.
2247         (flush_all_units_1): Use new stream interface.
2248         (flush_all_units): Likewise.
2249         (stream_at_bof): Remove.
2250         (stream_at_eof): Remove.
2251         (file_position): Remove.
2252         (file_length): Update logic to use stream interface.
2253         (flush): Remove.
2254         (stream_offset): Remove.
2255         * io/write.c (write_utf8_char4): Use int instead of size_t.
2256         (write_x): Extra safety check.
2257         (namelist_write_newline): Use new stream interface.
2258
2259 2009-03-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2260
2261         PR fortran/33595
2262         * intrinsics/c99_functions.c (round): Use floor instead of ceil.
2263         Revise checks to round up.
2264         (roundf): Likewise.
2265
2266 2009-03-28  Daniel Kraft  <d@domob.eu>
2267
2268         * intrinsics/string_intrinsics.c: #include <assert.h>
2269         * intrinsics/string_intrinsics_inc.c (string_trim): Use string_len_trim
2270         instead of calculating the length directly.
2271         (string_len_trim): For KIND=1, speed search up.
2272
2273 2009-03-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2274
2275         PR libfortran/39528
2276         * io/list_read.c (list_formatted_read_scalar): Move check for read
2277         completion to just after the check for a repeated value.
2278
2279 2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2280
2281         PR libfortran/39402
2282         * io/write_float.def (output_float): Handle F0.d formatting correctly
2283         for any d when value is 0.0.
2284
2285 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2286
2287         * configure: Regenerate.
2288
2289 2009-01-21  Daniel Kraft  <d@domob.eu>
2290
2291         PR fortran/38887
2292         * runtime/in_unpack_generic.c (internal_unpack):  Return instead of
2293         abort when called with empty array.
2294         * m4/in_unpack.m4:  Ditto.
2295         * generated/in_unpack_i1.c:  Regenerated.
2296         * generated/in_unpack_i2.c:  Regenerated.
2297         * generated/in_unpack_i4.c:  Regenerated.
2298         * generated/in_unpack_i8.c:  Regenerated.
2299         * generated/in_unpack_i16.c: Regenerated.
2300         * generated/in_unpack_r4.c:  Regenerated.
2301         * generated/in_unpack_r8.c:  Regenerated.
2302         * generated/in_unpack_r10.c: Regenerated.
2303         * generated/in_unpack_r16.c: Regenerated.
2304         * generated/in_unpack_c4.c:  Regenerated.
2305         * generated/in_unpack_c8.c:  Regenerated.
2306         * generated/in_unpack_c10.c: Regenerated.
2307         * generated/in_unpack_c16.c: Regenerated.
2308
2309 2009-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2310
2311         PR libfortran/38772
2312         * io/read.c (read_f): Clean up loop conditions for BZ/BN,
2313         allowing proper digit testing. White space fix.
2314
2315 2009-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2316
2317         PR libfortran/38735
2318         * io/unit.c (get_internal_unit): Set default BLANK= status to NULL for
2319         internal units.
2320
2321 2008-12-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2322
2323         PR fortran/31832
2324         * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): New autoconf check for
2325         broken powf.
2326         * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Use it.
2327         * intrinsics/c99_functions.c: Use internal powf implementation if
2328         HAVE_BROKEN_POWF is defined.
2329         * configure: Rebuilt.
2330         * config.h.in: Rebuilt.
2331
2332 2008-12-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2333
2334         PR libfortran/37472
2335         * io/write_float.def (output_float_FMT_G_): Modify calculation of temp
2336         to avoid sensitivity to round-off.
2337
2338 2008-12-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2339
2340         PR libfortran/38398
2341         * io/io.h (st_parameter_dt): Add new bit to keep track of when to
2342         suppress blanks for g0 formatting.
2343         * io/transfer.c (formatted_transfer_scalar): Always call write_real_g0
2344         for g0 formatting.
2345         * io.c (write.c): Do not use ES formatting and use new bit to suppress
2346         blanks.
2347         * io/write_float.def (output_float): Adjust the location of setting the
2348         width so that it can be adjusted when suppressing blanks.  Set number of
2349         blanks to zero when dtp->u.p.g0_no_blanks is set. Do some minor code
2350         clean-up and add some white space for readability.
2351         
2352 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2353
2354         * configure: Regenerate.
2355
2356 2008-12-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2357
2358         PR libfortran/38504
2359         io/write.c (write_decimal): Skip extra sign '-' at beginning of string
2360         returned by gfc_itoa.
2361
2362 2008-12-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2363
2364         PR libfortran/38430
2365         * io/transfer.c (data_transfer_init): Move constraint check for REC=
2366         and STREAM access into condition for other REC= constraints to simplify.
2367         Comment out this constraint to avoid breaking compatibility with 4.3
2368         until later.  Added a TODO for above comment and this one.
2369         Fix test for max pos.
2370
2371 2008-12-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2372
2373         PR libfortran/38291
2374         * io/transfer.c (data_transfer_init): Add fbuf_flush inadvertently
2375         ommitted.  Add check for invalid use of REC= with ACCESS="stream".  Fix
2376         comment.
2377
2378 2008-12-06  Adam Nemet  <anemet@caviumnetworks.com>
2379
2380         * runtime/main.c (store_exe_path): Don't crash if argv0 is NULL.
2381
2382 2008-12-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2383
2384         PR libfortran/38291
2385         * io/transfer.c (data_transfer_init): Add checks for POS= valid range.
2386         Add check for unit opened with ACCESS="stream". Flush and seek if
2387         current stream position does not match. Check ENDFILE on read.
2388
2389 2008-12-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2390
2391         PR fortran/38285
2392         * write_float.def (WRITE_FLOAT): Zero the float value for special case
2393         only if scale_factor = 0.
2394         
2395 2008-11-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
2396
2397         PR libfortran/38234
2398         * intrinsics/reshape_generic.c (reshape_internal):
2399         Source can be larger than shape.
2400         * m4/reshape.m4:  Likewise.
2401         * generated/reshape_c10.c Regenerated.
2402         * generated/reshape_c16.c Regenerated.
2403         * generated/reshape_c4.c Regenerated.
2404         * generated/reshape_c8.c Regenerated.
2405         * generated/reshape_i16.c Regenerated.
2406         * generated/reshape_i4.c Regenerated.
2407         * generated/reshape_i8.c Regenerated.
2408         * generated/reshape_r10.c Regenerated.
2409         * generated/reshape_r16.c Regenerated.
2410         * generated/reshape_r4.c Regenerated.
2411         * generated/reshape_r8.c Regenerated.
2412
2413 2008-11-22  Danny Smith  <dannysmith@users.sourceforge.net>
2414
2415         * libgfortran.h (__mingw_snprintf): Declare with gnu_printf
2416         format attribute.
2417
2418
2419 2008-11-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
2420
2421         PR libfortran/38225
2422         * intrinsics/reshape_generic.c (reshape_internal):
2423         Use all dimensions of source for bounds checking.
2424         * m4/reshape.m4:  Likewise.
2425         * generated/reshape_c10.c Regenerated.
2426         * generated/reshape_c16.c Regenerated.
2427         * generated/reshape_c4.c Regenerated.
2428         * generated/reshape_c8.c Regenerated.
2429         * generated/reshape_i16.c Regenerated.
2430         * generated/reshape_i4.c Regenerated.
2431         * generated/reshape_i8.c Regenerated.
2432         * generated/reshape_r10.c Regenerated.
2433         * generated/reshape_r16.c Regenerated.
2434         * generated/reshape_r4.c Regenerated.
2435         * generated/reshape_r8.c Regenerated.
2436
2437 2008-11-22  Jakub Jelinek  <jakub@redhat.com>
2438
2439         PR libfortran/37839
2440         * io/io.h (IOPARM_INQUIRE_HAS_ROUND, IOPARM_INQUIRE_HAS_SIGN,
2441         IOPARM_INQUIRE_HAS_PENDING): Adjust values.
2442         (st_parameter_inquire): Reorder and fix types of round, sign and
2443         pending fields.
2444         (st_parameter_43, st_parameter_44): Removed.
2445         (st_parameter_dt): Put back struct definition directly to u.p
2446         declaration.  Change type of u.p.size_used from gfc_offset to
2447         GFC_IO_INT.  Decrease back size of u.pad to 16 pointers and
2448         32 ints.  Put id, pos, asynchronous, blank, decimal, delim,
2449         pad, round and sign fields after the union.
2450         * io/inquire.c (inquire_via_unit, inquire_via_filename): Only read
2451         flags2 if it is defined.
2452         * io/transfer.c (read_sf, read_block_form, write_block): Cast
2453         additions to size_used to GFC_IO_INT instead of gfc_offset.
2454         (data_transfer_init): Clear whole u.p struct.  Adjust
2455         for moving id, pos, asynchronous, blank, decimal, delim, pad,
2456         round and sign fields from u.p directly into st_parameter_dt.
2457         (finalize_transfer): Don't cast size_used to GFC_IO_INT.
2458         * io/file_pos.c (st_endfile): Clear whole u.p struct.
2459
2460 2008-11-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2461
2462         PR libfortran/37472
2463         * io/write_float.def (output_float_FMT_G_): Adjust conversion of
2464         G format specification to F format.
2465
2466 2008-11-18  Thomas Koenig  <tkoenig@gcc.gnu.org>
2467
2468         PR libfortran/38135
2469         * m4/reshape.m4:  Correct bounds checking when PAD is present.
2470         Treat PAD as if it were SOURCE when SOURCE is empty.
2471         * intrinsics/reshape_generic.c:  Likewise.
2472         * generated/reshape_c10.c Regenerated.
2473         * generated/reshape_c16.c Regenerated.
2474         * generated/reshape_c4.c Regenerated.
2475         * generated/reshape_c8.c Regenerated.
2476         * generated/reshape_i16.c Regenerated.
2477         * generated/reshape_i4.c Regenerated.
2478         * generated/reshape_i8.c Regenerated.
2479         * generated/reshape_r10.c Regenerated.
2480         * generated/reshape_r16.c Regenerated.
2481         * generated/reshape_r4.c Regenerated.
2482         * generated/reshape_r8.c Regenerated.
2483
2484 2008-11-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2485
2486         PR libfortran/38097
2487         * io/read.c (read_f): Initialize exponent. Fix comment. Set loop
2488         conditions for BZ/BN.
2489         * io/unit.c (get_internal_unit): Initialize flags.blank.
2490         * io/transfer.c (data_transfer_init): Fix whitespace.
2491
2492 2008-11-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2493
2494         PR libfortran/37294
2495         * io/write.c (namelist_write_newline): Use array loop specification to
2496         advance to next internal array unit record. (namelist_write): Adjust to
2497         accomodate the internal array unit behavior.
2498
2499 2008-11-01  Dennis Wassel  <dennis.wassel@gmail.com>
2500
2501         PR fortran/37159
2502         * intrinsics/random.c: Added comment to adapt check.c, should
2503         kiss_size change.
2504         Few cosmetic changes to existing comments.
2505
2506 2008-10-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2507
2508         PR libfortran/37707
2509         * io/list_read.c (read_character): Remove code to look ahead in namelist
2510         reads to descriminate non-delimited strings from namelist objects.
2511         * io/write.c (namelist_write): Delimit character strings with quote or
2512         apostrophe, defaulting to quote.
2513
2514 2008-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
2515
2516         PR libfortran/34670
2517         * intrinsics/transpose_generic.c:  Implement bounds checking.
2518         * m4/transpose.m4:  Likewise.
2519         * generated/transpose_c8.c: Regenerated.
2520         * generated/transpose_c16.c: Regenerated.
2521         * generated/transpose_r10.c: Regenerated.
2522         * generated/transpose_i8.c: Regenerated.
2523         * generated/transpose_c10.c: Regenerated.
2524         * generated/transpose_r4.c: Regenerated.
2525         * generated/transpose_c4.c: Regenerated.
2526         * generated/transpose_i16.c: Regenerated.
2527         * generated/transpose_i4.c: Regenerated.
2528         * generated/transpose_r8.c: Regenerated.
2529         * generated/transpose_r16.c: Regenerated.
2530
2531 2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2532
2533         PR libfortran/37834
2534         * io/write_float.def (output_float): Emit '0.' for special case of
2535         format specifier 'f0.0' and value of zero. Likewise emit '0' for 'f1.0'.
2536
2537 2008-10-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2538
2539         PR libfortran/37863
2540         * io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly.
2541         * io/io.h (st_parameter_44): Fix id type declaration.
2542
2543 2008-10-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
2544
2545         * io/file_pos.c (unformatted_backspace): Normal case is
2546         GFC_CONVERT_NATIVE.
2547         * io/transfer.c (read_sf):  Mark paths leading to generate_error()
2548         as unlikely.
2549         (readl_block_form):  Likewise.
2550         (read_block_direct):  Likewise.
2551         (write_block):  Likewise.
2552         (write_buf):  Likewise.
2553         (us_read):  Likewise.  Normal case is GFC_CONVERT_NATIVE.
2554         (next_record_w_unf):  Mark paths leading to generate_error()
2555         as unlikely.
2556
2557 2008-10-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
2558
2559         PR libfortran/34670
2560         * generated/spread_r4.c: Regenerated.
2561
2562 2008-10-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
2563
2564         PR libfortran/34670
2565         * intrinsics/reshape_generic.c:  Add bounds checking.
2566         * m4/reshape.m4:  Likewise.
2567         * generated/reshape_c10.c: Regenerated.
2568         * generated/reshape_c16.c: Regenerated.
2569         * generated/reshape_c4.c: Regenerated.
2570         * generated/reshape_c8.c: Regenerated.
2571         * generated/reshape_i16.c: Regenerated.
2572         * generated/reshape_i4.c: Regenerated.
2573         * generated/reshape_i8.c: Regenerated.
2574         * generated/reshape_r10.c: Regenerated.
2575         * generated/reshape_r16.c: Regenerated.
2576         * generated/reshape_r4.c: Regenerated.
2577         * generated/reshape_r8.c: Regenerated.
2578         * generated/spread_r4.c: Regenerated.
2579
2580 2008-10-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2581
2582         PR libfortran/37083
2583         * io/list_read.c (next_char): Simplify EOF tests and set endfile flag.
2584         (finish_list_read): Add EOF check.
2585
2586 2008-10-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
2587
2588         PR libfortran/37753
2589         * io/transfer.c (unformatted_read):  CONVERT_NATIVE
2590         is the usual case.  Check for kind==1 for non-byte-reversing
2591         operation.
2592         (unformatted_write):  Likewise.
2593
2594 2008-10-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2595
2596         PR libfortran/37707
2597         * io/list_read.c (nml_get_obj_data): If the first namelist object rank
2598         is greater than zero, call nml_object_read with the first object rather
2599         than the sub-object.
2600
2601 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2602             Steve Ellcey  <sje@cup.hp.com>
2603
2604         * configure: Regenerate for new libtool.
2605         * Makefile.in: Ditto.
2606
2607 2008-09-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2608
2609         PR libfortran/37498
2610         * list_read.c (eat_separator): Revert previous patch and move
2611         delim_status, decimal_status, and pad_status to gfc_unit.
2612         (parse_real): Ditto. (read_real): Ditto.
2613         * read.c (read_a): Likewise. (read_a_char4): Likewise.
2614         (read_f): Likewise.
2615         * inquire.c (inquire_via_unit): Add missing check for
2616         IOPARM_INQUIRE_HAS_FLAGS2. (inquire_via_filename): Likewise.
2617         * io.h (unit_sign_s): Move delim_status, decimal_status, and pad_status
2618         to gfc_unit.
2619         * transfer.c (read_sf): Ditto. (read_block_form): Ditto.
2620         (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto.
2621         * write.c (write_default_char4): Ditto. (write_utf8_char4): Ditto.
2622         (write_character): Ditto. (write_real_g0): Ditto.
2623         (list_formatted_write_scalar): Ditto. (nml_write_obj): Ditto.
2624         (namelist_write): Ditto.
2625         * write_float.def (calculate_sign): Ditto. (output_float): Ditto.
2626
2627 2008-09-24  Tobias Burnus  <burnus@net-b.de>
2628
2629         * runtime/compile_options.c (init_compile_options):
2630         Sync flags with front end.
2631
2632 2008-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org
2633
2634         PR libfortran/37498
2635         * file_pos (st_endfile): Clear memory only for libfortran 4.3 private
2636         area.
2637         * list_read.c (eat_separator): Only access F2003 I/O parameters if
2638         IOPARM_DT_HAS_F2003 bit is set. (parse_real): Ditto.
2639         (read_real): Ditto.
2640         * read.c (read_a): Likewise. (read_a_char4): Likewise though not
2641         strictly necessary. (read_f): Likewise.
2642         * io.h (unit_sign_s): New enumerator to allow duplication of
2643         st_parameter structures. (IOPARM_DT_HAS_F2003): New mask bit.
2644         (st_parameter_43): New structure copied from 4.3 version of 
2645         st_paramater_dt private section. (st_parameter_44): New structure with
2646         F2003 items added. (st_parameter_dt): Modified to create union of new
2647         and old structures to allow correct memory setting for 4.3 ABI
2648         compatibility. Bumped the pad size.
2649         * transfer.c (read_sf): Do not use F2003 I/O memory areas unless
2650         IOPARM_DT_HAS_F2003 bit has been set. (read_block_form): Ditto.
2651         (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto and
2652         add comment, fix formatting.
2653         * write.c (write_default_char4): Likewise though not strictly necessary.
2654         (write_utf8_char4): Ditto. (write_character): Ditto.
2655         (write_real_g0): Ditto. (list_formatted_write_scalar): Ditto.
2656         (nml_write_obj): Ditto. (namelist_write): Ditto.
2657         * write_float.def (calculate_sign): Eliminate warning by including all
2658         cases in switch. (output_float): Output only decimal point of F2003 flag
2659         is not set.
2660
2661 2008-09-10  Tobias Burnus  <burnus@net-b.de>
2662             H. J. Lu  <hongjiu.lu@intel.com>
2663
2664         * mk-sik-inc.sh: Make -Wunused-variable proof.
2665         * mk-srk-inc.sh: Make -Wunused-variable proof.
2666
2667 2008-09-10  Tobias Burnus  <burnus@net-b.de>
2668
2669         * mk-kinds-h.sh: Make -Wunused-variable proof.
2670
2671 2008-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
2672
2673         PR fortran/37203
2674         * intrinsics/reshape_generic.c:  Add checking on
2675         out-of-bounds and duplicate values of order argument.
2676         * m4/reshape.m4:  Likewise.
2677         * generated/reshape_c10.c: Regenerated.
2678         * generated/reshape_c16.c: Regenerated.
2679         * generated/reshape_c4.c: Regenerated.
2680         * generated/reshape_c8.c: Regenerated.
2681         * generated/reshape_i16.c: Regenerated.
2682         * generated/reshape_i4.c: Regenerated.
2683         * generated/reshape_i8.c: Regenerated.
2684         * generated/reshape_r10.c: Regenerated.
2685         * generated/reshape_r16.c: Regenerated.
2686         * generated/reshape_r4.c: Regenerated.
2687         * generated/reshape_r8.c: Regenerated.
2688
2689 2008-09-06  Tobias Burnus  <burnus@net-b.de>
2690
2691         * libgfortran.h (likely,unlikely): New makros.
2692         (runtime_warning_at,__mingw_snprintf): Add __attribute__(format()).
2693         * m4/spread.m4 (spread_'rtype_code`): Use unlikely for bounds_check.
2694         * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto.
2695         * m4/matmull.m4 (matmul_'rtype_code`): Ditto.
2696         * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto.
2697         * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto.
2698         * m4/matmul.m4 (matmul_'rtype_code`): Ditto.
2699
2700         * generated/minval_r8.c: Regenerated.
2701         * generated/spread_r10.c: Regenerated.
2702         * generated/minloc1_16_r16.c: Regenerated.
2703         * generated/maxloc1_4_r8.c: Regenerated.
2704         * generated/sum_i8.c: Regenerated.
2705         * generated/any_l16.c: Regenerated.
2706         * generated/spread_i8.c: Regenerated.
2707         * generated/maxval_i2.c: Regenerated.
2708         * generated/any_l2.c: Regenerated.
2709         * generated/product_r4.c: Regenerated.
2710         * generated/maxloc1_8_i4.c: Regenerated.
2711         * generated/maxloc0_4_r4.c: Regenerated.
2712         * generated/all_l1.c: Regenerated.
2713         * generated/matmul_r8.c: Regenerated.
2714         * generated/product_i2.c: Regenerated.
2715         * generated/minloc0_4_r16.c: Regenerated.
2716         * generated/minloc0_4_i1.c: Regenerated.
2717         * generated/maxloc0_4_r16.c: Regenerated.
2718         * generated/maxloc0_4_i2.c: Regenerated.
2719         * generated/minloc1_8_r16.c: Regenerated.
2720         * generated/maxloc1_8_r16.c: Regenerated.
2721         * generated/maxloc0_8_i8.c: Regenerated.
2722         * generated/sum_r16.c: Regenerated.
2723         * generated/sum_i1.c: Regenerated.
2724         * generated/minloc1_4_r8.c: Regenerated.
2725         * generated/maxloc1_16_r16.c: Regenerated.
2726         * generated/minloc1_16_i4.c: Regenerated.
2727         * generated/maxloc1_16_i4.c: Regenerated.
2728         * generated/minloc0_16_i8.c: Regenerated.
2729         * generated/spread_i1.c: Regenerated.
2730         * generated/maxloc0_16_i8.c: Regenerated.
2731         * generated/maxval_r16.c: Regenerated.
2732         * generated/product_c10.c: Regenerated.
2733         * generated/minloc1_8_i4.c: Regenerated.
2734         * generated/minloc0_16_i16.c: Regenerated.
2735         * generated/matmul_r16.c: Regenerated.
2736         * generated/minloc0_4_r4.c: Regenerated.
2737         * generated/all_l2.c: Regenerated.
2738         * generated/product_c4.c: Regenerated.
2739         * generated/sum_r4.c: Regenerated.
2740         * generated/minloc0_4_i2.c: Regenerated.
2741         * generated/spread_c10.c: Regenerated.
2742         * generated/maxloc0_8_i1.c: Regenerated.
2743         * generated/spread_r4.c: Regenerated.
2744         * generated/minloc0_8_i8.c: Regenerated.
2745         * generated/matmul_c8.c: Regenerated.
2746         * generated/all_l16.c: Regenerated.
2747         * generated/minloc1_16_r10.c: Regenerated.
2748         * generated/sum_i2.c: Regenerated.
2749         * generated/minloc0_16_i1.c: Regenerated.
2750         * generated/maxloc0_16_i1.c: Regenerated.
2751         * generated/maxloc1_8_r8.c: Regenerated.
2752         * generated/minval_i16.c: Regenerated.
2753         * generated/spread_i2.c: Regenerated.
2754         * generated/maxval_i4.c: Regenerated.
2755         * generated/minval_i8.c: Regenerated.
2756         * generated/any_l4.c: Regenerated.
2757         * generated/maxloc1_4_i8.c: Regenerated.
2758         * generated/maxloc0_16_i16.c: Regenerated.
2759         * generated/maxloc0_8_r4.c: Regenerated.
2760         * generated/minloc1_4_i16.c: Regenerated.
2761         * generated/maxloc1_4_i16.c: Regenerated.
2762         * generated/minloc0_4_r10.c: Regenerated.
2763         * generated/minloc0_8_i16.c: Regenerated.
2764         * generated/maxloc0_4_r10.c: Regenerated.
2765         * generated/maxloc0_8_i16.c: Regenerated.
2766         * generated/minloc1_8_r10.c: Regenerated.
2767         * generated/product_i4.c: Regenerated.
2768         * generated/minloc0_16_r4.c: Regenerated.
2769         * generated/sum_c16.c: Regenerated.
2770         * generated/maxloc1_8_r10.c: Regenerated.
2771         * generated/maxloc0_16_r4.c: Regenerated.
2772         * generated/minloc1_16_r8.c: Regenerated.
2773         * generated/minloc0_8_i1.c: Regenerated.
2774         * generated/maxloc0_4_i4.c: Regenerated.
2775         * generated/maxloc1_16_r8.c: Regenerated.
2776         * generated/maxloc0_8_i2.c: Regenerated.
2777         * generated/sum_r10.c: Regenerated.
2778         * generated/count_4_l.c: Regenerated.
2779         * generated/sum_c4.c: Regenerated.
2780         * generated/count_8_l.c: Regenerated.
2781         * generated/maxloc1_16_r10.c: Regenerated.
2782         * generated/matmul_i8.c: Regenerated.
2783         * generated/minloc0_16_i2.c: Regenerated.
2784         * generated/minloc1_8_r8.c: Regenerated.
2785         * generated/maxloc0_16_i2.c: Regenerated.
2786         * generated/spread_c4.c: Regenerated.
2787         * generated/matmul_c16.c: Regenerated.
2788         * generated/maxval_r10.c: Regenerated.
2789         * generated/minval_i1.c: Regenerated.
2790         * generated/maxloc1_4_i1.c: Regenerated.
2791         * generated/matmul_r10.c: Regenerated.
2792         * generated/minloc1_4_i8.c: Regenerated.
2793         * generated/minloc0_8_r4.c: Regenerated.
2794         * generated/matmul_l4.c: Regenerated.
2795         * generated/product_i16.c: Regenerated.
2796         * generated/minloc0_16_r16.c: Regenerated.
2797         * generated/all_l4.c: Regenerated.
2798         * generated/minloc0_4_i4.c: Regenerated.
2799         * generated/minloc0_8_i2.c: Regenerated.
2800         * generated/matmul_i1.c: Regenerated.
2801         * generated/minval_r4.c: Regenerated.
2802         * generated/maxloc1_4_r4.c: Regenerated.
2803         * generated/spread_i16.c: Regenerated.
2804         * generated/sum_i4.c: Regenerated.
2805         * generated/maxval_r8.c: Regenerated.
2806         * generated/spread_i4.c: Regenerated.
2807         * generated/minloc1_4_i1.c: Regenerated.
2808         * generated/minval_r16.c: Regenerated.
2809         * generated/minval_i2.c: Regenerated.
2810         * generated/maxloc1_4_i2.c: Regenerated.
2811         * generated/product_r8.c: Regenerated.
2812         * generated/maxloc1_8_i8.c: Regenerated.
2813         * generated/maxloc0_4_r8.c: Regenerated.
2814         * generated/maxloc0_16_r16.c: Regenerated.
2815         * generated/matmul_r4.c: Regenerated.
2816         * generated/sum_c10.c: Regenerated.
2817         * generated/minloc1_4_r16.c: Regenerated.
2818         * generated/maxloc1_4_r16.c: Regenerated.
2819         * generated/minloc0_8_r16.c: Regenerated.
2820         * generated/maxloc0_8_r16.c: Regenerated.
2821         * generated/count_1_l.c: Regenerated.
2822         * generated/maxloc0_8_i4.c: Regenerated.
2823         * generated/matmul_i2.c: Regenerated.
2824         * generated/minloc1_4_r4.c: Regenerated.
2825         * generated/matmul_c10.c: Regenerated.
2826         * generated/minloc0_16_i4.c: Regenerated.
2827         * generated/maxloc0_16_i4.c: Regenerated.
2828         * generated/minloc1_16_i8.c: Regenerated.
2829         * generated/maxloc1_16_i8.c: Regenerated.
2830         * generated/minloc1_4_i2.c: Regenerated.
2831         * generated/matmul_l16.c: Regenerated.
2832         * generated/maxloc1_8_i1.c: Regenerated.
2833         * generated/minloc0_16_r10.c: Regenerated.
2834         * generated/minloc1_8_i8.c: Regenerated.
2835         * generated/minloc0_4_r8.c: Regenerated.
2836         * generated/product_r16.c: Regenerated.
2837         * generated/product_c8.c: Regenerated.
2838         * generated/sum_r8.c: Regenerated.
2839         * generated/minloc0_8_i4.c: Regenerated.
2840         * generated/matmul_c4.c: Regenerated.
2841         * generated/minloc1_16_i16.c: Regenerated.
2842         * generated/spread_r8.c: Regenerated.
2843         * generated/maxloc1_8_r4.c: Regenerated.
2844         * generated/minloc1_16_i1.c: Regenerated.
2845         * generated/maxloc1_16_i1.c: Regenerated.
2846         * generated/spread_r16.c: Regenerated.
2847         * generated/minval_r10.c: Regenerated.
2848         * generated/count_16_l.c: Regenerated.
2849         * generated/minval_i4.c: Regenerated.
2850         * generated/minloc1_8_i1.c: Regenerated.
2851         * generated/maxloc1_4_i4.c: Regenerated.
2852         * generated/maxloc1_8_i2.c: Regenerated.
2853         * generated/maxval_i8.c: Regenerated.
2854         * generated/any_l8.c: Regenerated.
2855         * generated/maxloc0_16_r10.c: Regenerated.
2856         * generated/minloc0_4_i16.c: Regenerated.
2857         * generated/maxloc0_8_r8.c: Regenerated.
2858         * generated/maxloc0_4_i16.c: Regenerated.
2859         * generated/minloc1_4_r10.c: Regenerated.
2860         * generated/minloc1_8_i16.c: Regenerated.
2861         * generated/maxloc1_4_r10.c: Regenerated.
2862         * generated/maxloc1_8_i16.c: Regenerated.
2863         * generated/minloc0_8_r10.c: Regenerated.
2864         * generated/maxloc0_8_r10.c: Regenerated.
2865         * generated/minloc1_16_r4.c: Regenerated.
2866         * generated/maxloc1_16_r4.c: Regenerated.
2867         * generated/minloc0_16_r8.c: Regenerated.
2868         * generated/product_i8.c: Regenerated.
2869         * generated/maxloc0_16_r8.c: Regenerated.
2870         * generated/sum_i16.c: Regenerated.
2871         * generated/count_2_l.c: Regenerated.
2872         * generated/maxloc0_4_i8.c: Regenerated.
2873         * generated/maxloc1_16_i16.c: Regenerated.
2874         * generated/matmul_i4.c: Regenerated.
2875         * generated/minloc1_8_r4.c: Regenerated.
2876         * generated/sum_c8.c: Regenerated.
2877         * generated/minloc1_16_i2.c: Regenerated.
2878         * generated/maxloc1_16_i2.c: Regenerated.
2879         * generated/maxval_i16.c: Regenerated.
2880         * generated/spread_c8.c: Regenerated.
2881         * generated/matmul_i16.c: Regenerated.
2882         * generated/minloc1_4_i4.c: Regenerated.
2883         * generated/maxval_i1.c: Regenerated.
2884         * generated/minloc1_8_i2.c: Regenerated.
2885         * generated/any_l1.c: Regenerated.
2886         * generated/product_c16.c: Regenerated.
2887         * generated/minloc0_8_r8.c: Regenerated.
2888         * generated/matmul_l8.c: Regenerated.
2889         * generated/product_r10.c: Regenerated.
2890         * generated/product_i1.c: Regenerated.
2891         * generated/all_l8.c: Regenerated.
2892         * generated/maxloc0_4_i1.c: Regenerated.
2893         * generated/minloc0_4_i8.c: Regenerated.
2894         * generated/spread_c16.c: Regenerated.
2895         * generated/maxval_r4.c: Regenerated.
2896
2897 2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2898
2899         PR libfortran/37301
2900         PR libfortran/37228
2901         * io/io.h (write_real_g0): Declare new function to handle g0.d format.
2902         * io/transfer.c (formatted_transfer_scalar): Use new function.
2903         * io/format.c (parse_format_list): Enable g0.d.
2904         * io/write.c (write_a_char4): Delete unused var.
2905         (set_fnode_default): New function to set the default fnode w, d, and e
2906         factored from write_real. (write_real): Use new factored function.
2907         (write_real_g0): New function that sets d to that passed by g0.d format
2908         specifier and set format to ES.  Default values for w and e are used
2909         from the new function, set_fnode_default.
2910
2911 2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2912
2913         * runtime/error.c: Fix cast for printf.
2914
2915 2008-08-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2916
2917         PR libfortran/36895
2918         * io/write.c (namelist_write_newline): New function to correctly mark
2919         next records in both external and internal units.
2920         (nml_write_obj): Use new function.
2921         (namelist_write: Use new function.
2922
2923 2008-08-19  Tobias Burnus  <burnus@net-b.de>
2924
2925         PR libfortran/35863
2926         * io/write.c (write_a_char4): Add missing variable declaration
2927         in HAVE_CRLF block.
2928
2929 2008-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2930
2931         PR libfortran/35863
2932         * intrinsics/selected_char_kind.c: Enable iso_10646.
2933         * io/read.c (typedef uchar): New type.
2934         (read_utf8): New function to read a single UTF-8 encoded character.
2935         (read_utf8_char1): New function to read UTF-8 into a KIND=1 string.
2936         (read_default_char1): New functio to read default into KIND=1 string.
2937         (read_utf8_char4): New function to read UTF-8 into a KIND=4 string.
2938         (read_default_char4): New function to read UTF-8 into a KIND=4 string.
2939         (read_a): Modify to use the new functions.
2940         (read_a_char4): Modify to use the new functions.
2941         * io/write.c (error.h): Add include. (typedef uchar): New type.
2942         (write_default_char4): New function to default write KIND=4 string.
2943         (write_utf8_char4): New function to UTF-8 write KIND=4 string.
2944         (write_a_char4): Modify to use new functions.
2945         (write_character): Modify to use new functions.
2946
2947 2008-08-14  H.J. Lu  <hongjiu.lu@intel.com>
2948
2949         PR libfortran/37123
2950         * intrinsics/cshift0.c (cshift0): Fix 2 typos.
2951
2952 2008-08-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
2953
2954         PR libfortran/36886
2955         * Makefile.am:  Added $(i_cshift0_c).
2956         Added $(i_cshift0_c) to gfor_built_specific_src.
2957         Add rule to build from cshift0.m4.
2958         * Makefile.in:  Regenerated.
2959         * libgfortran.h:  Addedd prototypes for cshift0_i1,
2960         cshift0_i2, cshift0_i4, cshift0_i8, cshift0_i16,
2961         cshift0_r4, cshift0_r8, cshift0_r10, cshift0_r16,
2962         cshift0_c4, cshift0_c8, cshift0_c10, cshift0_c16.
2963         Define Macros GFC_UNALIGNED_C4 and GFC_UNALIGNED_C8.
2964         * intrinsics/cshift0.c:  Remove helper functions for
2965         the innter shift loop.
2966         (cshift0):  Call specific functions depending on type
2967         of array argument.  Only call specific functions for
2968         correct alignment for other types.
2969         * m4/cshift0.m4:  New file.
2970         * generated/cshift0_i1.c:  New file.
2971         * generated/cshift0_i2.c:  New file.
2972         * generated/cshift0_i4.c:  New file.
2973         * generated/cshift0_i8:.c  New file.
2974         * generated/cshift0_i16.c:  New file.
2975         * generated/cshift0_r4.c:  New file.
2976         * generated/cshift0_r8.c:  New file.
2977         * generated/cshift0_r10.c:  New file.
2978         * generated/cshift0_r16.c:  New file.
2979         * generated/cshift0_c4.c:  New file.
2980         * generated/cshift0_c8.c:  New file.
2981         * generated/cshift0_c10.c:  New file.
2982         * generated/cshift0_c16.c:  New file.
2983
2984 2008-07-27  Tobias Burnus  <burnus@net-b.de>
2985
2986         PR fortran/36132
2987         PR fortran/29952
2988         PR fortran/36909
2989         * runtime/error.c: New function runtime_error_at.
2990         * gfortran.map: Ditto.
2991         * libgfortran.h: Ditto.
2992
2993 2008-07-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2994
2995         PR fortran/36582
2996         * io/list_read.c: If variable rank is zero, do not adjust the found
2997         namelist object pointer.
2998
2999 2008-07-22  Daniel Kraft  <d@domob.eu>
3000
3001         PR fortran/29835
3002         * io/format.c (struct format_data):  New member error_element.
3003         (unexpected_element):  Added '%c' to message.
3004         (next_char):  Keep track of last parsed character in fmt->error_element.
3005         (format_error):  If the message is unexpected_element, output the
3006         offending character, too.
3007
3008 2008-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
3009
3010         PR libfortran/36890
3011         * io/file_pos.c:  Declare READ_CHUNK as signed to avoid
3012         signed/unsigned comparison warning in formatted_backspace.
3013
3014 2008-07-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
3015
3016         PR libfortran/36773
3017         * intrinsics/cshift0.c (cshift0):  Return early if size of array
3018         is zero.
3019         * intrinsics/eoshift0.c (eoshift0):  Return early if size of
3020         return array is zero.
3021         * intrinsics/eoshift2.c (eoshift2):  Likewise.
3022         * m4/eoshift1.m4 (eoshift1):  Return early if size of array
3023         is zero.
3024         * m4/eoshift3.m4 (eoshift3):  Likewise.
3025         * m4/eoshift2.m4 (eoshift2):  Return early if size of return
3026         array is zero.
3027         * m4/eoshift4.m4 (eoshift2):  Return early if size of return
3028         array is zero.
3029         * generated/cshift1_16.c: Regenerated.
3030         * generated/cshift1_4.c: Regenerated.
3031         * generated/cshift1_8.c: Regenerated.
3032         * generated/eoshift1_16.c: Regenerated.
3033         * generated/eoshift1_4.c: Regenerated.
3034         * generated/eoshift1_8.c: Regenerated.
3035         * generated/eoshift3_16.c: Regenerated.
3036         * generated/eoshift3_4.c: Regenerated.
3037         * generated/eoshift3_8.c: Regenerated.
3038
3039 2008-07-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3040
3041         PR fortran/36857
3042         * io/write_float.def: Comment out locale dependent code and fix general
3043         comments.
3044         
3045 2008-07-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
3046
3047         PR fortran/36341
3048         PR fortran/34670
3049         * m4/matmul.m4:  Add bounds checking.
3050         * m4/matmull.m4:  Likewise.
3051         * generated/matmul_c10.c: Regenerated.
3052         * generated/matmul_c16.c: Regenerated.
3053         * generated/matmul_c4.c: Regenerated.
3054         * generated/matmul_c8.c: Regenerated.
3055         * generated/matmul_i1.c: Regenerated.
3056         * generated/matmul_i16.c: Regenerated.
3057         * generated/matmul_i2.c: Regenerated.
3058         * generated/matmul_i4.c: Regenerated.
3059         * generated/matmul_i8.c: Regenerated.
3060         * generated/matmul_l16.c: Regenerated.
3061         * generated/matmul_l4.c: Regenerated.
3062         * generated/matmul_l8.c: Regenerated.
3063         * generated/matmul_r10.c: Regenerated.
3064         * generated/matmul_r16.c: Regenerated.
3065         * generated/matmul_r4.c: Regenerated.
3066         * generated/matmul_r8.c: Regenerated.
3067
3068 2008-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3069
3070         * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
3071         variable name.
3072         * configure: Regenerate.
3073
3074 2008-07-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3075
3076         PR fortran/36676
3077         * io/list_read.c (find_nml_name): Use eat_separator instead of eat_line.
3078         
3079 2008-06-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3080
3081         PR fortran/36657
3082         * io/list_read.c (read_character): Check for '!' along with separators.
3083         (find_nml_name): Likewise and eat the comment if found.
3084
3085 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3086
3087         * configure: Regenerate.
3088
3089 2008-06-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3090
3091         PR fortran/36546
3092         * io/list_read.c (eat_separator): Add tab character to condition
3093         for looping past whitespace.
3094
3095 2008-06-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3096
3097         PR fortran/36515
3098         * libgfortran.h (compile_options_t): Add int range_check to structure.
3099         * runtime/compile_options.c (set_options): Add range_check option.
3100         (init_compile_options): Likewise.
3101         *io/read.c (read_decimal): Change overflow checks to include
3102         range_check.
3103         
3104 2008-06-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3105
3106         PR fortran/36538
3107         * io/list_read.c (namelist_read): Add eat_separator to eliminate leading
3108         tabs.
3109
3110 2008-06-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3111
3112         PR fortran/35863
3113         * libgfortran.h: Change l8_to_l4_offset to big_endian and add endian_off.
3114         * runtime/main.c: Fix error in comment. Change l8_to_l4_offset to
3115         big_endian. (determine_endianness): Add endian_off and set its value
3116         according to big_endian.
3117         * gfortran.map: Add symbol for new _gfortran_transfer_character_wide.
3118         * io/io.h: Add prototype declarations for new functions.
3119         * io/list_read.c (list_formatted_read_scalar): Modify to handle kind=4.
3120         (list_formatted_read): Calculate stride based on kind for character type
3121         and use it when calling list_formatted_read_scalar.
3122         * io/inquire.c (inquire_via_unit): Change l8_to_l4_offset to big_endian.
3123         * io/open.c (st_open): Change l8_to_l4_offset to big_endian.
3124         * io/read.c (read_a_char4): New function to handle formatted read.
3125         * io/write.c: Define GFC_CHAR4(x) to improve readability of code.
3126         (write_a_char4): New function to handle formatted write.
3127         (write_character): Modify to accept the kind parameter and adjust for
3128         endianess of the machine. (list_formatted_write): Calculate the stride
3129         resulting from the kind and adjust the list_formatted_write_scalar call
3130         accordingly. (nml_write_obj): Adjust calls to write_character.
3131         (namelist_write): Likewise.
3132         * io/transfer.c (formatted_transfer_scaler): Rename 'len' argument to
3133         'kind' argument to better describe what it is. Add calls to new
3134         functions for kind == 4. (formatted_transfer): Modify to handle the case
3135         of type character and kind equals 4 to pass in the kind to the transfer
3136         routines. (transfer_character_wide): Add this new function.
3137         (transfer_array): Don't set kind to the character string length. Adjust
3138         strides bases on character kind.
3139         (unformatted_read): Adjust size based on kind for character types.
3140         (unformatted_write): Likewise. (data_transfer_init): Change
3141         l8_to_l4_offset to big_endian.
3142         io/fbuf.c (fbuf_seek): Add cast to eliminate warning.
3143
3144 2008-06-13  Tobias Burnus  <burnus@net-b.de>
3145
3146         * configure.ac (AM_CFLAGS): Remove -Werror again.
3147         * configure: Regenerate.
3148
3149 2008-06-13  Tobias Burnus  <burnus@net-b.de>
3150
3151         PR libgfortran/36518
3152         * configure.ac (AM_CFLAGS): Add -Werror.
3153         * configure: Regenerate.
3154         * m4/ifunction_logical.m4: Cast "n" to "(int)".
3155         * generated/any_l16.c: Regenerate.
3156         * generated/any_l2.c: Regenerate.
3157         * generated/all_l1.c: Regenerate.
3158         * generated/all_l2.c: Regenerate.
3159         * generated/all_l16.c: Regenerate.
3160         * generated/any_l4.c: Regenerate.
3161         * generated/count_4_l.c: Regenerate.
3162         * generated/count_8_l.c: Regenerate.
3163         * generated/all_l4.c: Regenerate.
3164         * generated/count_1_l.c: Regenerate.
3165         * generated/count_16_l.c: Regenerate.
3166         * generated/any_l8.c: Regenerate.
3167         * generated/count_2_l.c: Regenerate.
3168         * generated/any_l1.c: Regenerate.
3169         * generated/all_l8.c: Regenerate.
3170
3171 2008-06-13  Tobias Burnus  <burnus@net-b.de>
3172
3173         PR fortran/36495
3174         * configure.ac (AM_FCFLAGS): Add "-Werror -fimplicit-none".
3175         * configure: (generated) ditto.
3176         * intrinsics/dprod_r8.f90: Add "implicit none".
3177
3178 2008-06-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
3179
3180         PR libfortran/36420
3181         PR libfortran/36421
3182         PR libfortran/36422
3183         * io/io.h: Add prototype for write_real.
3184         * io/transfer.c (formatted_transfer_scalar): For FMT_G and width zero,
3185         use write_real.
3186         * io/format.c: Add zero width error message. (parse_format_list): Use
3187         error message for FMT_A if followed by FMT_ZERO. Use zero width error
3188         message for FMT_G if mode is READ or if -std=f95 or f2003. (fmormat0):
3189         Fix typo in comment.
3190         * io/write.c(write_a): Set wlen to len if FMT_G and length is zero.
3191         (write_l): Add wlen variable and use it if FMT_G and width is zero.
3192         (write_decimal): If FMT_G, set m to -1 to flag processor dependent
3193         formatting. (write_real): Remove static declaration.
3194
3195 2008-05-28  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3196
3197         PR fortran/36319
3198         * intrinsics/string_intrinsics_inc.c (string_index): Return
3199         correct value for zero-length substring.
3200         * intrinsics/cshift0.c: Add _char4 variant.
3201         * intrinsics/eoshift0.c (eoshift0): Allow filler to be a pattern
3202         wider than a single byte. Add _char4 variant and use above
3203         functionality.
3204         * intrinsics/eoshift2.c (eoshift2): Likewise.
3205         * m4/eoshift1.m4: Likewise.
3206         * m4/eoshift3.m4: Likewise.
3207         * m4/cshift1.m4: Add _char4 variants.
3208         * gfortran.map (GFORTRAN_1.1): Add _gfortran_cshift0_1_char4,
3209         _gfortran_cshift0_2_char4, _gfortran_cshift0_4_char4,
3210         _gfortran_cshift0_8_char4, _gfortran_cshift1_16_char4,
3211         _gfortran_cshift1_4_char4, _gfortran_cshift1_8_char4,
3212         _gfortran_eoshift0_1_char4, _gfortran_eoshift0_2_char4,
3213         _gfortran_eoshift0_4_char4, _gfortran_eoshift0_8_char4,
3214         _gfortran_eoshift1_16_char4, _gfortran_eoshift1_4_char4,
3215         _gfortran_eoshift1_8_char4, _gfortran_eoshift2_1_char4,
3216         _gfortran_eoshift2_2_char4, _gfortran_eoshift2_4_char4,
3217         _gfortran_eoshift2_8_char4, _gfortran_eoshift3_16_char4,
3218         _gfortran_eoshift3_4_char4 and _gfortran_eoshift3_8_char4.
3219         * generated/eoshift3_4.c: Regenerate.
3220         * generated/eoshift1_8.c: Regenerate.
3221         * generated/eoshift1_16.c: Regenerate.
3222         * generated/cshift1_4.c: Regenerate.
3223         * generated/eoshift1_4.c: Regenerate.
3224         * generated/eoshift3_8.c: Regenerate.
3225         * generated/eoshift3_16.c: Regenerate.
3226         * generated/cshift1_8.c: Regenerate.
3227         * generated/cshift1_16.c: Regenerate.
3228
3229 2008-05-25  Tobias Burnus  <burnus@net-b.de>
3230
3231         PR fortran/32600
3232         * intrinsics/iso_c_binding.c (c_f_procpointer): Remove.
3233         * intrinsics/iso_c_binding.h (c_f_procpointer): Remove.
3234         * gfortran.map (c_f_procpointer): Remove.
3235
3236 2008-05-22  Thomas Koenig  <tkoenig@gcc.gnu.org>
3237
3238         PR libgfortran/36302
3239         * gfortran.map (GFORTRAN_1.1): Add _gfortran_eoshift0_16,
3240         _gfortran_eoshift0_16_char, _gfortran_eoshift2_16,
3241         _gfortran_eoshift2_16_char,_gfortran_cshift0_16,
3242         _gfortran_cshift0_16_char.  Sort alphabetically.
3243         * intrinsics/eoshift0.c:  Add function for kind=16 integer.
3244         * intrinsics/eoshift2.c:  Likewise.
3245         * intrinsics/cshift0.c:  Likewise.
3246
3247 2008-05-18  Thomas Koenig  <tkoenig@gcc.gnu.org>
3248
3249         * m4/in_pack.m4 (internal_pack_'rtype_code`):  Destination
3250         pointer is restrict.
3251         * m4/transpose.m4 (transpose_'rtype_code`):  Likewise.
3252         * m4/pack.m4 (pack_'rtype_code`):  Likewise.
3253         * m4/spread.m4 (spread_'rtype_code`):  Likewise.
3254         (spread_scalar_'rtype_code`): Likewise.
3255         * m4/iforeach.m4 (name`'rtype_qual`_'atype_code):  Likewise.
3256         * m4/eoshift1.m4 (eoshift1):  Likewise.
3257         * m4/eoshift3.m4 (eoshift3):  Likewise.
3258         * m4/in_unpack.m4 (internal_unpack_'rtype_ccode`):  Likewise.
3259         * m4/unpack.m4 (unpack0_'rtype_code`):  Likewise.
3260         (unpack1_'rtype_code`):  Likewise.
3261         * intrinsics/pack_generic.c (pack_generic.c):  Likewise.
3262         * intrinsics/unpack_generic.c (unpack_internal):  Likewise.
3263         * intrinsics/eoshift0.c (eoshift0):  Likewise.
3264         * intrinsics/eoshift2.c (eoshift2):  Likewise.
3265         * intrinsics/reshape_generic.c (reshape_internal):  Likewise.
3266         * intrinsics/reshape_packed.c (reshape_packed):  Likewise.
3267         * generated/eoshift1_16.c: Regenerated.
3268         * generated/eoshift1_4.c: Regenerated.
3269         * generated/eoshift1_8.c: Regenerated.
3270         * generated/eoshift3_16.c: Regenerated.
3271         * generated/eoshift3_4.c: Regenerated.
3272         * generated/eoshift3_8.c: Regenerated.
3273         * generated/in_pack_c10.c: Regenerated.
3274         * generated/in_pack_c16.c: Regenerated.
3275         * generated/in_pack_c4.c: Regenerated.
3276         * generated/in_pack_c8.c: Regenerated.
3277         * generated/in_pack_i1.c: Regenerated.
3278         * generated/in_pack_i16.c: Regenerated.
3279         * generated/in_pack_i2.c: Regenerated.
3280         * generated/in_pack_i4.c: Regenerated.
3281         * generated/in_pack_i8.c: Regenerated.
3282         * generated/in_pack_r10.c: Regenerated.
3283         * generated/in_pack_r16.c: Regenerated.