OSDN Git Service

* ifcvt.c (cond_exec_find_if_block): Return FALSE if no
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2007-03-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3         PR libgfortran/31052
4         * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
5         mode.
6
7 2007-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
8
9         PR libgfortran/31199
10         * io/io.h: Add saved_pos to gfc_unit structure.
11         * io/open.c (new_unit): Initialize saved_pos.
12         * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
13         (next_record_w): Fix whitespace.
14         (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
15         later use.  If not ADVANCE="no" set saved_pos to zero.
16
17 2007-03-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
18
19         PR libfortran/31196
20         * intrinsics/reshape_generic.c (reshape_internal):  Increment
21         correct variable.
22
23 2007-03-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
24
25         PR libgfortran/31052
26         * file_pos.c: Update Copyright year.
27         * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
28         Update Copyright year.
29         * io/io.h: Same.
30         * io/unix.c (is_special): Add missing type for this function.
31         Update Copyright year.
32         * io/transfer.c (next_record_r): Restore test_endfile.
33         (st_read): Fix whitespace.  Update Copyright year
34
35 2007-03-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
36
37         * configure.ac: Add missing check for gettimeofday.
38         * config.h.in: Renegerate.
39         * configure: Regenerate.
40
41 2007-03-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
42
43         PR libgfortran/31052
44         * io/file_position (st_rewind): Fix comments. Remove use of
45         test_endfile. Don't seek if already at 0 position.  Use new is_special
46         function to set endfile state.
47         * io/open.c (test_endfile): Delete this function.
48         * io/io.h: Delete prototype for test_endfile.  Add prototype
49         for is_special.
50         * io/unix.c (is_special): New function. Fix whitespace.
51         * io/transfer.c (next_record_r): Remove use of test_endfile.
52
53 2007-03-16  David Edelsohn  <edelsohn@gnu.org>
54
55         * runtime/main.c: Include "config.h" first.
56
57 2007-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
58
59         PR libgfortran/31099
60         * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
61
62 2007-03-15  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
63
64         * runtime/backtrace.c: New file.
65         * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
66         environment variable.
67         * runtime/compile_options.c (set_std): Add new argument.
68         * runtime/main.c (store_exe_path, full_exe_path): New functions.
69         * runtime/error.c (sys_exit): Add call to show_backtrace.
70         * libgfortran.h (options_t): New backtrace field.
71         (store_exe_path, full_exe_path, show_backtrace): New prototypes.
72         * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
73         close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
74         and getppid.
75         * Makefile.am: Add runtime/backtrace.c.
76         * fmain.c (main): Add call to store_exe_path.
77         * Makefile.in: Renegerate.
78         * config.h.in: Renegerate.
79         * configure: Regenerate.
80
81 2007-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
82
83         PR libgfortran/31051
84         * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
85         spaces when in writing mode.  Clean up some formatting.
86
87 2007-03-14  Thomas Koenig  <Thomas.Koenig@online.de>
88
89         PR libfortran/30690
90         * all.m4: Quote everything, except for m4 macros.
91         * any.m4: Likewise.
92         * count.m4: Likewise.
93         * cshift1.m4: Likewise.
94         * eoshift1.m4: Likewise.
95         * eoshift3.m4: Likewise.
96         * exponent.m4: Likewise.
97         * fraction.m4: Likewise.
98         * in_pack.m4: Likewise.
99         * in_unpack.m4: Likewise.
100         * matmul.m4: Likewise.
101         * matmull.m4: Likewise.
102         * nearest.m4: Likewise.
103         * pow.m4: Likewise.
104         * product.m4: Likewise.
105         * reshape.m4: Likewise.
106         * rrspacing.m4: Likewise.
107         * set_exponent.m4: Likewise.
108         * shape.m4: Likewise.
109         * spacing.m4: Likewise.
110         * transpose.m4: Likewise.
111
112 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
113
114         * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
115         O_RDONLY even if errno is EROFS.
116
117 2007-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
118
119         PR libgfortran/31099
120         * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
121         * io/transfer.c (next_record_w): Set bytes left to record length for
122         sequential unformatted I/O.
123         (next_record_r): Ditto.
124         (read_block_direct): Fix test for exceeding bytes_left.
125
126 2007-03-08  Daniel Franke  <franke.daniel@gmail.com>
127
128         PR fortran/30947
129         * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with 
130         integer arguments.
131
132 2007-03-04  Thomas Koenig  <Thomas.Koenig@online.de>
133
134         PR libfortran/30981
135         * m4/pow_m4: Use appropriate unsigned int type for u.
136         * generated/pow_c10_i16.c: Regenerated.
137         * generated/pow_c10_i4.c: Regenerated.
138         * generated/pow_c10_i8.c: Regenerated.
139         * generated/pow_c16_i16.c: Regenerated.
140         * generated/pow_c16_i4.c: Regenerated.
141         * generated/pow_c16_i8.c: Regenerated.
142         * generated/pow_c4_i16.c: Regenerated.
143         * generated/pow_c4_i4.c: Regenerated.
144         * generated/pow_c4_i8.c: Regenerated.
145         * generated/pow_c8_i16.c: Regenerated.
146         * generated/pow_c8_i4.c: Regenerated.
147         * generated/pow_c8_i8.c: Regenerated.
148         * generated/pow_i16_i16.c: Regenerated.
149         * generated/pow_i16_i4.c: Regenerated.
150         * generated/pow_i16_i8.c: Regenerated.
151         * generated/pow_i4_i16.c: Regenerated.
152         * generated/pow_i4_i4.c: Regenerated.
153         * generated/pow_i4_i8.c: Regenerated.
154         * generated/pow_i8_i16.c: Regenerated.
155         * generated/pow_i8_i4.c: Regenerated.
156         * generated/pow_i8_i8.c: Regenerated.
157         * generated/pow_r10_i16.c: Regenerated.
158         * generated/pow_r10_i4.c: Regenerated.
159         * generated/pow_r10_i8.c: Regenerated.
160         * generated/pow_r16_i16.c: Regenerated.
161         * generated/pow_r16_i4.c: Regenerated.
162         * generated/pow_r16_i8.c: Regenerated.
163         * generated/pow_r4_i16.c: Regenerated.
164         * generated/pow_r4_i4.c: Regenerated.
165         * generated/pow_r4_i8.c: Regenerated.
166         * generated/pow_r8_i16.c: Regenerated.
167         * generated/pow_r8_i4.c: Regenerated.
168         * generated/pow_r8_i8.c: Regenerated.
169
170 2007-03-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
171
172         PR libfortran/31001
173         * intrinsics/pack_generic.c (pack_internal): Add special checks
174         for zero-sized arrays.
175
176 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
177
178         * Makefile.am: Add dummy install-pdf target.
179         * Makefile.in: Regenerate
180
181 2007-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
182
183         PR libgfortran/30918
184         * io/listread.c (namelist_read): Eat comment line.
185
186 2007-02-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
187
188         PR libgfortran/30910
189         * io/write.c (output_float): Add condition of format F only for
190         special case rounding with zero precision.
191
192 2007-02-19  Thomas Koenig  <Thomas.Koenig@online.de>
193
194         PR libfortran/30533
195         PR libfortran/30765
196         * Makefile.am: Add $(srcdir) too all files in generated/.
197         (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
198         maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
199         maxloc0_16_i2.c.
200         (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
201         maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
202         maxloc1_16_i2.c.
203         (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
204         (i_minloc0_c):  Add minloc0_4_i1.c, minloc0_8_i1.c,
205         minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
206         minloc0_16_i2.c.
207         (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
208         minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
209         minloc1_16_i2.c.
210         (i_minval_c):  Add minval_i1.c and minval_i2.c.
211         (i_sum_c):  Add sum_i1.c and sum_i2.c.
212         (i_product_c):  Add product_i1.c and product_i2.c.
213         (i_matmul_c):  Add matmul_i1.c and matmul_i2.c.
214         (gfor_built_specific_src):  Remove $(srcdir) from target.
215         (gfor_bulit_specific2_src):  Likewise.
216         Makefile.in:  Regenerated.
217         libgfortran.h:  Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
218         Add gfc_array_i1 and gfc_array_i2.
219         * generated/matmul_i1.c: New file.
220         * generated/matmul_i2.c: New file.
221         * generated/maxloc0_16_i1.c: New file.
222         * generated/maxloc0_16_i2.c: New file.
223         * generated/maxloc0_4_i1.c: New file.
224         * generated/maxloc0_4_i2.c: New file.
225         * generated/maxloc0_8_i1.c: New file.
226         * generated/maxloc0_8_i2.c: New file.
227         * generated/maxloc1_16_i1.c: New file.
228         * generated/maxloc1_16_i2.c: New file.
229         * generated/maxloc1_4_i1.c: New file.
230         * generated/maxloc1_4_i2.c: New file.
231         * generated/maxloc1_8_i1.c: New file.
232         * generated/maxloc1_8_i2.c: New file.
233         * generated/maxval_i1.c: New file.
234         * generated/maxval_i2.c: New file.
235         * generated/minloc0_16_i1.c: New file.
236         * generated/minloc0_16_i2.c: New file.
237         * generated/minloc0_4_i1.c: New file.
238         * generated/minloc0_4_i2.c: New file.
239         * generated/minloc0_8_i1.c: New file.
240         * generated/minloc0_8_i2.c: New file.
241         * generated/minloc1_16_i1.c: New file.
242         * generated/minloc1_16_i2.c: New file.
243         * generated/minloc1_4_i1.c: New file.
244         * generated/minloc1_4_i2.c: New file.
245         * generated/minloc1_8_i1.c: New file.
246         * generated/minloc1_8_i2.c: New file.
247         * generated/minval_i1.c: New file.
248         * generated/minval_i2.c: New file.
249         * generated/product_i1.c: New file.
250         * generated/product_i2.c: New file.
251         * generated/sum_i1.c: New file.
252         * generated/sum_i2.c: New file.
253
254 2007-02-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
255
256         * runtime/memory.c (deallocate): Correct comment.
257
258 2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
259
260         * Makefile.am:  Use $(M4) instead of m4.
261         * Makefile.in:  Regenerate.
262
263 2007-02-10  Thomas Koenig  <Thomas.Koenig@online.de>
264
265         * Makefile.am: Remove $(srcdir) from assorted targets
266         in maintainer mode.
267         * Makefile.in: Regenerate.
268
269 2007-02-09  Thomas Koenig  <Thomas.Koenig@online.de>
270             Tobias Burnus  <burnus@net-b.de>
271
272         PR fortran/30512
273         * m4/iparm.m4: Use HUGE-1 for most negative integer.
274         * generated/maxloc1_8_i4.c: Regenerate.
275         * generated/maxloc0_8_i8.c: Regenerate.
276         * generated/maxloc1_16_i4.c: Regenerate.
277         * generated/maxloc0_16_i8.c: Regenerate.
278         * generated/maxval_i4.c: Regenerate.
279         * generated/maxloc1_4_i8.c: Regenerate.
280         * generated/maxloc0_16_i16.c: Regenerate.
281         * generated/maxloc1_4_i16.c: Regenerate.
282         * generated/maxloc0_8_i16.c: Regenerate.
283         * generated/maxloc0_4_i4.c: Regenerate.
284         * generated/maxloc1_8_i8.c: Regenerate.
285         * generated/maxloc0_8_i4.c: Regenerate.
286         * generated/maxloc0_16_i4.c: Regenerate.
287         * generated/maxloc1_16_i8.c: Regenerate.
288         * generated/maxloc1_4_i4.c: Regenerate.
289         * generated/maxval_i8.c: Regenerate.
290         * generated/maxloc0_4_i16.c: Regenerate.
291         * generated/maxloc1_8_i16.c: Regenerate.
292         * generated/maxloc0_4_i8.c: Regenerate.
293         * generated/maxloc1_16_i16.c: Regenerate.
294         * generated/maxval_i16.c: Regenerate.
295
296 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
297
298         PR fortran/30611
299         * intrinsics/string_intrinsics.c (string_repeat): Don't check
300         if ncopies is negative.
301
302 2007-02-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
303
304         PR libfortran/30007
305         * libgfortran.h: Do not prefix symbol name with
306         __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
307
308 2007-02-02  Paul Thomas  <pault@gcc.gnu.org>
309
310         PR fortran/30284
311         PR fortran/30626
312         * io/transfer.c (init_loop_spec, next_array_record): Change to
313         lbound rather than unity base.
314
315 2007-01-21  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
316
317         * runtime/error.c: Include sys/time.h before sys/resource.h.
318
319 2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>
320
321         PR libfortran/30525
322         * intrinsics/string_intrinsics.c(compare_string):  Make
323         sure that comparisons are done unsigned.
324
325 2007-01-21  Tobias Burnus  <burnus@net-b.de>
326
327         PR libfortran/30015
328         * intrinsics/date_and_time.c (date_and_time): Fix case where time
329           can go backwards.
330         * configure.ac: Remove AC_TRY_RUN test for timezone in
331           gettimeofday.
332         * acinclude.m4: Ditto.
333         * configure: Regenerate.
334         * config.h.in: Regenerate.
335
336 2007-01-20  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
337
338         * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
339         * m4/specific2.m4: Likewise.
340         * m4/specific.m4: Likewise.
341         * intrinsics/f2c_specifics.F90: Likewise.
342         * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
343         * intrinsics/selected_real_kind.f90: Likewise.
344         * intrinsics/dprod_r8.f90: Likewise.
345         * Makefile.am: Add -fallow-leading-underscore to the
346         gfor_specific_src files, as well as selected_real_kind.F90
347         and selected_int_kind.F90
348         * Makefile.in: Regenerate.
349         * generated/_sqrt_c8.F90: Regenerate.
350         * generated/_sign_r16.F90: Regenerate.
351         * generated/_log_c16.F90: Regenerate.
352         * generated/_sin_c10.F90: Regenerate.
353         * generated/_tanh_r4.F90: Regenerate.
354         * generated/_tanh_r8.F90: Regenerate.
355         * generated/_log10_r10.F90: Regenerate.
356         * generated/_aimag_c4.F90: Regenerate.
357         * generated/_sign_r4.F90: Regenerate.
358         * generated/_aimag_c8.F90: Regenerate.
359         * generated/_sign_r8.F90: Regenerate.
360         * generated/_mod_i4.F90: Regenerate.
361         * generated/_cos_r16.F90: Regenerate.
362         * generated/_aint_r10.F90: Regenerate.
363         * generated/_mod_i8.F90: Regenerate.
364         * generated/_abs_i16.F90: Regenerate.
365         * generated/_sqrt_c10.F90: Regenerate.
366         * generated/_atan2_r4.F90: Regenerate.
367         * generated/_cos_c4.F90: Regenerate.
368         * generated/_atan_r16.F90: Regenerate.
369         * generated/_tanh_r10.F90: Regenerate.
370         * generated/_atan2_r8.F90: Regenerate.
371         * generated/_cos_c8.F90: Regenerate.
372         * generated/_exp_r4.F90: Regenerate.
373         * generated/_log_r10.F90: Regenerate.
374         * generated/_exp_r8.F90: Regenerate.
375         * generated/_abs_r4.F90: Regenerate.
376         * generated/_abs_r8.F90: Regenerate.
377         * generated/_sin_r16.F90: Regenerate.
378         * generated/_tan_r4.F90: Regenerate.
379         * generated/_tan_r8.F90: Regenerate.
380         * generated/_sign_i4.F90: Regenerate.
381         * generated/_sign_i8.F90: Regenerate.
382         * generated/_exp_c16.F90: Regenerate.
383         * generated/_sqrt_r16.F90: Regenerate.
384         * generated/_conjg_c4.F90: Regenerate.
385         * generated/_conjg_c8.F90: Regenerate.
386         * generated/_dim_r16.F90: Regenerate.
387         * generated/_mod_r10.F90: Regenerate.
388         * generated/_abs_c10.F90: Regenerate.
389         * generated/_conjg_c16.F90: Regenerate.
390         * generated/_tan_r16.F90: Regenerate.
391         * generated/_asinh_r10.F90: Regenerate.
392         * generated/_abs_i4.F90: Regenerate.
393         * generated/_abs_i8.F90: Regenerate.
394         * generated/_acos_r10.F90: Regenerate.
395         * generated/_exp_r10.F90: Regenerate.
396         * generated/_acosh_r16.F90: Regenerate.
397         * generated/_atan2_r16.F90: Regenerate.
398         * generated/_cos_c16.F90: Regenerate.
399         * generated/_mod_i16.F90: Regenerate.
400         * generated/_asin_r4.F90: Regenerate.
401         * generated/_anint_r16.F90: Regenerate.
402         * generated/_asin_r8.F90: Regenerate.
403         * generated/_aimag_c10.F90: Regenerate.
404         * generated/_exp_c4.F90: Regenerate.
405         * generated/_sinh_r10.F90: Regenerate.
406         * generated/_exp_c8.F90: Regenerate.
407         * generated/_log10_r4.F90: Regenerate.
408         * generated/_log10_r8.F90: Regenerate.
409         * generated/_abs_c4.F90: Regenerate.
410         * generated/_abs_r16.F90: Regenerate.
411         * generated/_abs_c8.F90: Regenerate.
412         * generated/_asin_r10.F90: Regenerate.
413         * generated/_sign_r10.F90: Regenerate.
414         * generated/_atanh_r16.F90: Regenerate.
415         * generated/_log_c10.F90: Regenerate.
416         * generated/_cosh_r16.F90: Regenerate.
417         * generated/_sin_c16.F90: Regenerate.
418         * generated/_cos_r10.F90: Regenerate.
419         * generated/_log10_r16.F90: Regenerate.
420         * generated/_aint_r16.F90: Regenerate.
421         * generated/_acos_r4.F90: Regenerate.
422         * generated/_acos_r8.F90: Regenerate.
423         * generated/_sqrt_c16.F90: Regenerate.
424         * generated/_acosh_r4.F90: Regenerate.
425         * generated/_atan_r10.F90: Regenerate.
426         * generated/_acosh_r8.F90: Regenerate.
427         * generated/_sign_i16.F90: Regenerate.
428         * generated/_tanh_r16.F90: Regenerate.
429         * generated/_log_r4.F90: Regenerate.
430         * generated/_log_r8.F90: Regenerate.
431         * generated/_sin_r4.F90: Regenerate.
432         * generated/_sin_r8.F90: Regenerate.
433         * generated/_log_r16.F90: Regenerate.
434         * generated/_sin_r10.F90: Regenerate.
435         * generated/_sqrt_r4.F90: Regenerate.
436         * generated/_exp_c10.F90: Regenerate.
437         * generated/_sqrt_r8.F90: Regenerate.
438         * generated/_asinh_r4.F90: Regenerate.
439         * generated/_sqrt_r10.F90: Regenerate.
440         * generated/_asinh_r8.F90: Regenerate.
441         * generated/_dim_r4.F90: Regenerate.
442         * generated/_dim_r8.F90: Regenerate.
443         * generated/_dim_r10.F90: Regenerate.
444         * generated/_cosh_r4.F90: Regenerate.
445         * generated/_conjg_c10.F90: Regenerate.
446         * generated/_tan_r10.F90: Regenerate.
447         * generated/_cosh_r8.F90: Regenerate.
448         * generated/_mod_r16.F90: Regenerate.
449         * generated/_abs_c16.F90: Regenerate.
450         * generated/_cos_r4.F90: Regenerate.
451         * generated/_asinh_r16.F90: Regenerate.
452         * generated/_cos_r8.F90: Regenerate.
453         * generated/_atanh_r4.F90: Regenerate.
454         * generated/_atanh_r8.F90: Regenerate.
455         * generated/_acos_r16.F90: Regenerate.
456         * generated/_anint_r4.F90: Regenerate.
457         * generated/_acosh_r10.F90: Regenerate.
458         * generated/_anint_r8.F90: Regenerate.
459         * generated/_exp_r16.F90: Regenerate.
460         * generated/_mod_r4.F90: Regenerate.
461         * generated/_cos_c10.F90: Regenerate.
462         * generated/_atan2_r10.F90: Regenerate.
463         * generated/_dim_i16.F90: Regenerate.
464         * generated/_mod_r8.F90: Regenerate.
465         * generated/_anint_r10.F90: Regenerate.
466         * generated/_aint_r4.F90: Regenerate.
467         * generated/_aint_r8.F90: Regenerate.
468         * generated/_dim_i4.F90: Regenerate.
469         * generated/_sinh_r4.F90: Regenerate.
470         * generated/_log_c4.F90: Regenerate.
471         * generated/_dim_i8.F90: Regenerate.
472         * generated/_sinh_r8.F90: Regenerate.
473         * generated/_log_c8.F90: Regenerate.
474         * generated/_sin_c4.F90: Regenerate.
475         * generated/_sin_c8.F90: Regenerate.
476         * generated/misc_specifics.F90: Regenerate.
477         * generated/_abs_r10.F90: Regenerate.
478         * generated/_aimag_c16.F90: Regenerate.
479         * generated/_atan_r4.F90: Regenerate.
480         * generated/_sinh_r16.F90: Regenerate.
481         * generated/_atan_r8.F90: Regenerate.
482         * generated/_atanh_r10.F90: Regenerate.
483         * generated/_cosh_r10.F90: Regenerate.
484         * generated/_sqrt_c4.F90: Regenerate.
485         * generated/_asin_r16.F90: Regenerate.
486
487 2007-01-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
488
489         PR libfortran/26893
490         * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
491         * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
492         * configure: Regenerate.
493         * config.h.in: Regenerate because it was forgottent in the last
494         commit.
495
496 2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
497             Tobias Burnus  <burnus@net-b.de>
498
499         PR libfortran/29649
500         * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
501         environment variable.
502         * runtime/compile_options.c (set_std): Add new argument.
503         * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
504         functionality.
505         * libgfortran.h (options_t): New dump_core and backtrace members.
506         (sys_exit): Move prototype.
507         * io/unix.c (sys_exit): Move to runtime/error.c.
508         * configure.ac: Add check for getrlimit.
509         * configure: Regenerate.
510
511 2007-01-17  Tom Tromey  <tromey@redhat.com>
512
513         PR libgfortran/27107:
514         * aclocal.m4, configure, Makefile.in: Rebuilt.
515         * configure.ac: Enable automake dependency tracking.  Update
516         minimum automake version.
517
518 2007-01-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
519
520         PR libfortran/27107
521         * runtime/environ.c: Don't include io/io.h.
522         * runtime/string.c: Don't include io/io.h.
523         (compare0): Add cast to avoid warning.
524         * runtime/error.c: Don't include io/io.h.
525         (st_printf): Move to io/unix.c.
526         * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
527         * intrinsics/fget.c: Likewise.
528         * intrinsics/ftell.c: Likewise.
529         * intrinsics/tty.c: Likewise.
530         * libgfortran.h (DEFAULT_RECL, notification_std,
531         get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
532         DEFAULT_TEMPDIR): New declarations.
533         * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
534         IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
535         Move to libgfortran.h.
536         * io/unix.c: Add io/unix.h content.
537         (st_printf): New function.
538         * io/intrinsics.c: New file.
539         * io/unix.h: Remove, contents moved into unix.c.
540         * libtool-version: Update library version to 3.0.0.
541         * configure.ac: Update library version to 0.3.
542         * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
543         intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
544         * Makefile.in: Regenerate.
545         * configure: Regenerate.
546
547 2007-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
548
549         PR libgfortran/30435
550         * io/list_read.c (finish_separator): Don't call next_record.
551         (list_formatted_read_scalar): Clean up some comments and whitespace.
552         (nml_read_obj): Whitespace fix.
553
554 2007-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
555
556         PR libgfortran/30162
557         * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
558         s->file_length == -1.
559         (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
560         (fd_seek): If not seekable, just return success.
561         (fd_truncate): If not seekable, no need to truncate.  Return failure if
562         seek fails and the stream is not a pipe.
563         (fd_to_stream): Make test for non-seekable file more robust.
564
565 2007-01-01  Steven G. Kargl  <kargls@comcast.net>
566
567         * ChangeLog: Copied to ...
568         * ChangeLog-2006: here.