]> gcc.gnu.org Git - gcc.git/blame - libgfortran/ChangeLog
c-decl.c (static_ctors, [...]): Make static.
[gcc.git] / libgfortran / ChangeLog
CommitLineData
bf1df0a0
BD
12004-07-04 Bud Davis <bdavis9659@comcast.net>
2 Paul Brook <paul@codesourcery.com>
3
4 PR fortran/15472
5 * io/transfer.c(us_write): set recl for seq unform writes to max size.
6 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
7 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
8 right time.
9 * io/unix.c(is_seekable): set based upon the file/device, not the
10 method being used to access it (fd or mmap).
11 * io/unix.c(fd_flush): don't set file_size if !seekable.
12 * io/unix.c(fd_truncate: ditto.
13
b41b2534
JB
142004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
15 Paul Brook <paul@codesourcery.com>
16
17 PR fortran/15280
18 PR fortran/15665
19 * libgfortran.h (gfc_strlen_type): Define.
20 * intrinsics/args.c (getarg): Rename ...
21 (getarg_i4): ... to this.
22 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
23 get_command_i4, get_command_i8): New functions.
24
1657a809
MK
252004-07-04 Matthias Klose <doko@debian.org>
26
27 * libtool-version: New.
28 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
29 * Makefile.in: Regenerate.
30 * configure.ac: Remove libtool_VERSION macro
31 * configure: Regenerate
32
fd53dbe0
SK
332004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
34 Steven Bosscher <stevenb@suse.de>
35
36 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
37 commit in prefix.
38
beabab59
TS
392004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
40 Paul Brook <paul@codesourcery.com>
41
42 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
43 comments.
44 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
45
519b0e16
BD
462004-06-27 Bud Davis <bdavis9659@comcast.net>
47
48 PR gfortran/12839
49 * io/write.c (write_float): check signbit for Infinity.
50
3e14aaa2
BD
512004-06-26 Bud Davis <bdavis9659@comcast.net>
52
53 PR gfortran/16196
54 * unix.c(regular_file): create file if it does not exist.
55
d42093a1
AP
562004-06-24 Andrew Pinski <apinski@apple.com>
57
58 * configure.ac: Remove check for libmx.
59 * configure: Regenerate.
60
8750f9cd
JB
612004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
62
63 PR fortran/15750
64 * inquire.c (st_inquire): Add comment
65 * io.h (st_parameter): Add iolength.
66 (st_iolength, st_iolength_done): Declare.
67 * transfer.c (iolength_transfer, iolength_transfer_init,
68 st_iolength, st_iolength_done): New functions.
69
0bf68c6e
SK
702004-06-21 Steven G. Kargl <kargls@comcast.net>
71
72 * etime.c (etime_sub): Remove array rank check;
73 Add check for sufficient space.
74
bb9db7b1
BD
752004-06-19 Bud Davis <bdavis9659@comcast.net>
76
77 PR gfortran/16080
78 * io/list_read.c(set_value): fixed spelling.
79
04b0faec
BD
802004-06-19 Bud Davis <bdavis9659@comcast.net>
81
82 PR gfortran/16080
83 * io/list_read.c(set_value): don't copy if the string is null.
84
bc20e36d
BD
852004-06-14 Bud Davis <bdavis9659@comcast.net>
86
87 PR gfortran/15292
88 * intrinsics/c99_functions.c: Use fpclassify if it exists.
89
a9e7b9d3
PB
902004-06-13 Paul Brook <paul@codesourcery.com>
91
92 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
93 * configure.ac: Add checks for nextafter and nextafterf.
94 * Makefile.in, config.h.in, configure: Regenerate.
95 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
96 * intrinsics/rand.c (rand): Use normalize_r4_i4.
97 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
98 (random_r8): Use normalize_r8_i8.
99 * runtime/normalize.c: New file.
100
cdaa9fc4
SK
1012004-06-13 Steven G. Kargl <kargls@comcast.net>
102 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
103
104 * random.c: Fix several spelling and formatting mistakes in
105 comments.
106 (random_r8): Fix loop to make random numbers range in [0,1(.
107
108
9d409075
TS
1092004-06-13 Steven G. Kargl <kargls@comcast.net>
110
111 * random.c (random_r4): Burn a random number.
112 (random_r8): fix infinite loop.
113
1142004-06-12 Bud Davis <bdavis9659@comcast.net>
a2a2059f
BD
115 Steve Kargl <sgk@troutmask.apl.washington.edu>
116
117 PR gfortran/15292
118 * intrinsics/c99_functions.c: New file.
119 * Makefile.am: Add new file.
120 * configure.ac: Added test for round/roundf.
121 * Makefile.in: Regenerate.
122 * configure: Regenerate.
123 * configure.h.in: Regenerate.
124
2bd74949
SK
1252004-06-12 Steven G. Kargl <kargls@comcast.net>
126
127 * Makefile.am: Add rand.c and etime.c
128 * Makefile.in: Regenerated.
129 * aclocal.in: Regenerated.
130 * cpu_time.c (second_sub, second): New functions.
131 * rand.c (irand, rand, srand): New file.
132 * etime.c (etime_sub, etime): New file.
133
f814193b
TS
1342004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
135 Steven Bosscher <stevenb@suse.de>
136
137 PR fortran/14923
138 * intrinsics/date_and_time.c: New file.
139 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
140 * Makefile.in, aclocal.m4: Regenerate.
141 * libgfortran.h: Prototype date_and_time().
142
4aef80f8
BD
1432004-06-12 Bud Davis <bdavis9659@comcast.net>
144
a13c7588 145 PR fortran/15665
4aef80f8
BD
146 * intrinsics/args.c: Implement GETARG and IARGC.
147 * Makefile.am: Add it.
148 * Makefile.in: Regenerate.
149
8204210b
BD
1502004-06-12 Bud Davis <bdavis9659@comcast.net>
151
152 PR gfortran/12839
4aef80f8 153 * io/write.c(write_float): Format inf and nan IAW F2003.
8204210b 154
898c05b8
BD
1552004-06-09 Bud Davis <bdavis9659@comcaste.net>
156
157 PR gfortran/14897
158 * io/transfer.c (formatted_transfer): position is unique
159 for T and TL edit descriptors.
4aef80f8 160 (data_transfer_init): set record length to size of internal
898c05b8
BD
161 file.
162
31b6f11a
BD
1632004-06-09 Bud Davis <bdavis9659@comcast.net>
164
165 PR gfortran/15755
166 * io/backspace.c(st_backspace): call correct routine for
167 formatted and un-formatted units.
168
96b8a615
AJ
1692004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
170
171 PR gfortran/11800
172 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
173 (lib_LTLIBRARIES): Rename to ...
174 (toolexeclib_LTLIBRARIES): this for multilib support.
175 * configure.in: Rename to ...
176 * configure.ac: this. Update to modern autoconf style, enable
177 multilibs, support --enable-version-specific-runtime-libs.
178 * Makefile.in: Regenerated.
179 * configure: Regenerated.
180 * aclocal.m4: Regenerated.
181
5f251c26
SK
1822004-05-30 Steven G. Kargl <kargls@comcast.net>
183
184 * libgfortran.h (random_seed): Update prototype.
185 * intrinsics/random.c: Disable old implementation and add new one.
186
ebeb17c7
AJ
1872004-05-30 Andreas Jaeger <aj@suse.de>
188
189 * intrinsics/random.c: Include unistd.h for close and read
190 prototypes, remove unneeded inclusion of assert.h.
191
192 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
193 unneeded inclusion of assert.h.
194
08fb03fd
TS
1952004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
196
197 PR fortran/15234
198 * intrinsics/associated.c: Remove enum.
199 (associated): Replace TRUE/FALSE by 1/0.
200
322c2425
SK
2012004-05-23 Steven G. Kargl <kargls@comcast.net>
202
203 * random.c (random_seed): Use correct variable.
204
21fdfcc1
SK
2052004-05-22 Steven G. Kargl <kargls@comcast.net>
206
207 * intrinsics/system_clock: New file.
208 * Makefile.am: Add intrinsics/system_clock.c.
209 * Makefile.in: Regenerate.
210
11670eeb
RS
2112004-05-21 Roger Sayle <roger@eyesopen.com>
212
213 * io/format.c (parse_format_list): Allow the comma after a string
214 literal to be optional.
215
5b200ac2 2162004-05-18 Paul Brook <paul@codesourcery.com>
59fa6e39 217 Feng Wang <fengwang@nudt.edu.cn>
5b200ac2
FW
218
219 * Makefile.am (i_pow_c): Set it. Add build rule.
220 (gfor_built_src): Use it.
221 (m4_files): add m4/pow.m4.
222 * Makefile.in: Regenerate.
223 * m4/pow.m4: New file.
224 * generated/pow_*.c: Regenerate.
225
c9e66eda
PB
2262004-05-18 Paul Brook <paul@codesourcery.com>
227
228 * Makefile.am: Remove references to types.m4.
229 * m4/iparm.m4: Merge with types.m4.
230 * m4/types.m4: Remove.
231 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
232 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
233 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
234 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
235 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
236 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
237 Update to use new iparm.m4.
238 * generated/*.c: Regenerate.
239
81f4be3c
TS
2402004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
241
242 PR fortran/15235
243 * gfortran.h (offset_t): Rename to ...
244 (gfc_offset): ... this.
245 * io/backspace.c (formatted_backspace, unformatted_backspace),
246 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
247 transfer.c (us_read, us_write, next_record_r, next_record_w),
248 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
249 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
250 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
251 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
252 occurences of offset_t by gfc_offset.
253
6d3e9d84
PB
2542004-05-16 Paul Brook <paul@codesourcery.com>
255
256 * io/format.c (write_real): Don't include padding in format.
257
28963c8f
PB
2582004-05-16 Paul Brook <paul@codesourcery.com>
259
260 * io/format.c (format_lex): Make c an int.
261
d464f8e9
JB
2622004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
263 Paul Brook <paul@codesourcery.com>
264
265 * io/write.c (write_logical): Don't print extra blank.
266 (write_integer): Base field width on kind.
267 (list_formatted_write): Output initial blank.
268
000aa32a
JB
2692004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
270
271 * io/io.h (flush): Add prototype.
272 * io/transfer.c (finalize_transfer): Flush partial records.
273 * io/unix.c (flush): New function.
274
909087e0
TS
2752004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
276
277 PR fortran/15234
278 * io/io.h (unit_t): Rename to ...
279 (gfc_unit) ... this.
280 (unit_root, current_unit, find_file, find_unit, get_unit): Now
281 of type gfc_unit.
282 (delete_file, insert_unit, close_unit): Argument now of type
283 gfc_unit.
284 * backspace.c (st_backspace), close.c (st_close), endfile.c
285 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
286 (test_endfile, edit_modes, new_unit, already_open, st_open),
287 rewind.c (st_rewind), transfer.c (current_unit), unit.c
288 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
289 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
290 get_unit, init_units, close_unit), unix.c (find_file0,
291 find_file, delete_file): Replace all occurences of unit_t by
292 gfc_unit.
293
94161cec
BD
2942004-05-15 Bud Davis <bdavis9659@comcast.net>
295
296 PR fortran/15311
297 * io/write.c (write_a): right justify A edit output.
298
abdef811
BD
2992004-05-14 Bud Davis <bdavis9659@comcast.net>
300
301 PR fortran/15149
302 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
303 * runtime/main.c(init): Call random_seed as part of MAIN init.
304
187f0734
TS
305