OSDN Git Service

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