OSDN Git Service

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