]> gcc.gnu.org Git - gcc.git/blame - libgfortran/ChangeLog
re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented)
[gcc.git] / libgfortran / ChangeLog
CommitLineData
8750f9cd
JB
12004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
2
3 PR fortran/15750
4 * inquire.c (st_inquire): Add comment
5 * io.h (st_parameter): Add iolength.
6 (st_iolength, st_iolength_done): Declare.
7 * transfer.c (iolength_transfer, iolength_transfer_init,
8 st_iolength, st_iolength_done): New functions.
9
0bf68c6e
SK
102004-06-21 Steven G. Kargl <kargls@comcast.net>
11
12 * etime.c (etime_sub): Remove array rank check;
13 Add check for sufficient space.
14
bb9db7b1
BD
152004-06-19 Bud Davis <bdavis9659@comcast.net>
16
17 PR gfortran/16080
18 * io/list_read.c(set_value): fixed spelling.
19
04b0faec
BD
202004-06-19 Bud Davis <bdavis9659@comcast.net>
21
22 PR gfortran/16080
23 * io/list_read.c(set_value): don't copy if the string is null.
24
bc20e36d
BD
252004-06-14 Bud Davis <bdavis9659@comcast.net>
26
27 PR gfortran/15292
28 * intrinsics/c99_functions.c: Use fpclassify if it exists.
29
a9e7b9d3
PB
302004-06-13 Paul Brook <paul@codesourcery.com>
31
32 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
33 * configure.ac: Add checks for nextafter and nextafterf.
34 * Makefile.in, config.h.in, configure: Regenerate.
35 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
36 * intrinsics/rand.c (rand): Use normalize_r4_i4.
37 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
38 (random_r8): Use normalize_r8_i8.
39 * runtime/normalize.c: New file.
40
cdaa9fc4
SK
412004-06-13 Steven G. Kargl <kargls@comcast.net>
42 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
43
44 * random.c: Fix several spelling and formatting mistakes in
45 comments.
46 (random_r8): Fix loop to make random numbers range in [0,1(.
47
48
9d409075
TS
492004-06-13 Steven G. Kargl <kargls@comcast.net>
50
51 * random.c (random_r4): Burn a random number.
52 (random_r8): fix infinite loop.
53
542004-06-12 Bud Davis <bdavis9659@comcast.net>
a2a2059f
BD
55 Steve Kargl <sgk@troutmask.apl.washington.edu>
56
57 PR gfortran/15292
58 * intrinsics/c99_functions.c: New file.
59 * Makefile.am: Add new file.
60 * configure.ac: Added test for round/roundf.
61 * Makefile.in: Regenerate.
62 * configure: Regenerate.
63 * configure.h.in: Regenerate.
64
2bd74949
SK
652004-06-12 Steven G. Kargl <kargls@comcast.net>
66
67 * Makefile.am: Add rand.c and etime.c
68 * Makefile.in: Regenerated.
69 * aclocal.in: Regenerated.
70 * cpu_time.c (second_sub, second): New functions.
71 * rand.c (irand, rand, srand): New file.
72 * etime.c (etime_sub, etime): New file.
73
f814193b
TS
742004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
75 Steven Bosscher <stevenb@suse.de>
76
77 PR fortran/14923
78 * intrinsics/date_and_time.c: New file.
79 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
80 * Makefile.in, aclocal.m4: Regenerate.
81 * libgfortran.h: Prototype date_and_time().
82
4aef80f8
BD
832004-06-12 Bud Davis <bdavis9659@comcast.net>
84
a13c7588 85 PR fortran/15665
4aef80f8
BD
86 * intrinsics/args.c: Implement GETARG and IARGC.
87 * Makefile.am: Add it.
88 * Makefile.in: Regenerate.
89
8204210b
BD
902004-06-12 Bud Davis <bdavis9659@comcast.net>
91
92 PR gfortran/12839
4aef80f8 93 * io/write.c(write_float): Format inf and nan IAW F2003.
8204210b 94
898c05b8
BD
952004-06-09 Bud Davis <bdavis9659@comcaste.net>
96
97 PR gfortran/14897
98 * io/transfer.c (formatted_transfer): position is unique
99 for T and TL edit descriptors.
4aef80f8 100 (data_transfer_init): set record length to size of internal
898c05b8
BD
101 file.
102
31b6f11a
BD
1032004-06-09 Bud Davis <bdavis9659@comcast.net>
104
105 PR gfortran/15755
106 * io/backspace.c(st_backspace): call correct routine for
107 formatted and un-formatted units.
108
96b8a615
AJ
1092004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
110
111 PR gfortran/11800
112 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
113 (lib_LTLIBRARIES): Rename to ...
114 (toolexeclib_LTLIBRARIES): this for multilib support.
115 * configure.in: Rename to ...
116 * configure.ac: this. Update to modern autoconf style, enable
117 multilibs, support --enable-version-specific-runtime-libs.
118 * Makefile.in: Regenerated.
119 * configure: Regenerated.
120 * aclocal.m4: Regenerated.
121
5f251c26
SK
1222004-05-30 Steven G. Kargl <kargls@comcast.net>
123
124 * libgfortran.h (random_seed): Update prototype.
125 * intrinsics/random.c: Disable old implementation and add new one.
126
ebeb17c7
AJ
1272004-05-30 Andreas Jaeger <aj@suse.de>
128
129 * intrinsics/random.c: Include unistd.h for close and read
130 prototypes, remove unneeded inclusion of assert.h.
131
132 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
133 unneeded inclusion of assert.h.
134
08fb03fd
TS
1352004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
136
137 PR fortran/15234
138 * intrinsics/associated.c: Remove enum.
139 (associated): Replace TRUE/FALSE by 1/0.
140
322c2425
SK
1412004-05-23 Steven G. Kargl <kargls@comcast.net>
142
143 * random.c (random_seed): Use correct variable.
144
21fdfcc1
SK
1452004-05-22 Steven G. Kargl <kargls@comcast.net>
146
147 * intrinsics/system_clock: New file.
148 * Makefile.am: Add intrinsics/system_clock.c.
149 * Makefile.in: Regenerate.
150
11670eeb
RS
1512004-05-21 Roger Sayle <roger@eyesopen.com>
152
153 * io/format.c (parse_format_list): Allow the comma after a string
154 literal to be optional.
155
5b200ac2 1562004-05-18 Paul Brook <paul@codesourcery.com>
59fa6e39 157 Feng Wang <fengwang@nudt.edu.cn>
5b200ac2
FW
158
159 * Makefile.am (i_pow_c): Set it. Add build rule.
160 (gfor_built_src): Use it.
161 (m4_files): add m4/pow.m4.
162 * Makefile.in: Regenerate.
163 * m4/pow.m4: New file.
164 * generated/pow_*.c: Regenerate.
165
c9e66eda
PB
1662004-05-18 Paul Brook <paul@codesourcery.com>
167
168 * Makefile.am: Remove references to types.m4.
169 * m4/iparm.m4: Merge with types.m4.
170 * m4/types.m4: Remove.
171 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
172 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
173 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
174 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
175 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
176 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
177 Update to use new iparm.m4.
178 * generated/*.c: Regenerate.
179
81f4be3c
TS
1802004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
181
182 PR fortran/15235
183 * gfortran.h (offset_t): Rename to ...
184 (gfc_offset): ... this.
185 * io/backspace.c (formatted_backspace, unformatted_backspace),
186 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
187 transfer.c (us_read, us_write, next_record_r, next_record_w),
188 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
189 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
190 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
191 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
192 occurences of offset_t by gfc_offset.
193
6d3e9d84
PB
1942004-05-16 Paul Brook <paul@codesourcery.com>
195
196 * io/format.c (write_real): Don't include padding in format.
197
28963c8f
PB
1982004-05-16 Paul Brook <paul@codesourcery.com>
199
200 * io/format.c (format_lex): Make c an int.
201
d464f8e9
JB
2022004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
203 Paul Brook <paul@codesourcery.com>
204
205 * io/write.c (write_logical): Don't print extra blank.
206 (write_integer): Base field width on kind.
207 (list_formatted_write): Output initial blank.
208
000aa32a
JB
2092004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
210
211 * io/io.h (flush): Add prototype.
212 * io/transfer.c (finalize_transfer): Flush partial records.
213 * io/unix.c (flush): New function.
214
909087e0
TS
2152004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
216
217 PR fortran/15234
218 * io/io.h (unit_t): Rename to ...
219 (gfc_unit) ... this.
220 (unit_root, current_unit, find_file, find_unit, get_unit): Now
221 of type gfc_unit.
222 (delete_file, insert_unit, close_unit): Argument now of type
223 gfc_unit.
224 * backspace.c (st_backspace), close.c (st_close), endfile.c
225 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
226 (test_endfile, edit_modes, new_unit, already_open, st_open),
227 rewind.c (st_rewind), transfer.c (current_unit), unit.c
228 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
229 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
230 get_unit, init_units, close_unit), unix.c (find_file0,
231 find_file, delete_file): Replace all occurences of unit_t by
232 gfc_unit.
233
94161cec
BD
2342004-05-15 Bud Davis <bdavis9659@comcast.net>
235
236 PR fortran/15311
237 * io/write.c (write_a): right justify A edit output.
238
abdef811
BD
2392004-05-14 Bud Davis <bdavis9659@comcast.net>
240
241 PR fortran/15149
242 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
243 * runtime/main.c(init): Call random_seed as part of MAIN init.
244
187f0734
TS
245