OSDN Git Service

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