OSDN Git Service

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