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