]>
Commit | Line | Data |
---|---|---|
df65f093 SK |
1 | 2004-12-02 Steven G. Kargl <kargls@comcast.net> |
2 | Paul Brook <paul@codesourcery.com> | |
3 | ||
4 | * intrinsics/flush.c: New file. | |
5 | * intrinsics/fnum.c: ditto | |
6 | * intrinsics/stat.c: ditto | |
7 | * io/io.h (unit_to_fd): Add prototype. | |
8 | * io/unix.c (unit_to_fd): New function. | |
9 | * configure.ac: Add test for members of struct stat. Check for | |
10 | sys/types.h and sys/stat.h | |
11 | * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c} | |
12 | * configure.in: Regenerate. | |
13 | * config.h.in: Regenerate. | |
14 | * Makefile.in: Regenerate. | |
15 | ||
f49b3d36 AL |
16 | 2004-12-01 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
17 | ||
18 | * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I. | |
19 | ||
905d47a9 BD |
20 | 2004-11-28 Bud Davis <bdavis9659@comcast.net> |
21 | ||
22 | * io/unix.c (mmap_alloc_w_a): check for a write to a location | |
23 | less than the mapped area. | |
24 | ||
203f344c BD |
25 | 2004-11-27 Bud Davis <bdavis9659@comcast.net> |
26 | ||
27 | PR fortran/18364 | |
28 | * io/endfile.c (st_endfile): flush the stream before truncating. | |
29 | ||
2c92e90f KC |
30 | 2004-11-24 Kelley Cook <kcook@gcc.gnu.org> |
31 | ||
32 | * configure: Regenerate for libtool change. | |
33 | ||
69d3c9a4 SB |
34 | 2004-11-22 Steven Bosscher <stevenb@suse.de> |
35 | ||
36 | PR libfortran/15960 | |
37 | * configure.ac: Check for finite in libm. | |
38 | * libgfortran.h: Define isfinite macro if not defined. | |
39 | * intrinsics/c99_functions.c: Use defined(fpclassify) instead of | |
40 | HAVE_FPCLASSIFY. | |
41 | * io/write.c (write_float): Use isfinite instead of finite. | |
42 | * configure, config.h.in: Rebuilt. | |
43 | ||
b10cf173 RS |
44 | 2004-11-20 Roger Sayle <roger@eyesopen.com> |
45 | ||
46 | * io/write.c (write_float, list_formatted_write): Fix indentation. | |
47 | ||
3969c39f EB |
48 | 2004-11-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
49 | ||
50 | PR target/16135 | |
51 | * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check. | |
52 | * configure.ac: Include LIBGFOR_TARGET_ILP32. | |
53 | * configure: Regenerate. | |
54 | * config.h.in: Likewise. | |
55 | * libgfortran.h: Provide default definitions for C99 types | |
56 | on ILP32 targets that don't have them. | |
57 | ||
58 | PR target/17999 | |
59 | * configure.ac: Check for snprintf. | |
60 | * configure: Regenerate. | |
61 | * config.h.in: Likewise. | |
62 | * intrinsics/date_and_time.c (date_and_time): Do not | |
63 | use snprinf if it is not available. | |
64 | * io/write.c (output_float): Likewise. | |
65 | ||
d8fe26b2 SK |
66 | 2004-11-20 Steven G. Kargl <kargls@comcast.net> |
67 | ||
68 | * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c} | |
69 | * Makefile.in: Regenerated | |
70 | * intrinsics/umask.c: New file | |
71 | * intrinsics/unlink.c: ditto | |
72 | * intrinsics/exit.c: ditto | |
73 | ||
410d3bba VL |
74 | 2004-11-18 Victor Leikehman <lei@il.ibm.com> |
75 | ||
76 | * m4/matmul.m4: Loops reordered to improve cache behavior. | |
77 | * generated/matmul_??.c: Regenerated. | |
78 | ||
2cbcdeba PB |
79 | 2004-11-10 Paul Brook <paul@codesourcery.com> |
80 | ||
81 | PR fortran/18218 | |
82 | * configure.ac: Check for strtof. | |
83 | * configure: Regenerate. | |
84 | * config.h.in: Regenerate. | |
85 | * io/read.c (convert_real): Use strtof if available. | |
86 | (convert_precision_real): Remove. | |
87 | (read_f): Avoid poor exponentiation algorithm. | |
88 | ||
c7a35fe9 AS |
89 | 2004-11-05 Andreas Schwab <schwab@suse.de> |
90 | ||
91 | * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of | |
92 | AC_PROG_F77, F77 and FFLAGS. | |
93 | * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use | |
94 | FCCOMPILE instead of F77COMPILE. | |
95 | * configure, Makefile.in: Regenerate. | |
96 | ||
d49ec2d1 KC |
97 | 2004-11-05 Kelley Cook <kcook@gcc.gnu.org> |
98 | ||
99 | * acinclude.m4: Properly quote AC_CACHE_CHECK. | |
100 | * Makefile.am: Add in ACLOCAL_AMFLAGS. | |
101 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
102 | ||
41724e6a AL |
103 | 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
104 | ||
105 | * config.h.in: Regenerate. | |
106 | * configure: Regenerate. | |
107 | * configure.ac (AC_CHECK_FUNCS): Add mkstemp. | |
108 | * io/unix.c (S_IRGRP): Define if undefined. | |
109 | (S_IWGRP): Same. | |
110 | (S_IROTH): Same. | |
111 | (S_IWOTH): Same. | |
112 | (tempfile): Use mktemp if mkstemp missing, fix typos. | |
113 | ||
8cfe17f9 AL |
114 | 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
115 | ||
116 | * intrinsics/system.c ("libgfortran.h"): Move after system headers. | |
117 | ||
7a003d8e CY |
118 | 2004-10-30 Canqun Yang <canqun@nudt.edu.cn> |
119 | ||
120 | * intrinsics/rand.c (irand): Handle NULL argument. | |
121 | ||
5615e8cd PB |
122 | 2004-10-07 Paul Brook <paul@codesourcery.com> |
123 | ||
124 | * io/transfer.c (finalize_transfer): Free internal streams. | |
125 | * io/unix.c (mem_close): Free stream object. | |
126 | ||
82e79986 PB |
127 | 2004-10-07 Paul Brook <paul@codesourcery.com> |
128 | ||
129 | * intrinsics/string_intrinsics.c (string_verify): Fix off by one | |
130 | error. | |
131 | ||
7726f633 PB |
132 | 2004-10-06 Paul Brook <paul@codesourcery.com> |
133 | ||
134 | PR libfortran/17709 | |
135 | * io/transfer.c (data_transfer_init): Reset sf_seen_eor. | |
136 | ||
1ee3acfb AP |
137 | 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu> |
138 | ||
139 | * intrinsics/mvbits.c: Commit the file. | |
140 | ||
58c5b409 TS |
141 | 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
142 | ||
143 | PR fortran/17283 | |
144 | * intrinsics/pack_generic.c (__pack): Allocate memory for return array | |
145 | if not done by caller. | |
146 | (__pack_s): New function. | |
147 | * runtime/memory.c (internal_malloc, internal_malloc64): Allow | |
148 | allocating zero memory. | |
149 | ||
ee569894 TS |
150 | PR fortran/17631 |
151 | * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h. | |
152 | * Makefile.in: Regenerate. | |
153 | * intrinsics/mvbits.h: New file. | |
154 | ||
5b1374e9 TS |
155 | PR fortran/17776 |
156 | * intrinsics/system.c: New file. | |
157 | * Makefile.am: Add dependency for the new file. | |
158 | * Makefile.in: Regenerate. | |
159 | ||
f3e41701 PB |
160 | 2004-10-04 Paul Brook <paul@codesourcery.com> |
161 | Bud Davis <bdavis9659@comcast.net> | |
162 | ||
163 | PR fortran/17706 | |
164 | PR fortran/16434 | |
165 | * io/format.c (parse_format_list): Set repeat count for S, SP, SS, | |
166 | BN and BZ formats. | |
167 | * io/write.c (output_float): Don't output minus zero. | |
168 | ||
830219ee AL |
169 | 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
170 | ||
171 | * intrinsics/abort.c ("libgfortran.h"): Move. | |
172 | * intrinsics/date_and_time.c ("libgfortran.h"): Same. | |
173 | * intrinsics/write.c ("libgfortran.h"): Same. | |
174 | ||
bf4d99cf TS |
175 | 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de> |
176 | ||
177 | PR libfortran/16137 | |
178 | * config.h.in (HAVE_POWF): Undefine. | |
179 | * configure.ac: Check for 'powf' in library. | |
180 | * configure: Regenerate. | |
181 | * intrinsics/c99_functions.c (powf): New function. | |
182 | ||
487c67b6 TS |
183 | 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de> |
184 | ||
185 | * intrinsics/etime.c (etime_): New function. | |
186 | ||
c6847e25 SK |
187 | 2004-09-21 Steven G. Kargl <kargls@comcast.net> |
188 | ||
189 | * libgfortran.h: define gfc_alloca() | |
190 | * intrinsics/env.c (getenv, get_environment_variable_i4): Use it. | |
191 | ||
77747e5f BD |
192 | 2004-09-21 Bud Davis <bdavis9659@comcast.net> |
193 | ||
194 | PR fortran/17286 | |
195 | * io/list_read.c (namelist_read): ignore spaces after | |
196 | the '=' for namelist reads. | |
197 | ||
f596fc98 AL |
198 | 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
199 | ||
200 | * config.h.in: Regenerate. | |
201 | * configure: Regenerate. | |
202 | * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h. | |
203 | * unix.c: Include stdio.h. | |
204 | (HAVE_SYS_MMAN_H): Check. | |
205 | (PROT_READ, PROT_WRITE): Provide default definitions. | |
206 | ||
0110c1ec SK |
207 | 2004-09-15 Steven G. Kargl <kargls@comcast.net> |
208 | ||
209 | * intrincics/getcwd.c: New file. | |
210 | * Makefile.am: Add getcwd.c. | |
211 | * Makefile.in: Regenerated. | |
212 | ||
3869a92c SK |
213 | 2004-09-15 Steven G. Kargl <kargls@comcast.net> |
214 | Paul Brook <paul@codesourcery.com> | |
215 | ||
216 | * intrinsics/env.c (getenv, get_environmental_variable): Remove | |
a8ea34eb | 217 | trailing white space. Use alloca. Honour trim_name. |
3869a92c | 218 | |
c72477d6 BD |
219 | 2004-09-13 Bud Davis <bdavis9659@comcast.net> |
220 | ||
221 | PR fortran/17090 | |
222 | ||
223 | * io/list_read.c (list_formatted_read): Handle trailing spaces | |
224 | at end of line. | |
225 | ||
8a57cd3d PB |
226 | 2004-09-06 Steven G. Kargl <kargls@comcast.net> |
227 | ||
228 | * io/write.c (output_float): Typo in comment. Remove debugging | |
229 | printf. Fix format for FP of form 1e10. | |
230 | ||
803a6ff5 RH |
231 | 2004-09-03 Richard Henderson <rth@redhat.com> |
232 | ||
233 | * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long, | |
234 | copy_loop_double, copy_loop_ldouble): New. | |
235 | (__cshift0): Make shift type ssize_t. Use % operator instead of | |
236 | div. Use specialized versions of copy loop depending on the shape. | |
237 | ||
d809264e PB |
238 | 2004-09-02 Paul Brook <paul@codesourcery.com> |
239 | ||
240 | * io/format.c (parse_format_list): Set repeat count for P descriptors. | |
241 | * write.c (output_float): Fix condition. Correctly handle nonzero | |
242 | scale factor. | |
243 | ||
130abd17 EB |
244 | 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
245 | ||
246 | * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. | |
247 | * mk-srk-inc.sh: Likewise. | |
248 | ||
244fada7 PB |
249 | 2004-09-01 Paul Brook <paul@codesourcery.com> |
250 | ||
251 | * runtime/error.c (generate_error): Set both iostat and | |
252 | library_return. | |
253 | ||
334ff453 PB |
254 | 2004-08-31 Paul Brook <paul@codesourcery.com> |
255 | ||
256 | PR libfortran/16805 | |
257 | * io/list_read.c (next_char): Don't signal EOF for internal files. | |
258 | * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads. | |
259 | ||
43b43057 TS |
260 | 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
261 | ||
262 | * io/unit.c: Separate copyright years by ','. | |
263 | (compare, insert_unit, delete_unit, is_internal_unit, close_units): | |
264 | Remove blank line in beginning of function. | |
265 | (get_unit): Simplify code. | |
266 | ||
8a210b0f PB |
267 | 2004-08-31 Paul Brook <paul@codesourcery.com> |
268 | ||
269 | * io/unit.c (get_unit): Remove superfluous if. | |
270 | ||
bd72d66c PB |
271 | 2004-08-31 Paul Brook <paul@codesourcery.com> |
272 | ||
273 | * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF. | |
274 | (finalize_transfer): Move setjmp after namlist IO. | |
275 | * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly. | |
276 | ||
c789f36b PB |
277 | 2004-08-31 Paul Brook <paul@codesourcery.com> |
278 | ||
279 | * list_read.c (eat_separator): Set at_eo when a '/' is seen. | |
280 | ||
d7177ab2 TS |
281 | 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
282 | ||
283 | * libgfortran.h: Replace 'gfc_strlen_type' by | |
284 | 'gfc_charlen_type'. Update comment accordingly. | |
285 | * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c: | |
286 | Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'. | |
287 | ||
da17f559 PB |
288 | 2004-08-31 Paul Brook <paul@codesourcery.com> |
289 | ||
290 | * libgfortran.h: Add comments. | |
291 | ||
625be286 RH |
292 | 2004-08-30 Richard Henderson <rth@redhat.com> |
293 | ||
294 | * Makefile.am (gfor_helper_src): Split selected_kind.f90. | |
295 | (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc. | |
296 | (selected_int_kind.inc selected_real_kind.inc): New rules. | |
297 | * Makefile.in: Regenerate. | |
298 | * mk-sik-inc.sh, mk-srk-inc.sh: New files. | |
299 | * intrinsics/selected_int_kind.f90: Split from selected_kind.f90, | |
300 | include table of detected kinds. | |
301 | * intrinsics/selected_real_kind.f90: Similarly. | |
302 | ||
e8525382 SK |
303 | 2004-08-29 Steven G. Kargl <kargls@comcast.net> |
304 | Paul Brook <paul@codesourcery.com> | |
305 | ||
306 | * intrinsics/bessel.c: New file. | |
307 | * intrinsics/erf.c: New file. | |
308 | * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c. | |
309 | * configure.ac: Test for C99 Bessel and Error functions. | |
310 | * Makefile.in: Regenerate. | |
311 | * config.h.in: Regenerate. | |
312 | * configure: Regenerate. | |
313 | ||
4c0c6b9f SK |
314 | 2004-08-29 Steven G. Kargl <kargls@comcast.net> |
315 | Paul Brook <paul@codesourcery.com> | |
316 | ||
317 | * Makefile.am: Add intrinsics/getXid.c. | |
318 | * configure.ac: Add tests for get{g,p,u}id. | |
319 | * config.h.in: Regenerate. | |
320 | * Makefile.in: Regenerate. | |
321 | * configure: Regenerate. | |
322 | ||
7984a2f0 PB |
323 | 2004-08-28 Paul Brook <paul@codesourcery.com> |
324 | ||
325 | PR libfortran/17195 | |
326 | * libgfortran.h (rtoa): Remove prototype. | |
327 | * runtime/error.c (rtoa): Remove. | |
328 | * io/write.c (calculate_G_format): Don't add blanks if E format is | |
329 | used. Add correct number of blanks when exponent width is specified. | |
330 | (output_float): Rewrite. | |
331 | ||
c100eff1 PB |
332 | 2004-08-27 Paul Brook <paul@codesourcery.com> |
333 | ||
334 | * io/rewind.c (st_rewind): Reset unit to read mode. | |
335 | ||
55948b69 BD |
336 | 2004-08-27 Bud Davis <bdavis9659@comcast.net> |
337 | ||
338 | PR fortran/16597 | |
339 | * io/io.h: created typedef for unit_mode. | |
340 | * io/io.h (gfc_unit): added mode to unit structure. | |
341 | * io/transfer.c (data_transfer_init): flush if a write then | |
342 | read is done on a unit (direct access files). | |
343 | * io/rewind.c (st_rewind): Used unit mode instead of global. | |
344 | ||
5352bda0 BD |
345 | 2004-08-24 Bud Davis <bdavis9659@comcast.net> |
346 | ||
347 | PR fortran/17143 | |
348 | * runtime/error.c (itoa): keep from overflowing during | |
d8fe26b2 | 349 | mod operation by using unsigned variable. |
5352bda0 | 350 | |
02d735f6 BD |
351 | 2004-08-24 Bud Davis <bdavis9659@comcast.net> |
352 | ||
353 | PR fortran/17164 | |
354 | * runtime/string_intrinsics.c (string_index):check for | |
355 | substring longer than string. | |
356 | ||
6fd7cc54 DE |
357 | 2004-08-24 David Edelsohn <edelsohn@gnu.org> |
358 | ||
359 | * Makefile.am (libgfortran_la_LDFLAGS): Add -lm. | |
360 | * Makefile.in: Rebuilt. | |
361 | ||
20edd06b TS |
362 | 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
363 | ||
364 | * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c: | |
365 | Fix formatting issues, update copyright years. | |
366 | ||
0fa1b65c BD |
367 | 2004-08-21 Bud Davis <bdavis9659@comcast.net> |
368 | ||
369 | PR 16908 | |
370 | * io/transfer.c (next_record_w): Do not blank pad. | |
371 | * io/transfer.c (next_record): Take into account partial records. | |
372 | ||
3bc268e6 VL |
373 | 2004-08-18 Victor Leikehman <lei@il.ibm.com> |
374 | ||
375 | PR fortran/13278 | |
376 | * io/transfer.c (st_set_nml_var) | |
377 | * io/write.c (namelist_write): Allow var_name and var_name_len to be | |
378 | null. For strings, use string_length field instead of len. | |
379 | * io/io.h (struct namelist_type): New field string_length. | |
380 | (st_set_nml_var_char): New argument string_length. | |
381 | ||
1ef02b9d BD |
382 | 2004-08-13 Bud Davis <bdavis9659@comcast.net> |
383 | ||
4fe6e46b | 384 | PR gfortran/16935 |
1ef02b9d BD |
385 | * io/open.c (st_open): use flags instead of the unit structure. |
386 | ||
a57bb5f6 VL |
387 | 2004-08-10 Victor Leikehman <lei@il.ibm.com> |
388 | ||
389 | * io/list_read.c (namelist_read): Convert variable names | |
390 | to lower case, so that mixed-case names are recognized. | |
391 | Don't read beyond terminating slash. | |
392 | ||
067a5735 RS |
393 | 2004-08-09 Richard Henderson <rth@redhat.com> |
394 | Roger Sayle <roger@eyesopen.com> | |
395 | ||
396 | * intrinsics/c99_functions.c (nextafterf): New implementation that | |
397 | works correctly with denormalized numbers. | |
398 | ||
399 | 2004-08-09 Victor Leikehman <lei@il.ibm.com> | |
883c9d4d VL |
400 | |
401 | * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c, | |
402 | intrinsics/eoshift2.c, intrinsics/transpose_generic.c: | |
403 | Allocate space if return value has NULL in its data field. | |
404 | * generated/*.c: Regenerate. | |
405 | ||
aa6fc635 JB |
406 | 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi> |
407 | ||
408 | * intrinsics/env.c: New file. | |
409 | * Makefile.am: Add env.c to build. | |
410 | * Makefile.in: Regenerate. | |
411 | ||
943bf8b5 VL |
412 | 2004-08-05 Victor Leikehman <lei@il.ibm.com> |
413 | ||
414 | PR libgfortran/16704 | |
415 | * io/read.c (read_radix): Understand letters f and F as hex digits. | |
416 | ||
6c167c45 VL |
417 | 2004-08-04 Victor Leikehman <lei@il.ibm.com> |
418 | ||
419 | * libgfortran.h (array_t, size0) New declarations. | |
420 | * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate | |
421 | space if return value descriptor has NULL in its data field, | |
422 | and initialize bounds and stride. | |
423 | * intrinsics/size.c (array_t, size0): Declarations moved to | |
424 | libgfortran.h. | |
425 | * generated/*.c: Regenerate. | |
426 | ||
453310d8 RS |
427 | 2004-08-03 Roger Sayle <roger@eyesopen.com> |
428 | ||
429 | PR libgfortran/16137 | |
430 | * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf, | |
431 | copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f, | |
432 | scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm. | |
433 | * config.h.in: Regenerate. | |
434 | * configure: Regenerate. | |
435 | ||
436 | * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf, | |
437 | copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f, | |
438 | nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub | |
439 | implementations for targets that don't support C99 float functions. | |
440 | ||
023d776a RS |
441 | 2004-08-01 Roger Sayle <roger@eyesopen.com> |
442 | ||
443 | * io/write.c (write_float): Use the slightly more portable isnan | |
444 | in preference to isinf. | |
445 | ||
9cdc381b BD |
446 | 2004-07-18 Bud Davis <bdavis9659@comcast.net> |
447 | ||
448 | * configure.ac: Add check for LFS support. | |
449 | * configure: Regenerate | |
450 | ||
1e38f159 PB |
451 | 2004-07-11 Paul Brook <paul@codesourcery.com> |
452 | ||
453 | PR fortran/16303 | |
454 | * m4/cexp.m4 (carg): Return -pi to pi. | |
455 | * generated/exp_c?.c: Regenerate. | |
456 | ||
dbe81a8b AK |
457 | 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com> |
458 | ||
459 | PR fortran/16291 | |
460 | * libgfortran/io/write.c: (write_float): Added length check. | |
461 | Remove pointless memset calls. | |
462 | ||
bf1df0a0 BD |
463 | 2004-07-04 Bud Davis <bdavis9659@comcast.net> |
464 | Paul Brook <paul@codesourcery.com> | |
465 | ||
466 | PR fortran/15472 | |
467 | * io/transfer.c(us_write): set recl for seq unform writes to max size. | |
468 | * io/transfer.c(data_transfer_init): handle un-opened seq unform unit. | |
469 | * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at | |
dbe81a8b | 470 | right time. |
bf1df0a0 | 471 | * io/unix.c(is_seekable): set based upon the file/device, not the |
dbe81a8b | 472 | method being used to access it (fd or mmap). |
bf1df0a0 BD |
473 | * io/unix.c(fd_flush): don't set file_size if !seekable. |
474 | * io/unix.c(fd_truncate: ditto. | |
475 | ||
b41b2534 JB |
476 | 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi> |
477 | Paul Brook <paul@codesourcery.com> | |
478 | ||
479 | PR fortran/15280 | |
480 | PR fortran/15665 | |
481 | * libgfortran.h (gfc_strlen_type): Define. | |
482 | * intrinsics/args.c (getarg): Rename ... | |
483 | (getarg_i4): ... to this. | |
484 | (getarg_i8, get_command_argument_i4, get_command_argument_i8, | |
485 | get_command_i4, get_command_i8): New functions. | |
486 | ||
1657a809 MK |
487 | 2004-07-04 Matthias Klose <doko@debian.org> |
488 | ||
489 | * libtool-version: New. | |
490 | * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname. | |
491 | * Makefile.in: Regenerate. | |
492 | * configure.ac: Remove libtool_VERSION macro | |
493 | * configure: Regenerate | |
494 | ||
fd53dbe0 SK |
495 | 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu> |
496 | Steven Bosscher <stevenb@suse.de> | |
497 | ||
498 | * intrinsics/rand.c (rand): Wrap the irand() call from the previous | |
499 | commit in prefix. | |
500 | ||
beabab59 TS |
501 | 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
502 | Paul Brook <paul@codesourcery.com> | |
503 | ||
504 | * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix | |
505 | comments. | |
506 | * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4. | |
507 | ||
519b0e16 BD |
508 | 2004-06-27 Bud Davis <bdavis9659@comcast.net> |
509 | ||
510 | PR gfortran/12839 | |
511 | * io/write.c (write_float): check signbit for Infinity. | |
512 | ||
3e14aaa2 BD |
513 | 2004-06-26 Bud Davis <bdavis9659@comcast.net> |
514 | ||
515 | PR gfortran/16196 | |
516 | * unix.c(regular_file): create file if it does not exist. | |
517 | ||
d42093a1 AP |
518 | 2004-06-24 Andrew Pinski <apinski@apple.com> |
519 | ||
520 | * configure.ac: Remove check for libmx. | |
521 | * configure: Regenerate. | |
522 | ||
8750f9cd JB |
523 | 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi> |
524 | ||
525 | PR fortran/15750 | |
526 | * inquire.c (st_inquire): Add comment | |
527 | * io.h (st_parameter): Add iolength. | |
528 | (st_iolength, st_iolength_done): Declare. | |
529 | * transfer.c (iolength_transfer, iolength_transfer_init, | |
530 | st_iolength, st_iolength_done): New functions. | |
531 | ||
0bf68c6e SK |
532 | 2004-06-21 Steven G. Kargl <kargls@comcast.net> |
533 | ||
534 | * etime.c (etime_sub): Remove array rank check; | |
535 | Add check for sufficient space. | |
536 | ||
bb9db7b1 BD |
537 | 2004-06-19 Bud Davis <bdavis9659@comcast.net> |
538 | ||
539 | PR gfortran/16080 | |
540 | * io/list_read.c(set_value): fixed spelling. | |
541 | ||
04b0faec BD |
542 | 2004-06-19 Bud Davis <bdavis9659@comcast.net> |
543 | ||
544 | PR gfortran/16080 | |
545 | * io/list_read.c(set_value): don't copy if the string is null. | |
546 | ||
bc20e36d BD |
547 | 2004-06-14 Bud Davis <bdavis9659@comcast.net> |
548 | ||
549 | PR gfortran/15292 | |
550 | * intrinsics/c99_functions.c: Use fpclassify if it exists. | |
551 | ||
a9e7b9d3 PB |
552 | 2004-06-13 Paul Brook <paul@codesourcery.com> |
553 | ||
554 | * Makefile.am (gfor_helper_src): Add runtime/normalize.f90. | |
555 | * configure.ac: Add checks for nextafter and nextafterf. | |
556 | * Makefile.in, config.h.in, configure: Regenerate. | |
557 | * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare. | |
558 | * intrinsics/rand.c (rand): Use normalize_r4_i4. | |
559 | * intrinsics/random.c (random_r4): Use normalize_r4_i4. | |
560 | (random_r8): Use normalize_r8_i8. | |
561 | * runtime/normalize.c: New file. | |
562 | ||
cdaa9fc4 SK |
563 | 2004-06-13 Steven G. Kargl <kargls@comcast.net> |
564 | Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> | |
565 | ||
566 | * random.c: Fix several spelling and formatting mistakes in | |
567 | comments. | |
568 | (random_r8): Fix loop to make random numbers range in [0,1(. | |
569 | ||
570 | ||
9d409075 TS |
571 | 2004-06-13 Steven G. Kargl <kargls@comcast.net> |
572 | ||
573 | * random.c (random_r4): Burn a random number. | |
574 | (random_r8): fix infinite loop. | |
575 | ||
576 | 2004-06-12 Bud Davis <bdavis9659@comcast.net> | |
a2a2059f BD |
577 | Steve Kargl <sgk@troutmask.apl.washington.edu> |
578 | ||
579 | PR gfortran/15292 | |
580 | * intrinsics/c99_functions.c: New file. | |
581 | * Makefile.am: Add new file. | |
582 | * configure.ac: Added test for round/roundf. | |
583 | * Makefile.in: Regenerate. | |
584 | * configure: Regenerate. | |
585 | * configure.h.in: Regenerate. | |
586 | ||
2bd74949 SK |
587 | 2004-06-12 Steven G. Kargl <kargls@comcast.net> |
588 | ||
589 | * Makefile.am: Add rand.c and etime.c | |
590 | * Makefile.in: Regenerated. | |
591 | * aclocal.in: Regenerated. | |
592 | * cpu_time.c (second_sub, second): New functions. | |
593 | * rand.c (irand, rand, srand): New file. | |
594 | * etime.c (etime_sub, etime): New file. | |
595 | ||
f814193b TS |
596 | 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
597 | Steven Bosscher <stevenb@suse.de> | |
598 | ||
599 | PR fortran/14923 | |
600 | * intrinsics/date_and_time.c: New file. | |
601 | * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c. | |
602 | * Makefile.in, aclocal.m4: Regenerate. | |
603 | * libgfortran.h: Prototype date_and_time(). | |
604 | ||
4aef80f8 BD |
605 | 2004-06-12 Bud Davis <bdavis9659@comcast.net> |
606 | ||
a13c7588 | 607 | PR fortran/15665 |
4aef80f8 BD |
608 | * intrinsics/args.c: Implement GETARG and IARGC. |
609 | * Makefile.am: Add it. | |
610 | * Makefile.in: Regenerate. | |
611 | ||
8204210b BD |
612 | 2004-06-12 Bud Davis <bdavis9659@comcast.net> |
613 | ||
614 | PR gfortran/12839 | |
4aef80f8 | 615 | * io/write.c(write_float): Format inf and nan IAW F2003. |
8204210b | 616 | |
898c05b8 BD |
617 | 2004-06-09 Bud Davis <bdavis9659@comcaste.net> |
618 | ||
619 | PR gfortran/14897 | |
620 | * io/transfer.c (formatted_transfer): position is unique | |
d8fe26b2 | 621 | for T and TL edit descriptors. |
4aef80f8 | 622 | (data_transfer_init): set record length to size of internal |
d8fe26b2 | 623 | file. |
898c05b8 | 624 | |
31b6f11a BD |
625 | 2004-06-09 Bud Davis <bdavis9659@comcast.net> |
626 | ||
627 | PR gfortran/15755 | |
628 | * io/backspace.c(st_backspace): call correct routine for | |
629 | formatted and un-formatted units. | |
630 | ||
96b8a615 AJ |
631 | 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de> |
632 | ||
633 | PR gfortran/11800 | |
634 | * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES. | |
635 | (lib_LTLIBRARIES): Rename to ... | |
636 | (toolexeclib_LTLIBRARIES): this for multilib support. | |
637 | * configure.in: Rename to ... | |
638 | * configure.ac: this. Update to modern autoconf style, enable | |
639 | multilibs, support --enable-version-specific-runtime-libs. | |
640 | * Makefile.in: Regenerated. | |
641 | * configure: Regenerated. | |
642 | * aclocal.m4: Regenerated. | |
643 | ||
5f251c26 SK |
644 | 2004-05-30 Steven G. Kargl <kargls@comcast.net> |
645 | ||
646 | * libgfortran.h (random_seed): Update prototype. | |
647 | * intrinsics/random.c: Disable old implementation and add new one. | |
648 | ||
ebeb17c7 AJ |
649 | 2004-05-30 Andreas Jaeger <aj@suse.de> |
650 | ||
651 | * intrinsics/random.c: Include unistd.h for close and read | |
652 | prototypes, remove unneeded inclusion of assert.h. | |
653 | ||
654 | * intrinsics/abort.c: Include stdlib.h for abort prototype, remove | |
655 | unneeded inclusion of assert.h. | |
656 | ||
08fb03fd TS |
657 | 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de> |
658 | ||
659 | PR fortran/15234 | |
660 | * intrinsics/associated.c: Remove enum. | |
661 | (associated): Replace TRUE/FALSE by 1/0. | |
662 | ||
322c2425 SK |
663 | 2004-05-23 Steven G. Kargl <kargls@comcast.net> |
664 | ||
665 | * random.c (random_seed): Use correct variable. | |
666 | ||
21fdfcc1 SK |
667 | 2004-05-22 Steven G. Kargl <kargls@comcast.net> |
668 | ||
669 | * intrinsics/system_clock: New file. | |
670 | * Makefile.am: Add intrinsics/system_clock.c. | |
671 | * Makefile.in: Regenerate. | |
672 | ||
11670eeb RS |
673 | 2004-05-21 Roger Sayle <roger@eyesopen.com> |
674 | ||
675 | * io/format.c (parse_format_list): Allow the comma after a string | |
676 | literal to be optional. | |
677 | ||
5b200ac2 | 678 | 2004-05-18 Paul Brook <paul@codesourcery.com> |
59fa6e39 | 679 | Feng Wang <fengwang@nudt.edu.cn> |
5b200ac2 FW |
680 | |
681 | * Makefile.am (i_pow_c): Set it. Add build rule. | |
682 | (gfor_built_src): Use it. | |
683 | (m4_files): add m4/pow.m4. | |
684 | * Makefile.in: Regenerate. | |
685 | * m4/pow.m4: New file. | |
686 | * generated/pow_*.c: Regenerate. | |
687 | ||
c9e66eda PB |
688 | 2004-05-18 Paul Brook <paul@codesourcery.com> |
689 | ||
690 | * Makefile.am: Remove references to types.m4. | |
691 | * m4/iparm.m4: Merge with types.m4. | |
692 | * m4/types.m4: Remove. | |
693 | * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, | |
694 | m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4, | |
695 | m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4, | |
696 | m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4, | |
697 | m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4, | |
698 | m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4): | |
699 | Update to use new iparm.m4. | |
700 | * generated/*.c: Regenerate. | |
701 | ||
81f4be3c TS |
702 | 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
703 | ||
704 | PR fortran/15235 | |
705 | * gfortran.h (offset_t): Rename to ... | |
706 | (gfc_offset): ... this. | |
707 | * io/backspace.c (formatted_backspace, unformatted_backspace), | |
708 | io/io.h (stream, gfc_unit, global_t, file_length, file_position), | |
709 | transfer.c (us_read, us_write, next_record_r, next_record_w), | |
710 | io/unit.c (init_units), unix.c (unix_stream, fd_alloc, | |
711 | fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc, | |
712 | mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at, | |
713 | mem_alloc_w_at, mem_seek, file_length, file_position): Replace all | |
714 | occurences of offset_t by gfc_offset. | |
715 | ||
6d3e9d84 PB |
716 | 2004-05-16 Paul Brook <paul@codesourcery.com> |
717 | ||
718 | * io/format.c (write_real): Don't include padding in format. | |
719 | ||
28963c8f PB |
720 | 2004-05-16 Paul Brook <paul@codesourcery.com> |
721 | ||
722 | * io/format.c (format_lex): Make c an int. | |
723 | ||
d464f8e9 JB |
724 | 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi> |
725 | Paul Brook <paul@codesourcery.com> | |
726 | ||
727 | * io/write.c (write_logical): Don't print extra blank. | |
728 | (write_integer): Base field width on kind. | |
729 | (list_formatted_write): Output initial blank. | |
730 | ||
000aa32a JB |
731 | 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi> |
732 | ||
733 | * io/io.h (flush): Add prototype. | |
734 | * io/transfer.c (finalize_transfer): Flush partial records. | |
735 | * io/unix.c (flush): New function. | |
736 | ||
909087e0 TS |
737 | 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
738 | ||
739 | PR fortran/15234 | |
740 | * io/io.h (unit_t): Rename to ... | |
741 | (gfc_unit) ... this. | |
742 | (unit_root, current_unit, find_file, find_unit, get_unit): Now | |
743 | of type gfc_unit. | |
744 | (delete_file, insert_unit, close_unit): Argument now of type | |
745 | gfc_unit. | |
746 | * backspace.c (st_backspace), close.c (st_close), endfile.c | |
747 | (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c | |
748 | (test_endfile, edit_modes, new_unit, already_open, st_open), | |
749 | rewind.c (st_rewind), transfer.c (current_unit), unit.c | |
750 | (internal_unit, unit_cache, rotate_left, rotate_right, insert, | |
751 | insert_unit, delete_root, delete_treap, delete_unit, find_unit, | |
752 | get_unit, init_units, close_unit), unix.c (find_file0, | |
753 | find_file, delete_file): Replace all occurences of unit_t by | |
754 | gfc_unit. | |
755 | ||
94161cec BD |
756 | 2004-05-15 Bud Davis <bdavis9659@comcast.net> |
757 | ||
758 | PR fortran/15311 | |
759 | * io/write.c (write_a): right justify A edit output. | |
760 | ||
abdef811 BD |
761 | 2004-05-14 Bud Davis <bdavis9659@comcast.net> |
762 | ||
763 | PR fortran/15149 | |
764 | * libgfortan.h,intrinsics/random.c: Made random_seed visible. | |
765 | * runtime/main.c(init): Call random_seed as part of MAIN init. | |
766 | ||
187f0734 TS |
767 |