]> gcc.gnu.org Git - gcc.git/blame - libgfortran/ChangeLog
decl.c (reshape_init_array): Initialize max_index_cst to fix bootstrap failure.
[gcc.git] / libgfortran / ChangeLog
CommitLineData
f596fc98
AL
12004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2
3 * config.h.in: Regenerate.
4 * configure: Regenerate.
5 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
6 * unix.c: Include stdio.h.
7 (HAVE_SYS_MMAN_H): Check.
8 (PROT_READ, PROT_WRITE): Provide default definitions.
9
0110c1ec
SK
102004-09-15 Steven G. Kargl <kargls@comcast.net>
11
12 * intrincics/getcwd.c: New file.
13 * Makefile.am: Add getcwd.c.
14 * Makefile.in: Regenerated.
15
3869a92c
SK
162004-09-15 Steven G. Kargl <kargls@comcast.net>
17 Paul Brook <paul@codesourcery.com>
18
19 * intrinsics/env.c (getenv, get_environmental_variable): Remove
a8ea34eb 20 trailing white space. Use alloca. Honour trim_name.
3869a92c 21
c72477d6
BD
222004-09-13 Bud Davis <bdavis9659@comcast.net>
23
24 PR fortran/17090
25
26 * io/list_read.c (list_formatted_read): Handle trailing spaces
27 at end of line.
28
8a57cd3d
PB
292004-09-06 Steven G. Kargl <kargls@comcast.net>
30
31 * io/write.c (output_float): Typo in comment. Remove debugging
32 printf. Fix format for FP of form 1e10.
33
803a6ff5
RH
342004-09-03 Richard Henderson <rth@redhat.com>
35
36 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
37 copy_loop_double, copy_loop_ldouble): New.
38 (__cshift0): Make shift type ssize_t. Use % operator instead of
39 div. Use specialized versions of copy loop depending on the shape.
40
d809264e
PB
412004-09-02 Paul Brook <paul@codesourcery.com>
42
43 * io/format.c (parse_format_list): Set repeat count for P descriptors.
44 * write.c (output_float): Fix condition. Correctly handle nonzero
45 scale factor.
46
130abd17
EB
472004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
48
49 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
50 * mk-srk-inc.sh: Likewise.
51
244fada7
PB
522004-09-01 Paul Brook <paul@codesourcery.com>
53
54 * runtime/error.c (generate_error): Set both iostat and
55 library_return.
56
334ff453
PB
572004-08-31 Paul Brook <paul@codesourcery.com>
58
59 PR libfortran/16805
60 * io/list_read.c (next_char): Don't signal EOF for internal files.
61 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
62
43b43057
TS
632004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
64
65 * io/unit.c: Separate copyright years by ','.
66 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
67 Remove blank line in beginning of function.
68 (get_unit): Simplify code.
69
8a210b0f
PB
702004-08-31 Paul Brook <paul@codesourcery.com>
71
72 * io/unit.c (get_unit): Remove superfluous if.
73
bd72d66c
PB
742004-08-31 Paul Brook <paul@codesourcery.com>
75
76 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
77 (finalize_transfer): Move setjmp after namlist IO.
78 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
79
c789f36b
PB
802004-08-31 Paul Brook <paul@codesourcery.com>
81
82 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
83
d7177ab2
TS
842004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
85
86 * libgfortran.h: Replace 'gfc_strlen_type' by
87 'gfc_charlen_type'. Update comment accordingly.
88 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
89 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
90
da17f559
PB
912004-08-31 Paul Brook <paul@codesourcery.com>
92
93 * libgfortran.h: Add comments.
94
625be286
RH
952004-08-30 Richard Henderson <rth@redhat.com>
96
97 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
98 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
99 (selected_int_kind.inc selected_real_kind.inc): New rules.
100 * Makefile.in: Regenerate.
101 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
102 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
103 include table of detected kinds.
104 * intrinsics/selected_real_kind.f90: Similarly.
105
e8525382
SK
1062004-08-29 Steven G. Kargl <kargls@comcast.net>
107 Paul Brook <paul@codesourcery.com>
108
109 * intrinsics/bessel.c: New file.
110 * intrinsics/erf.c: New file.
111 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
112 * configure.ac: Test for C99 Bessel and Error functions.
113 * Makefile.in: Regenerate.
114 * config.h.in: Regenerate.
115 * configure: Regenerate.
116
4c0c6b9f
SK
1172004-08-29 Steven G. Kargl <kargls@comcast.net>
118 Paul Brook <paul@codesourcery.com>
119
120 * Makefile.am: Add intrinsics/getXid.c.
121 * configure.ac: Add tests for get{g,p,u}id.
122 * config.h.in: Regenerate.
123 * Makefile.in: Regenerate.
124 * configure: Regenerate.
125
7984a2f0
PB
1262004-08-28 Paul Brook <paul@codesourcery.com>
127
128 PR libfortran/17195
129 * libgfortran.h (rtoa): Remove prototype.
130 * runtime/error.c (rtoa): Remove.
131 * io/write.c (calculate_G_format): Don't add blanks if E format is
132 used. Add correct number of blanks when exponent width is specified.
133 (output_float): Rewrite.
134
c100eff1
PB
1352004-08-27 Paul Brook <paul@codesourcery.com>
136
137 * io/rewind.c (st_rewind): Reset unit to read mode.
138
55948b69
BD
1392004-08-27 Bud Davis <bdavis9659@comcast.net>
140
141 PR fortran/16597
142 * io/io.h: created typedef for unit_mode.
143 * io/io.h (gfc_unit): added mode to unit structure.
144 * io/transfer.c (data_transfer_init): flush if a write then
145 read is done on a unit (direct access files).
146 * io/rewind.c (st_rewind): Used unit mode instead of global.
147
5352bda0
BD
1482004-08-24 Bud Davis <bdavis9659@comcast.net>
149
150 PR fortran/17143
151 * runtime/error.c (itoa): keep from overflowing during
152 mod operation by using unsigned variable.
153
02d735f6
BD
1542004-08-24 Bud Davis <bdavis9659@comcast.net>
155
156 PR fortran/17164
157 * runtime/string_intrinsics.c (string_index):check for
158 substring longer than string.
159
6fd7cc54
DE
1602004-08-24 David Edelsohn <edelsohn@gnu.org>
161
162 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
163 * Makefile.in: Rebuilt.
164
20edd06b
TS
1652004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
166
167 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
168 Fix formatting issues, update copyright years.
169
0fa1b65c
BD
1702004-08-21 Bud Davis <bdavis9659@comcast.net>
171
172 PR 16908
173 * io/transfer.c (next_record_w): Do not blank pad.
174 * io/transfer.c (next_record): Take into account partial records.
175
3bc268e6
VL
1762004-08-18 Victor Leikehman <lei@il.ibm.com>
177
178 PR fortran/13278
179 * io/transfer.c (st_set_nml_var)
180 * io/write.c (namelist_write): Allow var_name and var_name_len to be
181 null. For strings, use string_length field instead of len.
182 * io/io.h (struct namelist_type): New field string_length.
183 (st_set_nml_var_char): New argument string_length.
184
1ef02b9d
BD
1852004-08-13 Bud Davis <bdavis9659@comcast.net>
186
4fe6e46b 187 PR gfortran/16935
1ef02b9d
BD
188 * io/open.c (st_open): use flags instead of the unit structure.
189
a57bb5f6
VL
1902004-08-10 Victor Leikehman <lei@il.ibm.com>
191
192 * io/list_read.c (namelist_read): Convert variable names
193 to lower case, so that mixed-case names are recognized.
194 Don't read beyond terminating slash.
195
067a5735
RS
1962004-08-09 Richard Henderson <rth@redhat.com>
197 Roger Sayle <roger@eyesopen.com>
198
199 * intrinsics/c99_functions.c (nextafterf): New implementation that
200 works correctly with denormalized numbers.
201
2022004-08-09 Victor Leikehman <lei@il.ibm.com>
883c9d4d
VL
203
204 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
205 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
206 Allocate space if return value has NULL in its data field.
207 * generated/*.c: Regenerate.
208
aa6fc635
JB
2092004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
210
211 * intrinsics/env.c: New file.
212 * Makefile.am: Add env.c to build.
213 * Makefile.in: Regenerate.
214
943bf8b5
VL
2152004-08-05 Victor Leikehman <lei@il.ibm.com>
216
217 PR libgfortran/16704
218 * io/read.c (read_radix): Understand letters f and F as hex digits.
219
6c167c45
VL
2202004-08-04 Victor Leikehman <lei@il.ibm.com>
221
222 * libgfortran.h (array_t, size0) New declarations.
223 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
224 space if return value descriptor has NULL in its data field,
225 and initialize bounds and stride.
226 * intrinsics/size.c (array_t, size0): Declarations moved to
227 libgfortran.h.
228 * generated/*.c: Regenerate.
229
453310d8
RS
2302004-08-03 Roger Sayle <roger@eyesopen.com>
231
232 PR libgfortran/16137
233 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
234 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
235 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
236 * config.h.in: Regenerate.
237 * configure: Regenerate.
238
239 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
240 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
241 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
242 implementations for targets that don't support C99 float functions.
243
023d776a
RS
2442004-08-01 Roger Sayle <roger@eyesopen.com>
245
246 * io/write.c (write_float): Use the slightly more portable isnan
247 in preference to isinf.
248
9cdc381b
BD
2492004-07-18 Bud Davis <bdavis9659@comcast.net>
250
251 * configure.ac: Add check for LFS support.
252 * configure: Regenerate
253
1e38f159
PB
2542004-07-11 Paul Brook <paul@codesourcery.com>
255
256 PR fortran/16303
257 * m4/cexp.m4 (carg): Return -pi to pi.
258 * generated/exp_c?.c: Regenerate.
259
dbe81a8b
AK
2602004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
261
262 PR fortran/16291
263 * libgfortran/io/write.c: (write_float): Added length check.
264 Remove pointless memset calls.
265
bf1df0a0
BD
2662004-07-04 Bud Davis <bdavis9659@comcast.net>
267 Paul Brook <paul@codesourcery.com>
268
269 PR fortran/15472
270 * io/transfer.c(us_write): set recl for seq unform writes to max size.
271 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
272 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
dbe81a8b 273 right time.
bf1df0a0 274 * io/unix.c(is_seekable): set based upon the file/device, not the
dbe81a8b 275 method being used to access it (fd or mmap).
bf1df0a0
BD
276 * io/unix.c(fd_flush): don't set file_size if !seekable.
277 * io/unix.c(fd_truncate: ditto.
278
b41b2534
JB
2792004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
280 Paul Brook <paul@codesourcery.com>
281
282 PR fortran/15280
283 PR fortran/15665
284 * libgfortran.h (gfc_strlen_type): Define.
285 * intrinsics/args.c (getarg): Rename ...
286 (getarg_i4): ... to this.
287 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
288 get_command_i4, get_command_i8): New functions.
289
1657a809
MK
2902004-07-04 Matthias Klose <doko@debian.org>
291
292 * libtool-version: New.
293 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
294 * Makefile.in: Regenerate.
295 * configure.ac: Remove libtool_VERSION macro
296 * configure: Regenerate
297
fd53dbe0
SK
2982004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
299 Steven Bosscher <stevenb@suse.de>
300
301 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
302 commit in prefix.
303
beabab59
TS
3042004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
305 Paul Brook <paul@codesourcery.com>
306
307 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
308 comments.
309 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
310
519b0e16
BD
3112004-06-27 Bud Davis <bdavis9659@comcast.net>
312
313 PR gfortran/12839
314 * io/write.c (write_float): check signbit for Infinity.
315
3e14aaa2
BD
3162004-06-26 Bud Davis <bdavis9659@comcast.net>
317
318 PR gfortran/16196
319 * unix.c(regular_file): create file if it does not exist.
320
d42093a1
AP
3212004-06-24 Andrew Pinski <apinski@apple.com>
322
323 * configure.ac: Remove check for libmx.
324 * configure: Regenerate.
325
8750f9cd
JB
3262004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
327
328 PR fortran/15750
329 * inquire.c (st_inquire): Add comment
330 * io.h (st_parameter): Add iolength.
331 (st_iolength, st_iolength_done): Declare.
332 * transfer.c (iolength_transfer, iolength_transfer_init,
333 st_iolength, st_iolength_done): New functions.
334
0bf68c6e
SK
3352004-06-21 Steven G. Kargl <kargls@comcast.net>
336
337 * etime.c (etime_sub): Remove array rank check;
338 Add check for sufficient space.
339
bb9db7b1
BD
3402004-06-19 Bud Davis <bdavis9659@comcast.net>
341
342 PR gfortran/16080
343 * io/list_read.c(set_value): fixed spelling.
344
04b0faec
BD
3452004-06-19 Bud Davis <bdavis9659@comcast.net>
346
347 PR gfortran/16080
348 * io/list_read.c(set_value): don't copy if the string is null.
349
bc20e36d
BD
3502004-06-14 Bud Davis <bdavis9659@comcast.net>
351
352 PR gfortran/15292
353 * intrinsics/c99_functions.c: Use fpclassify if it exists.
354
a9e7b9d3
PB
3552004-06-13 Paul Brook <paul@codesourcery.com>
356
357 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
358 * configure.ac: Add checks for nextafter and nextafterf.
359 * Makefile.in, config.h.in, configure: Regenerate.
360 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
361 * intrinsics/rand.c (rand): Use normalize_r4_i4.
362 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
363 (random_r8): Use normalize_r8_i8.
364 * runtime/normalize.c: New file.
365
cdaa9fc4
SK
3662004-06-13 Steven G. Kargl <kargls@comcast.net>
367 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
368
369 * random.c: Fix several spelling and formatting mistakes in
370 comments.
371 (random_r8): Fix loop to make random numbers range in [0,1(.
372
373
9d409075
TS
3742004-06-13 Steven G. Kargl <kargls@comcast.net>
375
376 * random.c (random_r4): Burn a random number.
377 (random_r8): fix infinite loop.
378
3792004-06-12 Bud Davis <bdavis9659@comcast.net>
a2a2059f
BD
380 Steve Kargl <sgk@troutmask.apl.washington.edu>
381
382 PR gfortran/15292
383 * intrinsics/c99_functions.c: New file.
384 * Makefile.am: Add new file.
385 * configure.ac: Added test for round/roundf.
386 * Makefile.in: Regenerate.
387 * configure: Regenerate.
388 * configure.h.in: Regenerate.
389
2bd74949
SK
3902004-06-12 Steven G. Kargl <kargls@comcast.net>
391
392 * Makefile.am: Add rand.c and etime.c
393 * Makefile.in: Regenerated.
394 * aclocal.in: Regenerated.
395 * cpu_time.c (second_sub, second): New functions.
396 * rand.c (irand, rand, srand): New file.
397 * etime.c (etime_sub, etime): New file.
398
f814193b
TS
3992004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
400 Steven Bosscher <stevenb@suse.de>
401
402 PR fortran/14923
403 * intrinsics/date_and_time.c: New file.
404 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
405 * Makefile.in, aclocal.m4: Regenerate.
406 * libgfortran.h: Prototype date_and_time().
407
4aef80f8
BD
4082004-06-12 Bud Davis <bdavis9659@comcast.net>
409
a13c7588 410 PR fortran/15665
4aef80f8
BD
411 * intrinsics/args.c: Implement GETARG and IARGC.
412 * Makefile.am: Add it.
413 * Makefile.in: Regenerate.
414
8204210b
BD
4152004-06-12 Bud Davis <bdavis9659@comcast.net>
416
417 PR gfortran/12839
4aef80f8 418 * io/write.c(write_float): Format inf and nan IAW F2003.
8204210b 419
898c05b8
BD
4202004-06-09 Bud Davis <bdavis9659@comcaste.net>
421
422 PR gfortran/14897
423 * io/transfer.c (formatted_transfer): position is unique
424 for T and TL edit descriptors.
4aef80f8 425 (data_transfer_init): set record length to size of internal
898c05b8
BD
426 file.
427
31b6f11a
BD
4282004-06-09 Bud Davis <bdavis9659@comcast.net>
429
430 PR gfortran/15755
431 * io/backspace.c(st_backspace): call correct routine for
432 formatted and un-formatted units.
433
96b8a615
AJ
4342004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
435
436 PR gfortran/11800
437 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
438 (lib_LTLIBRARIES): Rename to ...
439 (toolexeclib_LTLIBRARIES): this for multilib support.
440 * configure.in: Rename to ...
441 * configure.ac: this. Update to modern autoconf style, enable
442 multilibs, support --enable-version-specific-runtime-libs.
443 * Makefile.in: Regenerated.
444 * configure: Regenerated.
445 * aclocal.m4: Regenerated.
446
5f251c26
SK
4472004-05-30 Steven G. Kargl <kargls@comcast.net>
448
449 * libgfortran.h (random_seed): Update prototype.
450 * intrinsics/random.c: Disable old implementation and add new one.
451
ebeb17c7
AJ
4522004-05-30 Andreas Jaeger <aj@suse.de>
453
454 * intrinsics/random.c: Include unistd.h for close and read
455 prototypes, remove unneeded inclusion of assert.h.
456
457 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
458 unneeded inclusion of assert.h.
459
08fb03fd
TS
4602004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
461
462 PR fortran/15234
463 * intrinsics/associated.c: Remove enum.
464 (associated): Replace TRUE/FALSE by 1/0.
465
322c2425
SK
4662004-05-23 Steven G. Kargl <kargls@comcast.net>
467
468 * random.c (random_seed): Use correct variable.
469
21fdfcc1
SK
4702004-05-22 Steven G. Kargl <kargls@comcast.net>
471
472 * intrinsics/system_clock: New file.
473 * Makefile.am: Add intrinsics/system_clock.c.
474 * Makefile.in: Regenerate.
475
11670eeb
RS
4762004-05-21 Roger Sayle <roger@eyesopen.com>
477
478 * io/format.c (parse_format_list): Allow the comma after a string
479 literal to be optional.
480
5b200ac2 4812004-05-18 Paul Brook <paul@codesourcery.com>
59fa6e39 482 Feng Wang <fengwang@nudt.edu.cn>
5b200ac2
FW
483
484 * Makefile.am (i_pow_c): Set it. Add build rule.
485 (gfor_built_src): Use it.
486 (m4_files): add m4/pow.m4.
487 * Makefile.in: Regenerate.
488 * m4/pow.m4: New file.
489 * generated/pow_*.c: Regenerate.
490
c9e66eda
PB
4912004-05-18 Paul Brook <paul@codesourcery.com>
492
493 * Makefile.am: Remove references to types.m4.
494 * m4/iparm.m4: Merge with types.m4.
495 * m4/types.m4: Remove.
496 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
497 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
498 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
499 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
500 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
501 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
502 Update to use new iparm.m4.
503 * generated/*.c: Regenerate.
504
81f4be3c
TS
5052004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
506
507 PR fortran/15235
508 * gfortran.h (offset_t): Rename to ...
509 (gfc_offset): ... this.
510 * io/backspace.c (formatted_backspace, unformatted_backspace),
511 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
512 transfer.c (us_read, us_write, next_record_r, next_record_w),
513 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
514 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
515 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
516 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
517 occurences of offset_t by gfc_offset.
518
6d3e9d84
PB
5192004-05-16 Paul Brook <paul@codesourcery.com>
520
521 * io/format.c (write_real): Don't include padding in format.
522
28963c8f
PB
5232004-05-16 Paul Brook <paul@codesourcery.com>
524
525 * io/format.c (format_lex): Make c an int.
526
d464f8e9
JB
5272004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
528 Paul Brook <paul@codesourcery.com>
529
530 * io/write.c (write_logical): Don't print extra blank.
531 (write_integer): Base field width on kind.
532 (list_formatted_write): Output initial blank.
533
000aa32a
JB
5342004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
535
536 * io/io.h (flush): Add prototype.
537 * io/transfer.c (finalize_transfer): Flush partial records.
538 * io/unix.c (flush): New function.
539
909087e0
TS
5402004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
541
542 PR fortran/15234
543 * io/io.h (unit_t): Rename to ...
544 (gfc_unit) ... this.
545 (unit_root, current_unit, find_file, find_unit, get_unit): Now
546 of type gfc_unit.
547 (delete_file, insert_unit, close_unit): Argument now of type
548 gfc_unit.
549 * backspace.c (st_backspace), close.c (st_close), endfile.c
550 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
551 (test_endfile, edit_modes, new_unit, already_open, st_open),
552 rewind.c (st_rewind), transfer.c (current_unit), unit.c
553 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
554 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
555 get_unit, init_units, close_unit), unix.c (find_file0,
556 find_file, delete_file): Replace all occurences of unit_t by
557 gfc_unit.
558
94161cec
BD
5592004-05-15 Bud Davis <bdavis9659@comcast.net>
560
561 PR fortran/15311
562 * io/write.c (write_a): right justify A edit output.
563
abdef811
BD
5642004-05-14 Bud Davis <bdavis9659@comcast.net>
565
566 PR fortran/15149
567 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
568 * runtime/main.c(init): Call random_seed as part of MAIN init.
569
187f0734
TS
570