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