OSDN Git Service

2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2007-07-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
2
3         PR libfortran/32336
4         * m4/matmul.m4:  When the dimension of b is incorrect,
5         raise a runtime error instead of a failed assertion.
6         * generated/matmul_i1.c:  Regenerated.
7         * generated/matmul_i2.c:  Regenerated.
8         * generated/matmul_i4.c:  Regenerated.
9         * generated/matmul_i8.c:  Regenerated.
10         * generated/matmul_i16.c:  Regenerated.
11         * generated/matmul_r4.c:  Regenerated.
12         * generated/matmul_r8.c:  Regenerated.
13         * generated/matmul_r10.c:  Regenerated.
14         * generated/matmul_r16.c:  Regenerated.
15
16 2007-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
17
18         PR libgfortran/32678
19         * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
20         to go negative.
21
22 2007-07-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
23
24         PR libfortran/32217
25         * intrinsics/unpack_generic.c:  If the destination array is
26         empty, return early.
27
28 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
29
30         * aclocal.m4: Regenerated.
31
32 2007-07-04  David Edelsohn  <edelsohn@gnu.org>
33
34         * configure.ac: SUBST CFLAGS.
35         * configure: Regenerate.
36
37 2007-07-03  Janne Blomqvist  <jb@gcc.gnu.org>
38
39         * libgfortran.h: Mark internal_malloc_size as a malloc function.
40         * runtime/memory.c (internal_realloc_size): Remove.
41         (internal_realloc): Call realloc directly instead of
42         internal_realloc_size.
43         (allocate_size): Remove.
44         (allocate): Call malloc directly instead of allocate_size, mark as
45         malloc function.
46
47 2007-07-02  Steven G. Kargl  <kargl@gcc.gnu.org>
48
49         Restore collateral damage from ISO C Binding merge.
50
51         2007-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
52
53         PR libgfortran/32456
54         * io/unit.c (filename_from_unit): Don't use find_unit, instead search
55         for unit directly.
56
57
58 2007-07-02  Steven G. Kargl  <kargl@gcc.gnu.org>
59
60         * Makefile.in:  Regenerated with automake 1.9.6.
61
62 2007-07-02  Steven G. Kargl  <kargl@gcc.gnu.org>
63
64         * Makefile.in:  Remove extraneous kill.lo rule.
65
66 2007-07-02  Janne Blomqvist  <jb@gcc.gnu.org>
67
68         PR fortran/32239
69         * generated/pow_r*_i4.c: Removed.
70
71 2007-07-01  Christopher D. Rickett  <crickett@lanl.gov>
72
73         * Makefile.in: Add support for iso_c_generated_procs.c and
74         iso_c_binding.c.
75         * Makefile.am: Ditto.
76         * intrinsics/iso_c_generated_procs.c: New file containing helper
77         functions.
78         * intrinsics/iso_c_binding.c: Ditto.
79         * intrinsics/iso_c_binding.h: New file
80         * gfortran.map: Include the __iso_c_binding_c_* functions.
81         * libgfortran.h: define GFC_NUM_RANK_BITS.
82
83 2007-07-01  Janne Blomqvist  <jb@gcc.gnu.org>
84
85         PR fortran/32239
86         * Makefile.am: Don't generate real**int4 pow functions.
87         * gfortran.map: Remove real**int4 pow symbols.
88         * Makefile.in: Regenerated.
89
90 2007-07-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
91
92         PR libgfortran/32554
93         * io/write.c (output_float): Set edigits to a fixed size, avoiding
94         variation in field width calculation and eliminate buffer overrun.
95
96 2007-07-01  Janne Blomqvist  <jb@gcc.gnu.org>
97
98         * runtime/memory.c (internal_realloc): Use index_type for size
99         argument instead of GFC_INTEGER_4.
100         (allocate_array): Likewise.
101         (allocate): Likewise, add ifdef around unnecessary check.
102         (internal_reallo64): Remove.
103         (allocate_array64): Remove.
104         (allocate64): Remove.
105         * gfortran.map: Remove symbols for 64-bit allocation functions.
106
107 2007-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
108
109         PR libgfortran/32456
110         * io/unit.c (filename_from_unit): Don't use find_unit, instead search
111         for unit directly.
112
113 2007-06-24  Adam Nemet  <anemet@caviumnetworks.com>
114
115         PR libfortran/32495
116         * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
117         (show_backtrace): Rename strcasestr to local_strcasestr.
118
119 2007-06-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
120
121         PR libgfortran/32456
122         * runtime/error.c (show_locus): Update to emit the unit number
123         and file name involved with the error.  Use new function
124         filename_from_unit.
125         * libgfortran.h (filename_from_unit): Declare new function.
126         * io/unit.c (init_units): Set the unit file name for stdin, stdout,
127         and stderr for use later in error reporting.
128         (filename_from_unit): Add this new function.
129
130 2007-06-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
131
132         PR libgfortran/32446
133         * io/write.c (output_float): Calculate ndigits correctly for large
134         numbered formats that must pad zeros before the decimal point.
135
136 2007-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
137
138         PR libfortran/32345
139         * runtime/backtrace.c (show_backtrace): Only use snprintf if
140         available.
141
142 2007-06-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
143
144         PR libgfortran/32235
145         * io/transfer.c (st_read): Remove test for end of file condition.
146         (next_record_r): Add test for end of file condition.
147
148 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
149
150         * configure: Regenerate.
151
152 2007-05-28  Tobias Burnus  <burnus@net-b.de>
153
154         PR fortran/32124
155         * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
156         (allocate,allocate64): Use stat variable if present.
157
158 2007-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
159
160         * runtime/string.c (compare0): Use gfc_charlen_type instead of
161         int.
162         (fstrlen): Likewise.
163         (find_option): Likewise.
164         (fstrcpy): Use gfc_charlen_type instead of int, return length.
165         (cf_strcpy): Likewise.
166         * libgfortran.h: Change string prototypes to use gfc_charlen_type.
167         * io/open.c (new_unit): Use snprintf if available.
168         * io/list_read.c (nml_touch_nodes): Use memcpy instead of
169         strcpy/strcat.
170         (nml_read_obj): Likewise.
171         * io/transfer.c (st_set_nml_var): Likewise.
172         * io/write.c (output_float): Use snprintf if available.
173         (nml_write_obj) Use memcpy instead of strcpy/strcat.
174
175 2007-05-26  Janne Blomqvist  <jb@gcc.gnu.org>
176
177         * io/unix.c (unix_stream): Rearrange struct members, remove
178         small_buffer.
179         (int_stream): New struct.
180         (fd_alloc): Always use existing buffer, never reallocate.
181         (fd_sfree): Remove check for buffer != small_buffer.
182         (fd_close): Likewise.
183         (mem_alloc_r_at): Change to use int_stream.
184         (mem_alloc_w_at): Likewise.
185         (mem_read): Likewise.
186         (mem_write): Likewise.
187         (mem_set): Likewise.
188         (mem_truncate): Likewise.
189         (mem_close): Likewise.
190         (mem_sfree): Likewise.
191         (empty_internal_buffer): Likewise.
192         (open_internal): Likewise.
193         
194 2007-05-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
195
196         * io/transfer.c (unformatted_read): Use size from front end eliminating
197         use of size_from_real_kind. (unformatted_write): Ditto.
198
199 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
200
201         * Makefile.in: Regenerate.
202         * configure: Regenerate.
203         * aclocal.m4: Regenerate.
204
205 2007-05-22  Tobias Burnus  <burnus@net-b.de>
206
207         * libgfortran.h: Mark stop_numeric as noreturn.
208
209 2007-05-22  Tobias Burnus  <burnus@net-b.de>
210
211         PR libgfortran/31295
212         * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
213         * intrinsics/eoshift2.c (eoshift2): Ditto.
214
215 2007-05-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
216
217         PR libfortran/31964
218         * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
219         shift of bit-size number of bits.
220
221 2007-05-17  Tobias Burnus <burnus@net-b.de>
222
223         PR fortran/31917
224         * runtime/environ.c (mark_range): Fix setting default convert unit.
225
226 2007-05-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
227
228         PR libfortran/31922
229         * intrinsics/string_intrinsics.c (string_trim): Set result to null if
230         string length is zero.
231
232 2007-05-15  Tobias Burnus  <burnus@net-b.de>
233
234         PR libfortran/31915
235         * io/transfer.c (unformatted_read): Use proper size for real(10).
236           (unformatted_write): Ditto.
237
238 2007-05-14  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
239
240         PR fortran/30723
241         * runtime/memory.c (internal_malloc, internal_malloc64,
242         internal_free): Remove.
243         * runtime/error.c (os_error): Export function.
244         * intrinsics/move_alloc.c: Include stdlib.h.
245         (move_alloc): Call free instead of internal_free.
246         (move_alloc_c): Wrap long lines.
247         * libgfortran.h (os_error): Export prototype.
248         (internal_free): Remove prototype.
249         * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
250         _gfortran_internal_malloc and _gfortran_internal_malloc64.
251         Add _gfortran_os_error.
252
253 2007-05-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
254
255         PR libfortran/31880
256         * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
257
258 2007-05-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
259
260         PR libfortran/31607
261         * intrinsics/system.c (system_sub): Call flush_all_units.
262         * io/io.h (flush_all_units): Move prototype to libgfortran.h.
263         * libgfortran.h (flush_all_units): Add prototype.
264
265 2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
266
267         PR libfortran/31201
268         * runtime/error.c (runtime_error_at): New function.
269         (generate_error): Export this function.
270         * gfortran.map: Add _gfortran_generate_error and
271         _gfortran_runtime_error_at.
272         * libgfortran.h: Add comment to reference error codes in front end.
273         (library_start): Locate prototype with library_end macro and add
274         a new comment.  Add prototype for runtime_error_at. Export prototype for
275         generate_error.
276         * io/lock.c (library_start): Fix check for error condition.
277         * io/transfer.c (data_transfer_init): Add library check.
278
279 2007-05-04  Daniel Franke  <franke.daniel@gmail.com>
280
281         PR fortran/22359
282         * io/intrinsics.c (fseek_sub): New.
283         * io/unix.c (fd_fseek): Change logical and physical offsets only
284         if seek succeeds.
285         * gfortran.map (fseek_sub): New.
286
287 2007-05-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
288
289         PR libfortran/31210
290         * io/transfer.c (transfer_character): Avoid passing a NULL
291         pointer as source to the transfer routines, if the string length
292         is zero.
293
294 2007-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
295
296         PR libfortran/31501
297         * io/list_read.c (next_char): Fix whitespace.
298         * io/io.h: Remove prototypes and define macros for is_array_io,
299         is_stream_io, and is_internal_unit.
300         * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
301         these functions.
302         * io/transfer.c (read_sf): Change handling of internal_unit to make a
303         single call to salloc_r and use memcpy to transfer the data. 
304
305 2007-04-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
306
307         PR libfortran/31532
308         * io/file_pos.c (st_backspace): Set flags.position for end of file
309         condition and use new function update_position.
310         (st_endfile): Use new function update_position.
311         * io/io.h: Add prototype for new function.
312         * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
313         to zero.
314         * io/unit.c (update_position): New function to update position info
315         used by inquire.
316         * io/transfer.c (next_record): Fix typo and use new function.
317
318 2007-04-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
319
320         PR libfortran/31299
321         * intrinsics/getlog.c: Use getpwuid and geteuid instead of
322         getlogin if they are available.
323         * configure.ac: Add checks for getpwuid and geteuid.
324         * configure: Regenerate.
325         * config.h.in: Regenerate.
326
327 2007-04-25  Janne Blomqvist  <jb@gcc.gnu.org>
328
329         * configure: Regenerate using autoconf 2.59.
330         * Makefile.in: Likewise.  
331         * config.h.in: Likewise.
332
333 2007-04-24  Janne Blomqvist  <jb@gcc.gnu.org>
334
335         PR libfortran/27740
336         * configure.ac: New test to determine if symbol versioning is
337         supported.
338         * Makefile.am: Use result of above test to add appropriate linker
339         flags.
340         * gfortran.map: New file.
341         * configure: Regenerated.
342         * Makefile.in: Regenerated.
343         * config.h.in: Regenerated.
344
345 2007-04-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
346
347         PR fortran/31618
348         * io/transfer.c (read_block_direct):  Instead of calling us_read,
349         set dtp->u.p.current_unit->current_record = 0 so that pre_position
350         will read the record marker.
351         (data_transfer_init):  For different error conditions, call
352         generate_error, then return.
353
354 2007-04-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
355
356         * runtime/main.c (please_free_exe_path_when_done): New variable.
357         (store_exe_path): Initialize character buffer, and mark whether
358         exe_path should be free'd by the library destructor function.
359         (cleanup): Only free exe_path if needed.
360
361 2007-04-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
362             Tobias Burnus  <burnus@net-b.de>
363
364         PR libfortran/31286
365         PR libfortran/31296
366         * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
367         * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
368         array structures we pass to unpack_internal.
369
370 2007-04-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
371
372         * io/open.c (test_endfile): Revert changes for 31052, restoring this
373         function. 
374
375 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
376
377         * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.  Add libgfortran_la_LINK.
378         * Makefile.in: Regenerate.
379
380 2007-04-11  Kai Tietz  <kai.tietz@onevision.com>
381
382         * configure: Regenerate.
383
384 2007-04-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
385
386         * intrinsics/cpu_time.c: Don't include headers already included
387         by libgfortran.h. Protect inclusion of sys/times.h.
388         * configure.ac: Remove unneeded checks for finit, stdio.h,
389         stddef.h, math.h and sys/params.h.
390         * config/fpu-aix.h: Don't include headers already included by
391         libgfortran.h.
392         * config/fpu-sysv.h: Likewise.
393         * io/write.c: Likewise.
394         * m4/minloc1.m4: Likewise.
395         * m4/maxloc1.m4: Likewise.
396         * m4/fraction.m4: Likewise.
397         * m4/set_exponent.m4: Likewise.
398         * m4/spacing.m4: Likewise.
399         * m4/minval.m4: Likewise.
400         * m4/maxval.m4: Likewise.
401         * m4/exponent.m4: Likewise.
402         * m4/nearest.m4: Likewise.
403         * m4/minloc0.m4: Likewise.
404         * m4/maxloc0.m4: Likewise.
405         * m4/rrspacing.m4: Likewise.
406         * runtime/main.c: Likewise.
407         * runtime/error.c: Likewise.
408         * intrinsics/system_clock.c: Likewise.
409         * intrinsics/etime.c: Likewise.
410         * intrinsics/stat.c: Likewise.
411         * intrinsics/date_and_time.c: Likewise.
412         * intrinsics/env.c: Likewise.
413         * intrinsics/kill.c: Likewise.
414         * intrinsics/getXid.c: Likewise.
415         * intrinsics/chmod.c: Likewise.
416         * intrinsics/args.c: Likewise.
417         * intrinsics/c99_functions.c: Likewise.
418         * generated/minval_r8.c: Regenerate.
419         * generated/maxloc1_4_r8.c: Regenerate.
420         * generated/minloc1_16_r16.c: Regenerate.
421         * generated/maxval_i2.c: Regenerate.
422         * generated/maxloc1_8_i4.c: Regenerate.
423         * generated/exponent_r16.c: Regenerate.
424         * generated/maxloc0_4_r4.c: Regenerate.
425         * generated/fraction_r16.c: Regenerate.
426         * generated/fraction_r4.c: Regenerate.
427         * generated/minloc0_4_r16.c: Regenerate.
428         * generated/minloc0_4_i1.c: Regenerate.
429         * generated/maxloc0_4_r16.c: Regenerate.
430         * generated/maxloc0_4_i2.c: Regenerate.
431         * generated/minloc1_8_r16.c: Regenerate.
432         * generated/maxloc1_8_r16.c: Regenerate.
433         * generated/set_exponent_r8.c: Regenerate.
434         * generated/maxloc0_8_i8.c: Regenerate.
435         * generated/minloc1_4_r8.c: Regenerate.
436         * generated/maxloc1_16_r16.c: Regenerate.
437         * generated/minloc1_16_i4.c: Regenerate.
438         * generated/maxloc1_16_i4.c: Regenerate.
439         * generated/minloc0_16_i8.c: Regenerate.
440         * generated/maxloc0_16_i8.c: Regenerate.
441         * generated/nearest_r8.c: Regenerate.
442         * generated/spacing_r16.c: Regenerate.
443         * generated/maxval_r16.c: Regenerate.
444         * generated/minloc1_8_i4.c: Regenerate.
445         * generated/minloc0_16_i16.c: Regenerate.
446         * generated/minloc0_4_r4.c: Regenerate.
447         * generated/set_exponent_r10.c: Regenerate.
448         * generated/rrspacing_r10.c: Regenerate.
449         * generated/minloc0_4_i2.c: Regenerate.
450         * generated/maxloc0_8_i1.c: Regenerate.
451         * generated/minloc0_8_i8.c: Regenerate.
452         * generated/spacing_r4.c: Regenerate.
453         * generated/minloc1_16_r10.c: Regenerate.
454         * generated/minloc0_16_i1.c: Regenerate.
455         * generated/maxloc0_16_i1.c: Regenerate.
456         * generated/maxloc1_8_r8.c: Regenerate.
457         * generated/minval_i16.c: Regenerate.
458         * generated/exponent_r10.c: Regenerate.
459         * generated/maxval_i4.c: Regenerate.
460         * generated/minval_i8.c: Regenerate.
461         * generated/maxloc1_4_i8.c: Regenerate.
462         * generated/fraction_r10.c: Regenerate.
463         * generated/maxloc0_16_i16.c: Regenerate.
464         * generated/maxloc0_8_r4.c: Regenerate.
465         * generated/rrspacing_r8.c: Regenerate.
466         * generated/minloc1_4_i16.c: Regenerate.
467         * generated/minloc0_4_r10.c: Regenerate.
468         * generated/maxloc1_4_i16.c: Regenerate.
469         * generated/minloc0_8_i16.c: Regenerate.
470         * generated/maxloc0_4_r10.c: Regenerate.
471         * generated/maxloc0_8_i16.c: Regenerate.
472         * generated/minloc1_8_r10.c: Regenerate.
473         * generated/minloc0_16_r4.c: Regenerate.
474         * generated/maxloc1_8_r10.c: Regenerate.
475         * generated/maxloc0_16_r4.c: Regenerate.
476         * generated/minloc1_16_r8.c: Regenerate.
477         * generated/minloc0_8_i1.c: Regenerate.
478         * generated/maxloc0_4_i4.c: Regenerate.
479         * generated/maxloc1_16_r8.c: Regenerate.
480         * generated/maxloc0_8_i2.c: Regenerate.
481         * generated/nearest_r16.c: Regenerate.
482         * generated/maxloc1_16_r10.c: Regenerate.
483         * generated/minloc0_16_i2.c: Regenerate.
484         * generated/minloc1_8_r8.c: Regenerate.
485         * generated/maxloc0_16_i2.c: Regenerate.
486         * generated/exponent_r4.c: Regenerate.
487         * generated/spacing_r10.c: Regenerate.
488         * generated/maxval_r10.c: Regenerate.
489         * generated/minval_i1.c: Regenerate.
490         * generated/maxloc1_4_i1.c: Regenerate.
491         * generated/minloc1_4_i8.c: Regenerate.
492         * generated/minloc0_8_r4.c: Regenerate.
493         * generated/minloc0_16_r16.c: Regenerate.
494         * generated/minloc0_4_i4.c: Regenerate.
495         * generated/minloc0_8_i2.c: Regenerate.
496         * generated/minval_r4.c: Regenerate.
497         * generated/maxloc1_4_r4.c: Regenerate.
498         * generated/maxval_r8.c: Regenerate.
499         * generated/minval_r16.c: Regenerate.
500         * generated/minloc1_4_i1.c: Regenerate.
501         * generated/minval_i2.c: Regenerate.
502         * generated/maxloc1_4_i2.c: Regenerate.
503         * generated/maxloc1_8_i8.c: Regenerate.
504         * generated/maxloc0_4_r8.c: Regenerate.
505         * generated/maxloc0_16_r16.c: Regenerate.
506         * generated/minloc1_4_r16.c: Regenerate.
507         * generated/fraction_r8.c: Regenerate.
508         * generated/maxloc1_4_r16.c: Regenerate.
509         * generated/set_exponent_r4.c: Regenerate.
510         * generated/minloc0_8_r16.c: Regenerate.
511         * generated/maxloc0_8_r16.c: Regenerate.
512         * generated/nearest_r10.c: Regenerate.
513         * generated/maxloc0_8_i4.c: Regenerate.
514         * generated/minloc1_4_r4.c: Regenerate.
515         * generated/minloc0_16_i4.c: Regenerate.
516         * generated/maxloc0_16_i4.c: Regenerate.
517         * generated/nearest_r4.c: Regenerate.
518         * generated/minloc1_16_i8.c: Regenerate.
519         * generated/maxloc1_16_i8.c: Regenerate.
520         * generated/minloc1_4_i2.c: Regenerate.
521         * generated/maxloc1_8_i1.c: Regenerate.
522         * generated/minloc0_16_r10.c: Regenerate.
523         * generated/minloc1_8_i8.c: Regenerate.
524         * generated/minloc0_4_r8.c: Regenerate.
525         * generated/minloc0_8_i4.c: Regenerate.
526         * generated/minloc1_16_i16.c: Regenerate.
527         * generated/spacing_r8.c: Regenerate.
528         * generated/maxloc1_8_r4.c: Regenerate.
529         * generated/minloc1_16_i1.c: Regenerate.
530         * generated/maxloc1_16_i1.c: Regenerate.
531         * generated/minval_r10.c: Regenerate.
532         * generated/minval_i4.c: Regenerate.
533         * generated/minloc1_8_i1.c: Regenerate.
534         * generated/maxloc1_4_i4.c: Regenerate.
535         * generated/maxloc1_8_i2.c: Regenerate.
536         * generated/maxval_i8.c: Regenerate.
537         * generated/maxloc0_16_r10.c: Regenerate.
538         * generated/rrspacing_r4.c: Regenerate.
539         * generated/minloc0_4_i16.c: Regenerate.
540         * generated/maxloc0_8_r8.c: Regenerate.
541         * generated/maxloc0_4_i16.c: Regenerate.
542         * generated/minloc1_4_r10.c: Regenerate.
543         * generated/minloc1_8_i16.c: Regenerate.
544         * generated/maxloc1_4_r10.c: Regenerate.
545         * generated/minloc0_8_r10.c: Regenerate.
546         * generated/maxloc1_8_i16.c: Regenerate.
547         * generated/maxloc0_8_r10.c: Regenerate.
548         * generated/minloc1_16_r4.c: Regenerate.
549         * generated/maxloc1_16_r4.c: Regenerate.
550         * generated/minloc0_16_r8.c: Regenerate.
551         * generated/maxloc0_16_r8.c: Regenerate.
552         * generated/maxloc0_4_i8.c: Regenerate.
553         * generated/maxloc1_16_i16.c: Regenerate.
554         * generated/minloc1_8_r4.c: Regenerate.
555         * generated/minloc1_16_i2.c: Regenerate.
556         * generated/maxloc1_16_i2.c: Regenerate.
557         * generated/maxval_i16.c: Regenerate.
558         * generated/exponent_r8.c: Regenerate.
559         * generated/minloc1_4_i4.c: Regenerate.
560         * generated/maxval_i1.c: Regenerate.
561         * generated/minloc1_8_i2.c: Regenerate.
562         * generated/minloc0_8_r8.c: Regenerate.
563         * generated/set_exponent_r16.c: Regenerate.
564         * generated/maxloc0_4_i1.c: Regenerate.
565         * generated/rrspacing_r16.c: Regenerate.
566         * generated/minloc0_4_i8.c: Regenerate.
567         * generated/maxval_r4.c: Regenerate.
568         * configure: Regenerate.
569         * config.h.in: Regenerate.
570
571 2007-04-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
572
573         PR libfortran/31395
574         * io/format.c (parse_format_list): Fix parsing.
575
576 2007-04-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
577
578         PR fortran/31304
579         intrinsics/string_intrinsics.c (string_repeat): Remove.
580
581 2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
582
583         PR libfortran/31052
584         * io/open.c (test_endfile): Delete this function.
585         (edit_modes): Delete call to test_endfile.
586         (new_unit): Likewise.
587         * io/io.h: Delete prototype for test_endfile.
588         * io/transfer.c (next_record_r): Remove use of test_endfile.
589         (st_read):  Add test for end file condition and adjust status. 
590
591 2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
592
593         PR libfortran/31366
594         * io/transfer.c (read_block_direct): Do not generate error when reading
595         past EOF on a short record that is less than the RECL= specified.
596         
597 2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
598
599         PR libfortran/31207
600         * io/unit.c (close_unit_1): If there are bytes previously written from
601         ADVANCE="no", move to the end before closing.
602
603 2007-03-31  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
604
605         PR libfortran/31335
606         * intrinsics/stat.c: Only provide STAT and FSTAT library routines
607         if stat() and fstat() library functions are available. When lstat()
608         is not available, use stat() instead.
609         * configure.ac: Add checks for stat, fstat and lstat.
610         * configure: Regenerate.
611         * config.h.in: Regenerate.
612
613 2007-03-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
614
615         PR libfortran/31052
616         * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
617         mode.
618
619 2007-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
620
621         PR libfortran/31199
622         * io/io.h: Add saved_pos to gfc_unit structure.
623         * io/open.c (new_unit): Initialize saved_pos.
624         * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
625         (next_record_w): Fix whitespace.
626         (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
627         later use.  If not ADVANCE="no" set saved_pos to zero.
628
629 2007-03-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
630
631         PR libfortran/31196
632         * intrinsics/reshape_generic.c (reshape_internal):  Increment
633         correct variable.
634
635 2007-03-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
636
637         PR libfortran/31052
638         * file_pos.c: Update Copyright year.
639         * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
640         Update Copyright year.
641         * io/io.h: Same.
642         * io/unix.c (is_special): Add missing type for this function.
643         Update Copyright year.
644         * io/transfer.c (next_record_r): Restore test_endfile.
645         (st_read): Fix whitespace.  Update Copyright year
646
647 2007-03-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
648
649         * configure.ac: Add missing check for gettimeofday.
650         * config.h.in: Renegerate.
651         * configure: Regenerate.
652
653 2007-03-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
654
655         PR libfortran/31052
656         * io/file_position (st_rewind): Fix comments. Remove use of
657         test_endfile. Don't seek if already at 0 position.  Use new is_special
658         function to set endfile state.
659         * io/open.c (test_endfile): Delete this function.
660         * io/io.h: Delete prototype for test_endfile.  Add prototype
661         for is_special.
662         * io/unix.c (is_special): New function. Fix whitespace.
663         * io/transfer.c (next_record_r): Remove use of test_endfile.
664
665 2007-03-16  David Edelsohn  <edelsohn@gnu.org>
666
667         * runtime/main.c: Include "config.h" first.
668
669 2007-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
670
671         PR libfortran/31099
672         * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
673
674 2007-03-15  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
675
676         * runtime/backtrace.c: New file.
677         * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
678         environment variable.
679         * runtime/compile_options.c (set_std): Add new argument.
680         * runtime/main.c (store_exe_path, full_exe_path): New functions.
681         * runtime/error.c (sys_exit): Add call to show_backtrace.
682         * libgfortran.h (options_t): New backtrace field.
683         (store_exe_path, full_exe_path, show_backtrace): New prototypes.
684         * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
685         close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
686         and getppid.
687         * Makefile.am: Add runtime/backtrace.c.
688         * fmain.c (main): Add call to store_exe_path.
689         * Makefile.in: Renegerate.
690         * config.h.in: Renegerate.
691         * configure: Regenerate.
692
693 2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
694
695         PR libfortran/31051
696         * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
697         spaces when in writing mode.  Clean up some formatting.
698
699 2007-03-14  Thomas Koenig  <Thomas.Koenig@online.de>
700
701         PR libfortran/30690
702         * all.m4: Quote everything, except for m4 macros.
703         * any.m4: Likewise.
704         * count.m4: Likewise.
705         * cshift1.m4: Likewise.
706         * eoshift1.m4: Likewise.
707         * eoshift3.m4: Likewise.
708         * exponent.m4: Likewise.
709         * fraction.m4: Likewise.
710         * in_pack.m4: Likewise.
711         * in_unpack.m4: Likewise.
712         * matmul.m4: Likewise.
713         * matmull.m4: Likewise.
714         * nearest.m4: Likewise.
715         * pow.m4: Likewise.
716         * product.m4: Likewise.
717         * reshape.m4: Likewise.
718         * rrspacing.m4: Likewise.
719         * set_exponent.m4: Likewise.
720         * shape.m4: Likewise.
721         * spacing.m4: Likewise.
722         * transpose.m4: Likewise.
723
724 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
725
726         * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
727         O_RDONLY even if errno is EROFS.
728
729 2007-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
730
731         PR libfortran/31099
732         * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
733         * io/transfer.c (next_record_w): Set bytes left to record length for
734         sequential unformatted I/O.
735         (next_record_r): Ditto.
736         (read_block_direct): Fix test for exceeding bytes_left.
737
738 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
739
740         PR fortran/30947
741         * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with 
742         integer arguments.
743
744 2007-03-04  Thomas Koenig  <Thomas.Koenig@online.de>
745
746         PR libfortran/30981
747         * m4/pow_m4: Use appropriate unsigned int type for u.
748         * generated/pow_c10_i16.c: Regenerated.
749         * generated/pow_c10_i4.c: Regenerated.
750         * generated/pow_c10_i8.c: Regenerated.
751         * generated/pow_c16_i16.c: Regenerated.
752         * generated/pow_c16_i4.c: Regenerated.
753         * generated/pow_c16_i8.c: Regenerated.
754         * generated/pow_c4_i16.c: Regenerated.
755         * generated/pow_c4_i4.c: Regenerated.
756         * generated/pow_c4_i8.c: Regenerated.
757         * generated/pow_c8_i16.c: Regenerated.
758         * generated/pow_c8_i4.c: Regenerated.
759         * generated/pow_c8_i8.c: Regenerated.
760         * generated/pow_i16_i16.c: Regenerated.
761         * generated/pow_i16_i4.c: Regenerated.
762         * generated/pow_i16_i8.c: Regenerated.
763         * generated/pow_i4_i16.c: Regenerated.
764         * generated/pow_i4_i4.c: Regenerated.
765         * generated/pow_i4_i8.c: Regenerated.
766         * generated/pow_i8_i16.c: Regenerated.
767         * generated/pow_i8_i4.c: Regenerated.
768         * generated/pow_i8_i8.c: Regenerated.
769         * generated/pow_r10_i16.c: Regenerated.
770         * generated/pow_r10_i4.c: Regenerated.
771         * generated/pow_r10_i8.c: Regenerated.
772         * generated/pow_r16_i16.c: Regenerated.
773         * generated/pow_r16_i4.c: Regenerated.
774         * generated/pow_r16_i8.c: Regenerated.
775         * generated/pow_r4_i16.c: Regenerated.
776         * generated/pow_r4_i4.c: Regenerated.
777         * generated/pow_r4_i8.c: Regenerated.
778         * generated/pow_r8_i16.c: Regenerated.
779         * generated/pow_r8_i4.c: Regenerated.
780         * generated/pow_r8_i8.c: Regenerated.
781
782 2007-03-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
783
784         PR libfortran/31001
785         * intrinsics/pack_generic.c (pack_internal): Add special checks
786         for zero-sized arrays.
787
788 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
789
790         * Makefile.am: Add dummy install-pdf target.
791         * Makefile.in: Regenerate
792
793 2007-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
794
795         PR libfortran/30918
796         * io/listread.c (namelist_read): Eat comment line.
797
798 2007-02-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
799
800         PR libfortran/30910
801         * io/write.c (output_float): Add condition of format F only for
802         special case rounding with zero precision.
803
804 2007-02-19  Thomas Koenig  <Thomas.Koenig@online.de>
805
806         PR libfortran/30533
807         PR libfortran/30765
808         * Makefile.am: Add $(srcdir) too all files in generated/.
809         (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
810         maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
811         maxloc0_16_i2.c.
812         (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
813         maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
814         maxloc1_16_i2.c.
815         (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
816         (i_minloc0_c):  Add minloc0_4_i1.c, minloc0_8_i1.c,
817         minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
818         minloc0_16_i2.c.
819         (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
820         minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
821         minloc1_16_i2.c.
822         (i_minval_c):  Add minval_i1.c and minval_i2.c.
823         (i_sum_c):  Add sum_i1.c and sum_i2.c.
824         (i_product_c):  Add product_i1.c and product_i2.c.
825         (i_matmul_c):  Add matmul_i1.c and matmul_i2.c.
826         (gfor_built_specific_src):  Remove $(srcdir) from target.
827         (gfor_bulit_specific2_src):  Likewise.
828         Makefile.in:  Regenerated.
829         libgfortran.h:  Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
830         Add gfc_array_i1 and gfc_array_i2.
831         * generated/matmul_i1.c: New file.
832         * generated/matmul_i2.c: New file.
833         * generated/maxloc0_16_i1.c: New file.
834         * generated/maxloc0_16_i2.c: New file.
835         * generated/maxloc0_4_i1.c: New file.
836         * generated/maxloc0_4_i2.c: New file.
837         * generated/maxloc0_8_i1.c: New file.
838         * generated/maxloc0_8_i2.c: New file.
839         * generated/maxloc1_16_i1.c: New file.
840         * generated/maxloc1_16_i2.c: New file.
841         * generated/maxloc1_4_i1.c: New file.
842         * generated/maxloc1_4_i2.c: New file.
843         * generated/maxloc1_8_i1.c: New file.
844         * generated/maxloc1_8_i2.c: New file.
845         * generated/maxval_i1.c: New file.
846         * generated/maxval_i2.c: New file.
847         * generated/minloc0_16_i1.c: New file.
848         * generated/minloc0_16_i2.c: New file.
849         * generated/minloc0_4_i1.c: New file.
850         * generated/minloc0_4_i2.c: New file.
851         * generated/minloc0_8_i1.c: New file.
852         * generated/minloc0_8_i2.c: New file.
853         * generated/minloc1_16_i1.c: New file.
854         * generated/minloc1_16_i2.c: New file.
855         * generated/minloc1_4_i1.c: New file.
856         * generated/minloc1_4_i2.c: New file.
857         * generated/minloc1_8_i1.c: New file.
858         * generated/minloc1_8_i2.c: New file.
859         * generated/minval_i1.c: New file.
860         * generated/minval_i2.c: New file.
861         * generated/product_i1.c: New file.
862         * generated/product_i2.c: New file.
863         * generated/sum_i1.c: New file.
864         * generated/sum_i2.c: New file.
865
866 2007-02-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
867
868         * runtime/memory.c (deallocate): Correct comment.
869
870 2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
871
872         * Makefile.am:  Use $(M4) instead of m4.
873         * Makefile.in:  Regenerate.
874
875 2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
876
877         * Makefile.am: Remove $(srcdir) from assorted targets
878         in maintainer mode.
879         * Makefile.in: Regenerate.
880
881 2007-02-09  Thomas Koenig  <Thomas.Koenig@online.de>
882             Tobias Burnus  <burnus@net-b.de>
883
884         PR fortran/30512
885         * m4/iparm.m4: Use HUGE-1 for most negative integer.
886         * generated/maxloc1_8_i4.c: Regenerate.
887         * generated/maxloc0_8_i8.c: Regenerate.
888         * generated/maxloc1_16_i4.c: Regenerate.
889         * generated/maxloc0_16_i8.c: Regenerate.
890         * generated/maxval_i4.c: Regenerate.
891         * generated/maxloc1_4_i8.c: Regenerate.
892         * generated/maxloc0_16_i16.c: Regenerate.
893         * generated/maxloc1_4_i16.c: Regenerate.
894         * generated/maxloc0_8_i16.c: Regenerate.
895         * generated/maxloc0_4_i4.c: Regenerate.
896         * generated/maxloc1_8_i8.c: Regenerate.
897         * generated/maxloc0_8_i4.c: Regenerate.
898         * generated/maxloc0_16_i4.c: Regenerate.
899         * generated/maxloc1_16_i8.c: Regenerate.
900         * generated/maxloc1_4_i4.c: Regenerate.
901         * generated/maxval_i8.c: Regenerate.
902         * generated/maxloc0_4_i16.c: Regenerate.
903         * generated/maxloc1_8_i16.c: Regenerate.
904         * generated/maxloc0_4_i8.c: Regenerate.
905         * generated/maxloc1_16_i16.c: Regenerate.
906         * generated/maxval_i16.c: Regenerate.
907
908 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
909
910         PR fortran/30611
911         * intrinsics/string_intrinsics.c (string_repeat): Don't check
912         if ncopies is negative.
913
914 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
915
916         PR libfortran/30007
917         * libgfortran.h: Do not prefix symbol name with
918         __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
919
920 2007-02-02  Paul Thomas  <pault@gcc.gnu.org>
921
922         PR fortran/30284
923         PR fortran/30626
924         * io/transfer.c (init_loop_spec, next_array_record): Change to
925         lbound rather than unity base.
926
927 2007-01-21  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
928
929         * runtime/error.c: Include sys/time.h before sys/resource.h.
930
931 2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>
932
933         PR libfortran/30525
934         * intrinsics/string_intrinsics.c(compare_string):  Make
935         sure that comparisons are done unsigned.
936
937 2007-01-21  Tobias Burnus  <burnus@net-b.de>
938
939         PR libfortran/30015
940         * intrinsics/date_and_time.c (date_and_time): Fix case where time
941           can go backwards.
942         * configure.ac: Remove AC_TRY_RUN test for timezone in
943           gettimeofday.
944         * acinclude.m4: Ditto.
945         * configure: Regenerate.
946         * config.h.in: Regenerate.
947
948 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
949
950         * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
951         * m4/specific2.m4: Likewise.
952         * m4/specific.m4: Likewise.
953         * intrinsics/f2c_specifics.F90: Likewise.
954         * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
955         * intrinsics/selected_real_kind.f90: Likewise.
956         * intrinsics/dprod_r8.f90: Likewise.
957         * Makefile.am: Add -fallow-leading-underscore to the
958         gfor_specific_src files, as well as selected_real_kind.F90
959         and selected_int_kind.F90
960         * Makefile.in: Regenerate.
961         * generated/_sqrt_c8.F90: Regenerate.
962         * generated/_sign_r16.F90: Regenerate.
963         * generated/_log_c16.F90: Regenerate.
964         * generated/_sin_c10.F90: Regenerate.
965         * generated/_tanh_r4.F90: Regenerate.
966         * generated/_tanh_r8.F90: Regenerate.
967         * generated/_log10_r10.F90: Regenerate.
968         * generated/_aimag_c4.F90: Regenerate.
969         * generated/_sign_r4.F90: Regenerate.
970         * generated/_aimag_c8.F90: Regenerate.
971         * generated/_sign_r8.F90: Regenerate.
972         * generated/_mod_i4.F90: Regenerate.
973         * generated/_cos_r16.F90: Regenerate.
974         * generated/_aint_r10.F90: Regenerate.
975         * generated/_mod_i8.F90: Regenerate.
976         * generated/_abs_i16.F90: Regenerate.
977         * generated/_sqrt_c10.F90: Regenerate.
978         * generated/_atan2_r4.F90: Regenerate.
979         * generated/_cos_c4.F90: Regenerate.
980         * generated/_atan_r16.F90: Regenerate.
981         * generated/_tanh_r10.F90: Regenerate.
982         * generated/_atan2_r8.F90: Regenerate.
983         * generated/_cos_c8.F90: Regenerate.
984         * generated/_exp_r4.F90: Regenerate.
985         * generated/_log_r10.F90: Regenerate.
986         * generated/_exp_r8.F90: Regenerate.
987         * generated/_abs_r4.F90: Regenerate.
988         * generated/_abs_r8.F90: Regenerate.
989         * generated/_sin_r16.F90: Regenerate.
990         * generated/_tan_r4.F90: Regenerate.
991         * generated/_tan_r8.F90: Regenerate.
992         * generated/_sign_i4.F90: Regenerate.
993         * generated/_sign_i8.F90: Regenerate.
994         * generated/_exp_c16.F90: Regenerate.
995         * generated/_sqrt_r16.F90: Regenerate.
996         * generated/_conjg_c4.F90: Regenerate.
997         * generated/_conjg_c8.F90: Regenerate.
998         * generated/_dim_r16.F90: Regenerate.
999         * generated/_mod_r10.F90: Regenerate.
1000         * generated/_abs_c10.F90: Regenerate.
1001         * generated/_conjg_c16.F90: Regenerate.
1002         * generated/_tan_r16.F90: Regenerate.
1003         * generated/_asinh_r10.F90: Regenerate.
1004         * generated/_abs_i4.F90: Regenerate.
1005         * generated/_abs_i8.F90: Regenerate.
1006         * generated/_acos_r10.F90: Regenerate.
1007         * generated/_exp_r10.F90: Regenerate.
1008         * generated/_acosh_r16.F90: Regenerate.
1009         * generated/_atan2_r16.F90: Regenerate.
1010         * generated/_cos_c16.F90: Regenerate.
1011         * generated/_mod_i16.F90: Regenerate.
1012         * generated/_asin_r4.F90: Regenerate.
1013         * generated/_anint_r16.F90: Regenerate.
1014         * generated/_asin_r8.F90: Regenerate.
1015         * generated/_aimag_c10.F90: Regenerate.
1016         * generated/_exp_c4.F90: Regenerate.
1017         * generated/_sinh_r10.F90: Regenerate.
1018         * generated/_exp_c8.F90: Regenerate.
1019         * generated/_log10_r4.F90: Regenerate.
1020         * generated/_log10_r8.F90: Regenerate.
1021         * generated/_abs_c4.F90: Regenerate.
1022         * generated/_abs_r16.F90: Regenerate.
1023         * generated/_abs_c8.F90: Regenerate.
1024         * generated/_asin_r10.F90: Regenerate.
1025         * generated/_sign_r10.F90: Regenerate.
1026         * generated/_atanh_r16.F90: Regenerate.
1027         * generated/_log_c10.F90: Regenerate.
1028         * generated/_cosh_r16.F90: Regenerate.
1029         * generated/_sin_c16.F90: Regenerate.
1030         * generated/_cos_r10.F90: Regenerate.
1031         * generated/_log10_r16.F90: Regenerate.
1032         * generated/_aint_r16.F90: Regenerate.
1033         * generated/_acos_r4.F90: Regenerate.
1034         * generated/_acos_r8.F90: Regenerate.
1035         * generated/_sqrt_c16.F90: Regenerate.
1036         * generated/_acosh_r4.F90: Regenerate.
1037         * generated/_atan_r10.F90: Regenerate.
1038         * generated/_acosh_r8.F90: Regenerate.
1039         * generated/_sign_i16.F90: Regenerate.
1040         * generated/_tanh_r16.F90: Regenerate.
1041         * generated/_log_r4.F90: Regenerate.
1042         * generated/_log_r8.F90: Regenerate.
1043         * generated/_sin_r4.F90: Regenerate.
1044         * generated/_sin_r8.F90: Regenerate.
1045         * generated/_log_r16.F90: Regenerate.
1046         * generated/_sin_r10.F90: Regenerate.
1047         * generated/_sqrt_r4.F90: Regenerate.
1048         * generated/_exp_c10.F90: Regenerate.
1049         * generated/_sqrt_r8.F90: Regenerate.
1050         * generated/_asinh_r4.F90: Regenerate.
1051         * generated/_sqrt_r10.F90: Regenerate.
1052         * generated/_asinh_r8.F90: Regenerate.
1053         * generated/_dim_r4.F90: Regenerate.
1054         * generated/_dim_r8.F90: Regenerate.
1055         * generated/_dim_r10.F90: Regenerate.
1056         * generated/_cosh_r4.F90: Regenerate.
1057         * generated/_conjg_c10.F90: Regenerate.
1058         * generated/_tan_r10.F90: Regenerate.
1059         * generated/_cosh_r8.F90: Regenerate.
1060         * generated/_mod_r16.F90: Regenerate.
1061         * generated/_abs_c16.F90: Regenerate.
1062         * generated/_cos_r4.F90: Regenerate.
1063         * generated/_asinh_r16.F90: Regenerate.
1064         * generated/_cos_r8.F90: Regenerate.
1065         * generated/_atanh_r4.F90: Regenerate.
1066         * generated/_atanh_r8.F90: Regenerate.
1067         * generated/_acos_r16.F90: Regenerate.
1068         * generated/_anint_r4.F90: Regenerate.
1069         * generated/_acosh_r10.F90: Regenerate.
1070         * generated/_anint_r8.F90: Regenerate.
1071         * generated/_exp_r16.F90: Regenerate.
1072         * generated/_mod_r4.F90: Regenerate.
1073         * generated/_cos_c10.F90: Regenerate.
1074         * generated/_atan2_r10.F90: Regenerate.
1075         * generated/_dim_i16.F90: Regenerate.
1076         * generated/_mod_r8.F90: Regenerate.
1077         * generated/_anint_r10.F90: Regenerate.
1078         * generated/_aint_r4.F90: Regenerate.
1079         * generated/_aint_r8.F90: Regenerate.
1080         * generated/_dim_i4.F90: Regenerate.
1081         * generated/_sinh_r4.F90: Regenerate.
1082         * generated/_log_c4.F90: Regenerate.
1083         * generated/_dim_i8.F90: Regenerate.
1084         * generated/_sinh_r8.F90: Regenerate.
1085         * generated/_log_c8.F90: Regenerate.
1086         * generated/_sin_c4.F90: Regenerate.
1087         * generated/_sin_c8.F90: Regenerate.
1088         * generated/misc_specifics.F90: Regenerate.
1089         * generated/_abs_r10.F90: Regenerate.
1090         * generated/_aimag_c16.F90: Regenerate.
1091         * generated/_atan_r4.F90: Regenerate.
1092         * generated/_sinh_r16.F90: Regenerate.
1093         * generated/_atan_r8.F90: Regenerate.
1094         * generated/_atanh_r10.F90: Regenerate.
1095         * generated/_cosh_r10.F90: Regenerate.
1096         * generated/_sqrt_c4.F90: Regenerate.
1097         * generated/_asin_r16.F90: Regenerate.
1098
1099 2007-01-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1100
1101         PR libfortran/26893
1102         * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
1103         * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
1104         * configure: Regenerate.
1105         * config.h.in: Regenerate because it was forgottent in the last
1106         commit.
1107
1108 2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1109             Tobias Burnus  <burnus@net-b.de>
1110
1111         PR libfortran/29649
1112         * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
1113         environment variable.
1114         * runtime/compile_options.c (set_std): Add new argument.
1115         * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
1116         functionality.
1117         * libgfortran.h (options_t): New dump_core and backtrace members.
1118         (sys_exit): Move prototype.
1119         * io/unix.c (sys_exit): Move to runtime/error.c.
1120         * configure.ac: Add check for getrlimit.
1121         * configure: Regenerate.
1122
1123 2007-01-17  Tom Tromey  <tromey@redhat.com>
1124
1125         PR libfortran/27107:
1126         * aclocal.m4, configure, Makefile.in: Rebuilt.
1127         * configure.ac: Enable automake dependency tracking.  Update
1128         minimum automake version.
1129
1130 2007-01-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
1131
1132         PR libfortran/27107
1133         * runtime/environ.c: Don't include io/io.h.
1134         * runtime/string.c: Don't include io/io.h.
1135         (compare0): Add cast to avoid warning.
1136         * runtime/error.c: Don't include io/io.h.
1137         (st_printf): Move to io/unix.c.
1138         * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
1139         * intrinsics/fget.c: Likewise.
1140         * intrinsics/ftell.c: Likewise.
1141         * intrinsics/tty.c: Likewise.
1142         * libgfortran.h (DEFAULT_RECL, notification_std,
1143         get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
1144         DEFAULT_TEMPDIR): New declarations.
1145         * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
1146         IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
1147         Move to libgfortran.h.
1148         * io/unix.c: Add io/unix.h content.
1149         (st_printf): New function.
1150         * io/intrinsics.c: New file.
1151         * io/unix.h: Remove, contents moved into unix.c.
1152         * libtool-version: Update library version to 3.0.0.
1153         * configure.ac: Update library version to 0.3.
1154         * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
1155         intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
1156         * Makefile.in: Regenerate.
1157         * configure: Regenerate.
1158
1159 2007-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1160
1161         PR libfortran/30435
1162         * io/list_read.c (finish_separator): Don't call next_record.
1163         (list_formatted_read_scalar): Clean up some comments and whitespace.
1164         (nml_read_obj): Whitespace fix.
1165
1166 2007-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1167
1168         PR libfortran/30162
1169         * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
1170         s->file_length == -1.
1171         (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
1172         (fd_seek): If not seekable, just return success.
1173         (fd_truncate): If not seekable, no need to truncate.  Return failure if
1174         seek fails and the stream is not a pipe.
1175         (fd_to_stream): Make test for non-seekable file more robust.
1176
1177 2007-01-01  Steven G. Kargl  <kargls@comcast.net>
1178
1179         * ChangeLog: Copied to ...
1180         * ChangeLog-2006: here.