OSDN Git Service

2004-12-23 Bud Davis <bdavis9659@comcast.net>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2004-12-23  Bud Davis  <bdavis9659@comcast.net>
2
3         PR fortran/19071
4         * io/tranfer.c (formatted_transfer): moved check for 
5         format reversion inside the processing loop.
6
7 2004-12-19  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
8
9         PR libfortran/19074
10         * libgfortran.h (itoa): Rename to gfc_itoa.
11         * io/write.c (itoa): Same.
12         * runtime/environ.c (itoa): Same.
13         * runtime/error.c (itoa): Same.
14
15 2004-12-15  Bud Davis  <bdavis9659@comcast.net>
16             Steven G. Kargl  <kargls@comcast.net>
17
18         PR fortran/17597
19         * io/list_read.c (read_real): do not push back a comma when
20         it delimits a real value without a decimal point
21
22 2004-12-14  Steve Ellcey  <sje@cup.hp.com>
23
24         * libgfortran/io/transfer.c (us_read): Use memcpy/memset
25         instead of assignment to fill unaligned buffer.
26         (us_write): Ditto.
27         (next_record_w): Ditto.
28
29 2004-12-14  Steven G. Kargl  <kargls@comcast.net>
30
31         PR libfortran/18966
32         * gfortran.h: typedef GFC_INTEGER_1 and GFC_INTEGER_2
33         * intrinsics/cshift0.c (cshift0_1,cshift0_2): New functions.
34         * intrinsics/eoshift0.c (eoshift0_1,eoshift0_2): New functions.
35         * intrinsics/eoshift2.c (eoshift2_1,eoshift2_2): New functions.
36
37 2004-12-13  David Edelsohn  <edelsohn@gnu.org>
38
39         * io/transfer.c (read_sf): Change bitwise "and" to logical "and".
40
41 2004-12-12  Richard Henderson  <rth@redhat.com>
42
43         * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
44         intrinsics/pack_generic.c, intrinsics/reshape_generic.c,
45         intrinsics/spread_generic.c, intrinsics/transpose_generic.c,
46         intrinsics/unpack_generic.c, m4/cshift1.m4, m4/dotprod.m4,
47         m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
48         m4/iforeach.m4, m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4,
49         m4/reshape.m4, m4/shape.m4, m4/transpose.m4: Use standard prefix
50         instead of "__".
51         * generated/*: Rebuild.
52
53 2004-12-12  Richard Henderson  <rth@redhat.com>
54
55         * acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New.
56         (LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT): New.
57         (LIBGFOR_CHECK_ATTRIBUTE_ALIAS): New.
58         * configure.ac: Use them.
59         * configure, config.h.in, aclocal.m4: Rebuild.
60         * libgfortran.h (prefix): Remove.
61         (PREFIX, IPREFIX): New.
62         (sym_rename, sym_rename1, sym_rename2): New.
63         (internal_proto, export_proto, export_proto_np): New.
64         (iexport_proto, iexport): New.
65         (iexport_data_proto, iexport_data): New.
66         * intrinsics/abort.c, intrinsics/args.c, intrinsics/associated.c,
67         intrinsics/cpu_time.c, intrinsics/cshift0.c,
68         intrinsics/date_and_time.c, intrinsics/env.c, intrinsics/eoshift0.c,
69         intrinsics/eoshift2.c, intrinsics/etime.c, intrinsics/exit.c,
70         intrinsics/flush.c, intrinsics/fnum.c, intrinsics/getXid.c,
71         intrinsics/getcwd.c, intrinsics/ishftc.c, intrinsics/mvbits.c,
72         intrinsics/pack_generic.c, intrinsics/rand.c, intrinsics/random.c,
73         intrinsics/reshape_generic.c, intrinsics/size.c,
74         intrinsics/spread_generic.c, intrinsics/stat.c,
75         intrinsics/string_intrinsics.c, intrinsics/system.c,
76         intrinsics/system_clock.c, intrinsics/transpose_generic.c,
77         intrinsics/umask.c, intrinsics/unlink.c, intrinsics/unpack_generic.c,
78         io/backspace.c, io/close.c, io/endfile.c, io/inquire.c, io/io.h,
79         io/open.c, io/rewind.c, io/transfer.c, libgfortran.h, m4/cshift1.m4,
80         m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4,
81         m4/eoshift3.m4, m4/exponent.m4, m4/fraction.m4, m4/iforeach.m4,
82         m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/nearest.m4,
83         m4/pow.m4, m4/reshape.m4, m4/set_exponent.m4, m4/shape.m4,
84         m4/transpose.m4, runtime/environ.c, runtime/error.c,
85         runtime/in_pack_generic.c, runtime/in_unpack_generic.c,
86         runtime/main.c, runtime/memory.c, runtime/pause.c, runtime/select.c,
87         runtime/stop.c: Use them to mark symbols internal or external.
88         * generated/*: Rebuild.
89
90 2004-12-09  David Edelsohn  <edelsohn@gnu.org>
91
92         PR bootstrap/18895
93         Revert 2004-12-07 change.
94         * Makefile.am (AM_MAKEFLAGS): Delete.
95         * Makefile.in: Regenerate.
96
97 2004-12-07  Steve Ellcey  <sje@cup.hp.com>
98
99         * libgfortran/Makefile.am (AM_MAKEFLAGS): New.
100         * libgfortran/Makefile.in: Regenerate
101
102 2004-12-07  Steve Ellcey  <sje@cup.hp.com>
103
104         * io/io.h (open_external): Change prototype.
105         * io/unix.c (regular_file): Change prototype and set flags->action if
106         needed.
107         (open_external): Ditto.
108         * io/open.c (new_unit): Let open_external set flags->action.
109
110 2004-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
111
112         * configure.ac: Check for ieeefp.h.  Check for fabsf in libm.
113         * configure: Regenerate.
114         * config.h.in: Likewise.
115         * c99_protos.h: New file.
116         * libgfortran.h: Include c99_protos.h and conditionally ieeefp.h.
117         * intrinsics/c99_functions.c (fabsf): New function.
118
119 2004-12-06  Richard Henderson  <rth@redhat.com>
120
121         * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
122         intrinsics/pack_generic.c, intrinsics/string_intrinsics.c,
123         intrinsics/transpose_generic.c, m4/ifunction.m4, m4/matmul.m4,
124         m4/matmull.m4, m4/transpose.m4: Use internal_malloc_size instead
125         of internal_malloc.
126         * generated/*: Rebuild.
127
128 2004-12-06  Richard Henderson  <rth@redhat.com>
129
130         * intrinsics/c99_functions.c, intrinsics/eoshift0.c,
131         intrinsics/eoshift2.c, intrinsics/exit.c, intrinsics/flush.c,
132         intrinsics/ishftc.c, intrinsics/mvbits.c, intrinsics/pack_generic.c,
133         intrinsics/random.c, intrinsics/reshape_generic.c, intrinsics/size.c,
134         intrinsics/spread_generic.c, intrinsics/stat.c,
135         intrinsics/string_intrinsics.c, intrinsics/system_clock.c,
136         intrinsics/transpose_generic.c, intrinsics/unlink.c,
137         intrinsics/unpack_generic.c, io/backspace.c, io/format.c,
138         io/list_read.c, io/lock.c, io/open.c, io/transfer.c, io/unix.c,
139         io/write.c, runtime/environ.c, runtime/error.c,
140         runtime/in_pack_generic.c, runtime/in_unpack_generic.c, runtime/main.c,
141         runtime/memory.c, runtime/pause.c, runtime/stop.c,
142         runtime/string.c: Whitespace fixes.
143
144 2004-12-06  Richard Henderson  <rth@redhat.com>
145
146         * Makefile.am: Generate all m4 output under $(srcdir).
147         * Makefile.in: Regenerate.
148
149 2004-12-02  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
150
151         PR fortran/18710
152         * io/transfer.c (unformatted_read, unformatted_write): width of
153         a COMPLEX is twice its kind.
154
155 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
156
157         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
158         * configure, aclocal.m4, Makefile.in: Regenerate.
159
160 2004-12-02  Bud Davis  <bdavis9659@comcast.net>
161
162         PR libfortran/18284
163         * io/unix.c (fd_alloc_w_at): Update file_length when extending.
164         * io/backspace.c (formatted_backspace): Reset endfile after backspace.
165
166 2004-12-02  Bud Davis  <bdavis9659@comcast.net>
167
168         * io/inquire.c (inquire_via_unit): do not allow a direct access
169         file to be opened for sequential I/O.
170
171 2004-12-02  Steven G. Kargl  <kargls@comcast.net>
172         Paul Brook  <paul@codesourcery.com>
173
174         * intrinsics/flush.c: New file.
175         * intrinsics/fnum.c: ditto
176         * intrinsics/stat.c: ditto
177         * io/io.h (unit_to_fd): Add prototype.
178         * io/unix.c (unit_to_fd): New function.
179         * configure.ac: Add test for members of struct stat.  Check for
180         sys/types.h and sys/stat.h
181         * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
182         * configure.in: Regenerate.
183         * config.h.in: Regenerate.
184         * Makefile.in: Regenerate.
185
186 2004-12-01  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
187
188         * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I.
189
190 2004-11-28  Bud Davis  <bdavis9659@comcast.net>
191
192         * io/unix.c (mmap_alloc_w_a): check for a write to a location
193         less than the mapped area.
194
195 2004-11-27  Bud Davis  <bdavis9659@comcast.net>
196
197         PR fortran/18364
198         *  io/endfile.c (st_endfile): flush the stream before truncating.
199
200 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
201
202         * configure: Regenerate for libtool change.
203
204 2004-11-22  Steven Bosscher  <stevenb@suse.de>
205
206         PR libfortran/15960
207         * configure.ac: Check for finite in libm.
208         * libgfortran.h: Define isfinite macro if not defined.
209         * intrinsics/c99_functions.c: Use defined(fpclassify) instead of
210         HAVE_FPCLASSIFY.
211         * io/write.c (write_float): Use isfinite instead of finite.
212         * configure, config.h.in: Rebuilt.
213
214 2004-11-20  Roger Sayle  <roger@eyesopen.com>
215
216         * io/write.c (write_float, list_formatted_write): Fix indentation.
217
218 2004-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
219
220         PR target/16135
221         * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
222         * configure.ac: Include LIBGFOR_TARGET_ILP32.
223         * configure: Regenerate.
224         * config.h.in: Likewise.
225         * libgfortran.h: Provide default definitions for C99 types
226         on ILP32 targets that don't have them.
227
228         PR target/17999
229         * configure.ac: Check for snprintf.
230         * configure: Regenerate.
231         * config.h.in: Likewise.
232         * intrinsics/date_and_time.c (date_and_time): Do not
233         use snprinf if it is not available.
234         * io/write.c (output_float): Likewise.
235
236 2004-11-20  Steven G. Kargl  <kargls@comcast.net>
237
238         * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
239         * Makefile.in: Regenerated
240         * intrinsics/umask.c: New file
241         * intrinsics/unlink.c: ditto
242         * intrinsics/exit.c: ditto
243
244 2004-11-18  Victor Leikehman  <lei@il.ibm.com>
245
246         * m4/matmul.m4: Loops reordered to improve cache behavior.
247         * generated/matmul_??.c: Regenerated.
248         
249 2004-11-10  Paul Brook  <paul@codesourcery.com>
250
251         PR fortran/18218
252         * configure.ac: Check for strtof.
253         * configure: Regenerate.
254         * config.h.in: Regenerate.
255         * io/read.c (convert_real): Use strtof if available.
256         (convert_precision_real): Remove.
257         (read_f): Avoid poor exponentiation algorithm.
258
259 2004-11-05  Andreas Schwab  <schwab@suse.de>
260
261         * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
262         AC_PROG_F77, F77 and FFLAGS.
263         * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
264         FCCOMPILE instead of F77COMPILE.
265         * configure, Makefile.in: Regenerate.
266
267 2004-11-05  Kelley Cook  <kcook@gcc.gnu.org>
268
269         * acinclude.m4: Properly quote AC_CACHE_CHECK.
270         * Makefile.am: Add in ACLOCAL_AMFLAGS.
271         * aclocal.m4, configure, Makefile.in: Regenerate.
272
273 2004-10-30  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
274
275         * config.h.in: Regenerate.
276         * configure: Regenerate.
277         * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
278         * io/unix.c (S_IRGRP): Define if undefined.
279         (S_IWGRP): Same.
280         (S_IROTH): Same.
281         (S_IWOTH): Same.
282         (tempfile): Use mktemp if mkstemp missing, fix typos.
283
284 2004-10-30  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
285
286         *  intrinsics/system.c ("libgfortran.h"): Move after system headers.
287
288 2004-10-30  Canqun Yang  <canqun@nudt.edu.cn>
289
290         * intrinsics/rand.c (irand): Handle NULL argument.
291
292 2004-10-07  Paul Brook  <paul@codesourcery.com>
293
294         * io/transfer.c (finalize_transfer): Free internal streams.
295         * io/unix.c (mem_close): Free stream object.
296
297 2004-10-07  Paul Brook  <paul@codesourcery.com>
298
299         * intrinsics/string_intrinsics.c (string_verify): Fix off by one
300         error.
301
302 2004-10-06  Paul Brook  <paul@codesourcery.com>
303
304         PR libfortran/17709
305         * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
306
307 2004-10-04  Andrew Pinski  <pinskia@physics.uc.edu>
308
309         * intrinsics/mvbits.c: Commit the file.
310
311 2004-10-04  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
312
313         PR fortran/17283
314         * intrinsics/pack_generic.c (__pack): Allocate memory for return array
315         if not done by caller.
316         (__pack_s): New function.
317         * runtime/memory.c (internal_malloc, internal_malloc64): Allow
318         allocating zero memory.
319
320         PR fortran/17631
321         * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
322         * Makefile.in: Regenerate.
323         * intrinsics/mvbits.h: New file.
324
325         PR fortran/17776
326         * intrinsics/system.c: New file.
327         * Makefile.am: Add dependency for the new file.
328         * Makefile.in: Regenerate.
329
330 2004-10-04  Paul Brook  <paul@codesourcery.com>
331         Bud Davis  <bdavis9659@comcast.net>
332
333         PR fortran/17706
334         PR fortran/16434
335         * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
336         BN and BZ formats.
337         * io/write.c (output_float): Don't output minus zero.
338
339 2004-10-03  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
340
341         * intrinsics/abort.c ("libgfortran.h"): Move.
342         * intrinsics/date_and_time.c ("libgfortran.h"): Same.
343         * intrinsics/write.c ("libgfortran.h"): Same.
344
345 2004-09-26  Tobias Schlueter  <tobis.schlueter@physik.uni-muenchen.de>
346
347         PR libfortran/16137
348         * config.h.in (HAVE_POWF): Undefine.
349         * configure.ac: Check for 'powf' in library.
350         * configure: Regenerate.
351         * intrinsics/c99_functions.c (powf): New function.
352
353 2004-09-24  Tobias Schlueter  <tobis.schlueter@physik.uni-muenchen.de>
354
355         * intrinsics/etime.c (etime_): New function.
356
357 2004-09-21  Steven G. Kargl  <kargls@comcast.net>
358
359         * libgfortran.h: define gfc_alloca()
360         * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
361
362 2004-09-21  Bud Davis  <bdavis9659@comcast.net>
363
364         PR fortran/17286
365         * io/list_read.c (namelist_read): ignore spaces after 
366         the '=' for namelist reads.
367
368 2004-09-15  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
369
370         * config.h.in: Regenerate.
371         * configure: Regenerate.
372         * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
373         * unix.c: Include stdio.h.
374         (HAVE_SYS_MMAN_H): Check.
375         (PROT_READ, PROT_WRITE): Provide default definitions.
376
377 2004-09-15  Steven G. Kargl  <kargls@comcast.net>
378
379         * intrincics/getcwd.c: New file.
380         * Makefile.am: Add getcwd.c.
381         * Makefile.in: Regenerated.
382
383 2004-09-15  Steven G. Kargl  <kargls@comcast.net>
384         Paul Brook  <paul@codesourcery.com>
385
386         * intrinsics/env.c (getenv, get_environmental_variable): Remove
387         trailing white space.  Use alloca.  Honour trim_name.
388
389 2004-09-13  Bud Davis  <bdavis9659@comcast.net>
390
391         PR fortran/17090
392
393         * io/list_read.c (list_formatted_read): Handle trailing spaces
394         at end of line.
395
396 2004-09-06  Steven G. Kargl  <kargls@comcast.net>
397
398         * io/write.c (output_float): Typo in comment.  Remove debugging
399         printf.  Fix format for FP of form 1e10.
400
401 2004-09-03  Richard Henderson  <rth@redhat.com>
402
403         * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
404         copy_loop_double, copy_loop_ldouble): New.
405         (__cshift0): Make shift type ssize_t.  Use % operator instead of
406         div.  Use specialized versions of copy loop depending on the shape.
407
408 2004-09-02  Paul Brook  <paul@codesourcery.com>
409
410         * io/format.c (parse_format_list): Set repeat count for P descriptors.
411         * write.c (output_float): Fix condition.  Correctly handle nonzero
412         scale factor.
413
414 2004-09-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
415
416         * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
417         * mk-srk-inc.sh: Likewise.
418
419 2004-09-01  Paul Brook  <paul@codesourcery.com>
420
421         * runtime/error.c (generate_error): Set both iostat and
422         library_return.
423
424 2004-08-31  Paul Brook  <paul@codesourcery.com>
425
426         PR libfortran/16805
427         * io/list_read.c (next_char): Don't signal EOF for internal files.
428         * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
429
430 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
431
432         * io/unit.c: Separate copyright years by ','.
433         (compare, insert_unit, delete_unit, is_internal_unit, close_units):
434         Remove blank line in beginning of function.
435         (get_unit): Simplify code.
436
437 2004-08-31  Paul Brook  <paul@codesourcery.com>
438
439         * io/unit.c (get_unit): Remove superfluous if.
440
441 2004-08-31  Paul Brook  <paul@codesourcery.com>
442
443         * io/transfer.c (read_sf): Rename uinty to readlen.  Detect EOF.
444         (finalize_transfer): Move setjmp after namlist IO.
445         * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
446
447 2004-08-31  Paul Brook  <paul@codesourcery.com>
448
449         * list_read.c (eat_separator): Set at_eo when a '/' is seen.
450
451 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
452
453         * libgfortran.h: Replace 'gfc_strlen_type' by
454         'gfc_charlen_type'. Update comment accordingly.
455         * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
456         Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
457
458 2004-08-31  Paul Brook  <paul@codesourcery.com>
459
460         * libgfortran.h: Add comments.
461
462 2004-08-30  Richard Henderson  <rth@redhat.com>
463
464         * Makefile.am (gfor_helper_src): Split selected_kind.f90.
465         (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
466         (selected_int_kind.inc selected_real_kind.inc): New rules.
467         * Makefile.in: Regenerate.
468         * mk-sik-inc.sh, mk-srk-inc.sh: New files.
469         * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
470         include table of detected kinds.
471         * intrinsics/selected_real_kind.f90: Similarly.
472
473 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
474         Paul Brook  <paul@codesourcery.com>
475
476         * intrinsics/bessel.c: New file.
477         * intrinsics/erf.c: New file.
478         * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
479         * configure.ac: Test for C99 Bessel and Error functions.
480         * Makefile.in: Regenerate.
481         * config.h.in: Regenerate.
482         * configure: Regenerate.
483
484 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
485         Paul Brook  <paul@codesourcery.com>
486
487         * Makefile.am: Add intrinsics/getXid.c.
488         * configure.ac: Add tests for get{g,p,u}id.
489         * config.h.in: Regenerate.
490         * Makefile.in: Regenerate.
491         * configure: Regenerate.
492
493 2004-08-28  Paul Brook  <paul@codesourcery.com>
494
495         PR libfortran/17195
496         * libgfortran.h (rtoa): Remove prototype.
497         * runtime/error.c (rtoa): Remove.
498         * io/write.c (calculate_G_format): Don't add blanks if E format is
499         used.  Add correct number of blanks when exponent width is specified.
500         (output_float): Rewrite.
501
502 2004-08-27  Paul Brook  <paul@codesourcery.com>
503
504         * io/rewind.c (st_rewind): Reset unit to read mode.
505
506 2004-08-27  Bud Davis  <bdavis9659@comcast.net>
507
508         PR fortran/16597
509         * io/io.h: created typedef for unit_mode.
510         * io/io.h (gfc_unit): added mode to unit structure.
511         * io/transfer.c (data_transfer_init): flush if a write then
512         read is done on a unit (direct access files).
513         * io/rewind.c (st_rewind): Used unit mode instead of global.
514
515 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
516
517         PR fortran/17143        
518         * runtime/error.c (itoa): keep from overflowing during
519         mod operation by using unsigned variable.
520
521 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
522
523         PR fortran/17164
524         * runtime/string_intrinsics.c (string_index):check for
525         substring longer than string.
526
527 2004-08-24  David Edelsohn  <edelsohn@gnu.org>
528
529         * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
530         * Makefile.in: Rebuilt.
531
532 2004-08-23  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
533
534         * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
535         Fix formatting issues, update copyright years.
536
537 2004-08-21  Bud Davis  <bdavis9659@comcast.net>
538
539         PR 16908
540         * io/transfer.c (next_record_w): Do not blank pad.
541         * io/transfer.c (next_record): Take into account partial records.
542
543 2004-08-18  Victor Leikehman  <lei@il.ibm.com>
544
545         PR fortran/13278
546         * io/transfer.c (st_set_nml_var)
547         * io/write.c (namelist_write): Allow var_name and var_name_len to be
548         null. For strings, use string_length field instead of len.
549         * io/io.h (struct namelist_type): New field string_length.
550         (st_set_nml_var_char): New argument string_length.
551
552 2004-08-13  Bud Davis  <bdavis9659@comcast.net>
553
554         PR gfortran/16935
555         * io/open.c (st_open): use flags instead of the unit structure.
556
557 2004-08-10  Victor Leikehman  <lei@il.ibm.com>
558
559         * io/list_read.c (namelist_read): Convert variable names
560         to lower case, so that mixed-case names are recognized.
561         Don't read beyond terminating slash.
562
563 2004-08-09  Richard Henderson  <rth@redhat.com>
564             Roger Sayle  <roger@eyesopen.com>
565
566         * intrinsics/c99_functions.c (nextafterf): New implementation that
567         works correctly with denormalized numbers.
568
569 2004-08-09  Victor Leikehman  <lei@il.ibm.com>
570
571         * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
572         intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
573         Allocate space if return value has NULL in its data field.
574         * generated/*.c: Regenerate.
575
576 2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>
577
578         * intrinsics/env.c: New file.
579         * Makefile.am: Add env.c to build.
580         * Makefile.in: Regenerate.
581
582 2004-08-05  Victor Leikehman  <lei@il.ibm.com>
583
584         PR libgfortran/16704
585         * io/read.c (read_radix): Understand letters f and F as hex digits.
586
587 2004-08-04  Victor Leikehman  <lei@il.ibm.com>
588
589         * libgfortran.h (array_t, size0) New declarations.
590         * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
591         space if return value descriptor has NULL in its data field,
592         and initialize bounds and stride.
593         * intrinsics/size.c (array_t, size0): Declarations moved to
594         libgfortran.h.
595         * generated/*.c: Regenerate.
596
597 2004-08-03  Roger Sayle  <roger@eyesopen.com>
598
599         PR libgfortran/16137
600         * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
601         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
602         scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
603         * config.h.in: Regenerate.
604         * configure: Regenerate.
605
606         * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
607         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
608         nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
609         implementations for targets that don't support C99 float functions.
610
611 2004-08-01  Roger Sayle  <roger@eyesopen.com>
612
613         * io/write.c (write_float): Use the slightly more portable isnan
614         in preference to isinf.
615
616 2004-07-18  Bud Davis  <bdavis9659@comcast.net>
617
618         * configure.ac: Add check for LFS support. 
619         * configure: Regenerate
620
621 2004-07-11  Paul Brook  <paul@codesourcery.com>
622
623         PR fortran/16303
624         * m4/cexp.m4 (carg): Return -pi to pi.
625         * generated/exp_c?.c: Regenerate.
626
627 2004-07-08  Andreas Krebbel  <krebbel1@de.ibm.com>
628
629         PR fortran/16291
630         * libgfortran/io/write.c: (write_float): Added length check.
631         Remove pointless memset calls.
632
633 2004-07-04  Bud Davis  <bdavis9659@comcast.net>
634             Paul Brook  <paul@codesourcery.com>
635
636         PR fortran/15472
637         * io/transfer.c(us_write): set recl for seq unform writes to max size.
638         * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
639         * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at 
640         right time.
641         * io/unix.c(is_seekable): set based upon the file/device, not the
642         method being used to access it (fd or mmap).
643         * io/unix.c(fd_flush): don't set file_size if !seekable.
644         * io/unix.c(fd_truncate: ditto.
645
646 2004-07-04  Janne Blomqvist  <jblomqvi@cc.hut.fi>
647         Paul Brook  <paul@codesourcery.com>
648
649         PR fortran/15280
650         PR fortran/15665
651         * libgfortran.h (gfc_strlen_type): Define.
652         * intrinsics/args.c (getarg): Rename ...
653         (getarg_i4): ... to this.
654         (getarg_i8, get_command_argument_i4, get_command_argument_i8,
655         get_command_i4, get_command_i8): New functions.
656
657 2004-07-04  Matthias Klose  <doko@debian.org>
658
659         * libtool-version: New.
660         * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
661         * Makefile.in: Regenerate.
662         * configure.ac: Remove libtool_VERSION macro
663         * configure: Regenerate
664
665 2004-06-30  Steve Kargl  <sgk@troutmask.apl.washington.edu>
666             Steven Bosscher  <stevenb@suse.de>
667
668         * intrinsics/rand.c (rand): Wrap the irand() call from the previous
669         commit in prefix.
670
671 2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
672         Paul Brook  <paul@codesourcery.com>
673
674         * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
675         comments.
676         * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
677
678 2004-06-27  Bud Davis  <bdavis9659@comcast.net>
679
680         PR gfortran/12839
681         * io/write.c (write_float): check signbit for Infinity.
682
683 2004-06-26  Bud Davis  <bdavis9659@comcast.net>
684
685         PR gfortran/16196
686         * unix.c(regular_file): create file if it does not exist.
687
688 2004-06-24  Andrew Pinski  <apinski@apple.com>
689
690         * configure.ac: Remove check for libmx.
691         * configure: Regenerate.
692
693 2004-06-22  Janne Blomqvist  <jblomqvi@cc.hut.fi>
694
695         PR fortran/15750
696         * inquire.c (st_inquire): Add comment
697         * io.h (st_parameter): Add iolength.
698         (st_iolength, st_iolength_done): Declare.
699         * transfer.c (iolength_transfer, iolength_transfer_init,
700         st_iolength, st_iolength_done): New functions.
701
702 2004-06-21  Steven G. Kargl  <kargls@comcast.net>
703
704         * etime.c (etime_sub): Remove array rank check;
705         Add check for sufficient space.
706
707 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
708
709         PR gfortran/16080
710         * io/list_read.c(set_value): fixed spelling.
711
712 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
713
714         PR gfortran/16080
715         * io/list_read.c(set_value): don't copy if the string is null.
716
717 2004-06-14  Bud Davis  <bdavis9659@comcast.net>
718
719         PR gfortran/15292
720         * intrinsics/c99_functions.c: Use fpclassify if it exists.
721
722 2004-06-13  Paul Brook  <paul@codesourcery.com>
723
724         * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
725         * configure.ac: Add checks for nextafter and nextafterf.
726         * Makefile.in, config.h.in, configure: Regenerate.
727         * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
728         * intrinsics/rand.c (rand): Use normalize_r4_i4.
729         * intrinsics/random.c (random_r4): Use normalize_r4_i4.
730         (random_r8): Use normalize_r8_i8.
731         * runtime/normalize.c: New file.
732
733 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
734             Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
735
736         * random.c: Fix several spelling and formatting mistakes in 
737         comments.
738         (random_r8): Fix loop to make random numbers range in [0,1(.
739         
740
741 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
742
743         * random.c (random_r4): Burn a random number.
744         (random_r8): fix infinite loop.
745         
746 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
747       Steve Kargl  <sgk@troutmask.apl.washington.edu>
748
749         PR gfortran/15292
750         * intrinsics/c99_functions.c: New file.
751         * Makefile.am: Add new file.
752         * configure.ac: Added test for round/roundf.
753         * Makefile.in: Regenerate.
754         * configure: Regenerate.
755         * configure.h.in: Regenerate.
756
757 2004-06-12  Steven G. Kargl  <kargls@comcast.net>
758
759         * Makefile.am: Add rand.c and etime.c
760         * Makefile.in: Regenerated.
761         * aclocal.in: Regenerated.
762         * cpu_time.c (second_sub, second): New functions.
763         * rand.c (irand, rand, srand): New file.
764         * etime.c (etime_sub, etime): New file.
765
766 2004-06-12  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
767             Steven Bosscher  <stevenb@suse.de>
768
769         PR fortran/14923
770         * intrinsics/date_and_time.c: New file.
771         * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
772         * Makefile.in, aclocal.m4: Regenerate.
773         * libgfortran.h: Prototype date_and_time().
774
775 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
776
777         PR fortran/15665
778         * intrinsics/args.c: Implement GETARG and IARGC.
779         * Makefile.am: Add it.
780         * Makefile.in: Regenerate.
781
782 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
783
784         PR gfortran/12839
785         * io/write.c(write_float): Format inf and nan IAW F2003.
786
787 2004-06-09  Bud Davis  <bdavis9659@comcaste.net>
788
789         PR gfortran/14897
790         * io/transfer.c (formatted_transfer): position is unique
791          for T and TL edit descriptors.
792         (data_transfer_init): set record length to size of internal
793          file.
794
795 2004-06-09  Bud Davis  <bdavis9659@comcast.net>
796
797         PR gfortran/15755
798         * io/backspace.c(st_backspace): call correct routine for
799         formatted and un-formatted units.
800
801 2004-05-30  Andreas Jaeger  <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
802
803         PR gfortran/11800
804         * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
805         (lib_LTLIBRARIES): Rename to ...
806         (toolexeclib_LTLIBRARIES): this for multilib support.
807         * configure.in: Rename to ...
808         * configure.ac: this.  Update to modern autoconf style, enable
809         multilibs, support --enable-version-specific-runtime-libs.
810         * Makefile.in: Regenerated.
811         * configure: Regenerated.
812         * aclocal.m4: Regenerated.
813
814 2004-05-30  Steven G. Kargl  <kargls@comcast.net>
815
816         * libgfortran.h (random_seed): Update prototype.
817         * intrinsics/random.c: Disable old implementation and add new one.
818
819 2004-05-30  Andreas Jaeger  <aj@suse.de>
820
821         * intrinsics/random.c: Include unistd.h for close and read
822         prototypes, remove unneeded inclusion of assert.h.
823
824         * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
825         unneeded inclusion of assert.h.
826
827 2004-05-27  Tobias Schlueter  <tobias.shclueter@physik.uni-muenchen.de>
828
829         PR fortran/15234
830         * intrinsics/associated.c: Remove enum.
831         (associated): Replace TRUE/FALSE by 1/0.
832
833 2004-05-23  Steven G. Kargl  <kargls@comcast.net>
834
835         * random.c (random_seed): Use correct variable.
836
837 2004-05-22  Steven G. Kargl  <kargls@comcast.net>
838
839         * intrinsics/system_clock: New file.
840         * Makefile.am: Add intrinsics/system_clock.c.
841         * Makefile.in: Regenerate.
842
843 2004-05-21  Roger Sayle  <roger@eyesopen.com>
844
845         * io/format.c (parse_format_list): Allow the comma after a string
846         literal to be optional.
847
848 2004-05-18  Paul Brook  <paul@codesourcery.com>
849         Feng Wang  <fengwang@nudt.edu.cn>
850
851         * Makefile.am (i_pow_c): Set it. Add build rule.
852         (gfor_built_src): Use it.
853         (m4_files): add m4/pow.m4.
854         * Makefile.in: Regenerate.
855         * m4/pow.m4: New file.
856         * generated/pow_*.c: Regenerate.
857
858 2004-05-18  Paul Brook  <paul@codesourcery.com>
859
860         * Makefile.am: Remove references to types.m4.
861         * m4/iparm.m4: Merge with types.m4.
862         * m4/types.m4: Remove.
863         * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
864         m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
865         m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
866         m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
867         m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
868         m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
869         Update to use new iparm.m4.
870         * generated/*.c: Regenerate.
871
872 2004-05-18  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
873
874         PR fortran/15235
875         * gfortran.h (offset_t): Rename to ...
876         (gfc_offset): ... this.
877         * io/backspace.c (formatted_backspace, unformatted_backspace),
878         io/io.h (stream, gfc_unit, global_t, file_length, file_position),
879         transfer.c (us_read, us_write, next_record_r, next_record_w),
880         io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
881         fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
882         mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
883         mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
884         occurences of offset_t by gfc_offset.
885
886 2004-05-16  Paul Brook  <paul@codesourcery.com>
887
888         * io/format.c (write_real): Don't include padding in format.
889
890 2004-05-16  Paul Brook  <paul@codesourcery.com>
891
892         * io/format.c (format_lex): Make c an int.
893
894 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
895         Paul Brook  <paul@codesourcery.com>
896
897         * io/write.c (write_logical): Don't print extra blank.
898         (write_integer): Base field width on kind.
899         (list_formatted_write): Output initial blank.
900
901 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
902
903         * io/io.h (flush): Add prototype.
904         * io/transfer.c (finalize_transfer): Flush partial records.
905         * io/unix.c (flush): New function.
906
907 2004-05-15  Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
908
909         PR fortran/15234
910         * io/io.h (unit_t): Rename to ...
911         (gfc_unit) ... this.
912         (unit_root, current_unit, find_file, find_unit, get_unit): Now
913         of type gfc_unit.
914         (delete_file, insert_unit, close_unit): Argument now of type
915         gfc_unit.
916         * backspace.c (st_backspace), close.c (st_close), endfile.c
917         (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
918         (test_endfile, edit_modes, new_unit, already_open, st_open),
919         rewind.c (st_rewind), transfer.c (current_unit), unit.c
920         (internal_unit, unit_cache, rotate_left, rotate_right, insert,
921         insert_unit, delete_root, delete_treap, delete_unit, find_unit,
922         get_unit, init_units, close_unit), unix.c (find_file0,
923         find_file, delete_file): Replace all occurences of unit_t by
924         gfc_unit.
925
926 2004-05-15  Bud Davis  <bdavis9659@comcast.net>
927
928         PR fortran/15311
929         * io/write.c (write_a): right justify A edit output.
930
931 2004-05-14  Bud Davis  <bdavis9659@comcast.net>
932
933         PR fortran/15149
934         * libgfortan.h,intrinsics/random.c: Made random_seed visible.
935         * runtime/main.c(init): Call random_seed as part of MAIN init.
936
937 2004-05-13  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>
938
939         * io/format.c: (parse_format_list): No comma is required after
940         P descriptor.
941
942 2004-05-13  Bud Davis  <bdavis9659@comcast.net>
943
944         PR fortran/15204
945         * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
946
947 2004-05-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
948             Steven Bosscher  <stevenb@suse.de>
949
950         PR libfortran/15234
951         * libgfortran.h: Include <inttypes.h> if available.
952
953 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
954
955         * io/unix.c (MAP_FAILED): Define if missing.
956         (mmap_alloc): Cast MAP_FAILED to char *.
957         (mmap_open): Likewise.
958
959 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
960
961         * generated/_abs_i8.f90: New file.
962         * generated/_abs_c4.f90: New file.
963         * generated/_abs_c8.f90: New file.
964         * Makefile.am: Add them.
965         * Makefile.in: Regenerate.
966 `
967 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
968
969         PR fortran/14056
970         * generated/_abs_i4.f90: New file.
971         * Makefile.am: Add it.
972         * Makefile.in: Regenerate.
973
974 2004-04-25  Bud Davis  <bdavis9659@comcast.net>
975
976         PR fortran/14942
977         * io/list_read.c(list_formatted_read): finish consuming the
978         spaces and seperators at eoln to get ready for next item.
979
980 2004-04-23  Bud Davis  <bdavis9659@comcast.net>
981
982         PR fortran/15113
983         * io/read.c(read_a): Handle field width > destination and no field width.
984
985 2004-04-22  Bud Davis  <bdavis9659@comcast.net>
986
987         PR fortran/14906
988         * io/format.c (format_item): gracefully handle a ')'
989         when it is the first character encountered in the string.
990
991 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
992
993         PR fortran/14904
994         * io/transfer.c (next_record): Update last_record when
995         more than one record is written to a direct access file
996         with one write statement.
997
998 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
999
1000         PR fortran/14901
1001         * io/transfer.c (next_record_w) : No '\n' if internal.
1002         * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
1003
1004 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
1005
1006         * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
1007         Will need to change this later to support direct access files > 2gb.
1008
1009 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1010
1011         PR gfortran/14762
1012         * io/transfer.c (next_record_r) : Skip to next record.
1013
1014 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1015
1016         PR gfortran/14836
1017         * io/transfer.c (next_record): Update last_record for DIRECT
1018
1019 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1020
1021         PR gfortran/14837
1022         * io/unix.c (find_file0): Use fd field of struct
1023
1024 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1025
1026         PR 14831
1027         * io/inquire.c (inquire_via_unit): Changed return string for
1028         BLANK=NULL. Use correct variable for ACTION.
1029
1030 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
1031
1032         PR 14746
1033         * io/read.c (read_f): Allow a decimal without a leading digit.
1034         * io/write.c (output_float): remove a leading '0' to keep from
1035         overflowing the field (F edit descriptor).
1036
1037 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
1038
1039         PR gfortran/14565
1040         * io/open.c (new_unit),
1041         * io/io.h : new_unit is now visible
1042         * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
1043         * io/transfer.c (data_transfer_init): remove compile warnings.
1044         * io/rewind.c (st_rewind): ftruncate if writing.
1045
1046 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1047
1048         * write.c (write_l): Use extract_int for 'L' edit descriptor.
1049
1050 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1051
1052         PR 13919
1053         * io/io.h (global_t):
1054         * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
1055           Move eof_jmp to a global structure.
1056         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
1057
1058 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1059
1060         * m4/cexp.m4 (csqrt): Actually use the passed value.
1061         * generated/exp_c?.c: Regenerate.
1062
1063 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1064
1065         PR 12921
1066         * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
1067         * open.c (new_unit): Moved test for positioned direct access error.
1068         (init_units): Corrected calculation of max records.
1069
1070 2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>
1071
1072         * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
1073         * Makefile.in: Regenerate.
1074         * m4/dotprodc.m4: New file. Implement complex dot_product.
1075         * m4/dotprod.m4: Delete the complex implementation.
1076         * generated/dotprod_*: Update.
1077
1078 2004-02-07  Bud Davis  <bdavis9659@comcast.net>
1079
1080         * transfer.c (write_constant_string): Do not delete H's in hollerith
1081         formats.
1082
1083 2004-01-05  Andrew Pinski  <apinski@apple.com>
1084
1085         * configure.in: Check for csin in -lmx also.
1086         * configure: Regenerate.
1087
1088 2004-01-01  Paul Brook  <paul@codesourcery.com>
1089
1090         * io/list_read.c (find_nml_node): Make static.
1091         (match_namelist_name): Ditto.
1092         * io/read.c (convert_precision_real): Make static, fix spelling.
1093         * io/transfer.c (extract_real): Remove unused prototype.
1094         (st_set_nml_var): Make static.
1095         * io/write.c (extract_real): Make static.
1096
1097 2003-12-12  Huang Chun <chunhuang73@hotmal.com>
1098
1099         * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
1100
1101 2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
1102
1103         * io/transfer.c (data_transfer_init): Give a runtime error for list
1104         formatted reads and writes from/to files opened for unformatted IO.
1105
1106 2003-11-30  Paul Brook  <paul@nowt.org>
1107
1108         * runtime/memory.c (push_context): Remove.
1109         (pop_context): Remove.
1110         * libgfortran.h: Remove prototypes.
1111
1112 2003-11-27  Paul Brook  <paul@nowt.org>
1113
1114         * runtime/memory.c (deallocate): Nullify pointer after freeing.
1115
1116 2003-11-27  Paul Brook  <paul@nowt.org>
1117
1118         * intrinsics/string_intrinsics.c: Use new memory allocation interface.
1119         * libgfortran.h: Ditto.
1120         * m4/in_pack.m4: Ditto.
1121         * runtime/in_pack_generic.c: Ditto.
1122         * runtime/memory.c: Ditto.
1123
1124 2003-11-26  Richard Henderson  <rth@redhat.com>
1125
1126         * m4/exponent.m4, m4/fraction.m4: New.
1127         * m4/nearest.m4, m4/set_exponent.m4: New.
1128         * generated/*: Update.
1129         * Makefile.am: Add them.
1130         (AM_CFLAGS): New.  Use -std=gnu99.
1131         * Makefile.in: Regenerate.
1132
1133 2003-11-08  Paul Brook  <paul@nowt.org>
1134
1135         PR fortran/12704
1136         * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
1137         * m4/maxloc1.m4: Ditto.
1138         * m4/minloc0.m4: Ditto.
1139         * m4/minloc1.m4: Ditto.
1140         * m4/ifunction.m4: Set return value for zero sized arrays.
1141         * m4/iforeach.m4: Ditto.
1142         * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
1143         m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
1144         * generated/*: Update.
1145
1146 2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
1147
1148         PR fortran/12702
1149         * io/list_read.c (eat_spaces): Treat tab as space.
1150
1151 2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
1152
1153         * intrinsics/random.c: Add reference to paper containing algorithm.
1154         (random_seed): Extra error checking and proper handling of arrays.
1155         (arandom_r4, arandom_r8): Implement.
1156
1157 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
1158
1159         PR fortran/12703
1160         * runtime/memory.c (allocate_size): Allow allocation
1161         of zero-sized objects.
1162
1163 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
1164
1165         PR fortran/12701
1166         * open.c (new_unit): Open without a file name opens
1167         a file with name fort.<unit>.
1168
1169 2003-10-12  Feng Wang  <wf_cs@yahoo.com>
1170
1171         * intrinsics/cshift0.c: New file.
1172         * m4/cshift1.m4: New file
1173         * generated/cshift*.c: New files.
1174         * Makefile.am: Add them.
1175         * Makefile.in: Regenerate.
1176
1177 2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
1178
1179         * io/list_read.c (read_character): Remove unwanted call to free_saved.
1180
1181 2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
1182
1183         * intrinsics/string_intrinsics.c (string_trim): New function.
1184         (string_repeat): New function.
1185
1186 2003-10-11  Paul Brook  <paul@nowt.org>
1187
1188         * intrinsics/dprod_r8.f90: New file.
1189         * Makefile.am (gfor_specific_src): Add it.
1190         (gfor_built_specific_src): Rename from gfor_build_specific_c.
1191         Add new intrinsics.
1192         (gfor_specific2_src): Rename from gfor_built_specific2_c.
1193         Add new intrinsics.
1194         * Makefile.in: Regenerate.
1195         * generated/_aint_*.f90: New files.
1196         * generated/_anint*.f90: New files.
1197         * generated/_atan2*.f90: New files.
1198         * generated/_mod*.f90: New files.
1199
1200 2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
1201
1202         * intrinsics/selected_kind.f90: New file.
1203         * Makefile.am: Add it.
1204         * Makefile.in: regenerate.
1205
1206 2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
1207         Paul Brook  <paul@nowt.org>
1208
1209         * intrinsics/random.c: New file.
1210         * Makefile.am (gfor_hemper_src): Add it.
1211         (gfor_specific_c): Fix typo.
1212
1213 2003-09-19  Paul Brook  <paul@nowt.org>
1214
1215         * All: rename g95->gfc.
1216
1217 2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
1218
1219         * io/write.c (output_float): Fix bug of FMT_E, Add comments.
1220
1221 2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
1222
1223         * io/write.c (write_float): Dectection of positive infinite number,
1224         Not a Number(NaN) and negative infinite number.
1225         (ioutput_float): Bug fix for FMT_E and FMT_D processing to
1226         output a very_very small number ( < 0.1e-100 ).
1227
1228 2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
1229
1230         * libgfortran.h (xtoa, itoa): Parameter modified.
1231         * io/io.h (namelist_info): Declaration to support namelist I/O
1232         (st_parameter): Add namelist related component
1233         (ionml, empty_internal_buffer, st_set_nml_var_int,
1234         st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
1235         st_set_nml_var_log): Declaration
1236         (set_integer, set_integer): Parameter changed
1237         * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
1238          fnodes
1239         (parse_format_list): Fix bug about FMT_SLASH
1240         * io/list_read.c (push_char): Totally clear old saved_string, zeroize
1241         newly allocated saved_string
1242         (next_char): Add detection of End_Of_Line support
1243         (convert_integer): Now can process 64 bits interger
1244         (read_real): Bug fixed
1245         (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1246         (match_namelist_name): New implemention
1247         * io/lock.c (ionml): New global variable
1248         (library_end): Free memory in ionml
1249         * io/open.c (st_open): Variable initializtion
1250         * io/read.c (max_value): 64 bits interger support
1251         (convert_precsion_real): New procedure to replace "strtod" with more
1252          features
1253         (read_f, read_radix): Input bug fix
1254         * io/transfer.c: (sf_seen_eor): New static variable
1255         (read_sf): Zeroize base buffer; fix bugs: single read statement can
1256         not get input in mutli line when read from stdin
1257         (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1258          request
1259         (data_transfer_init): Clear internal buffer for Internel File I/O.
1260         Internal File now worked. Detect some error condition for namelist.
1261         Some minor bug fix
1262         (next_record_w): Internal file and Namelist I/O support.
1263         (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1264         st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1265         * io/unit.c (implicit_unit): Deletion
1266         (get_unit): Now cannot open a unit implicitly.
1267         * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1268         mapped buffer.
1269         (mem_alloc_r_at): Internal file I/O support added
1270         (empty_internal_buffer): New function
1271         * io/write.c (extract_int): Support 64 bits interger processing
1272         (output_float): Varibale initialization
1273         (write_float): Infinite real number detection.
1274         (write_int): 64 bits integer I/O support
1275         (write_decimal): New function to output decimal number
1276         (otoa, btoa): Better implemention and 64 bits interger support
1277         (namelist_write): New function
1278         * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1279         interger support
1280
1281 2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
1282
1283         * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1284         get_mem ): Add attribute.
1285         * intrinsics/spread_generic.c (__spread): Fix spelling.
1286         * io/inquire.c (inquire_via_filename): Add const.
1287         * io/io.h (sys_exit): Add attribute.
1288         * io/io.h (move_pos_offset): Add move_pos_offset.
1289         * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1290         inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1291         inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1292         write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1293         write_z): Add const.
1294         * io/read.c (convert_real): Add const.
1295         * io/transfer.c (type_name): Add const.
1296         * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1297         inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1298         inquire_read, inquire_write, inquire_readwrite): Add const.
1299         * io/write.c (output_float): Remove unused variable.
1300         * io/write.c (write_a, extract_int, extract_real, output_float,
1301         write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1302         write_e, write_f, write_en, write_es, write_logical, write_integer,
1303         write_character, write_real, write_complex): Add const.
1304         * runtime/error.c (rtoa): Remove unused variable.
1305         * runtime/select.c (select_string): Add const.
1306         * runtime/stop.c (stop_string): Add const.
1307
1308 2003-08-10  Paul Brook  <paul@nowt.org>
1309
1310         * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1311         (FFLAGS): Add -fno-underscoring.
1312         * Makefile.in: Regenerate.
1313         * intrinsics/abort.c: New file.
1314
1315 2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
1316
1317         * fmain.c (main): Do not call init and cleanup; call set_args instead.
1318         * libgfortran.h (init, cleanup): Remove declarations.
1319         (set_args): Add declaration.
1320         * runtime/main.c (init, cleanup): Make them static, and give them
1321         the constructor and destructor attributes.
1322         (set_args): New function.
1323
1324 2003-08-10  Paul Brook  <paul@nowt.org>
1325
1326         * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1327         on which string is longest.
1328
1329 2003-08-10  Paul Brook  <paul@nowt.org>
1330
1331         * Makefile.am (EXTRA_DIST): Remove old files.
1332         * Makefile.in: Regenerate.
1333
1334 2003-07-26  Paul Brook  <paul@nowt.org>
1335
1336         Rename library to libgfortran.
1337         * libgfortran.h: Change prefix to _libgfortran_.
1338
1339 2003-07-24  Paul Brook  <paul@nowt.org>
1340
1341         * configure.in: Don't pull in system libtool.  Use toplevel
1342         auxiliary files.
1343
1344 2003-07-22  Paul Brook  <paul@nowt.org>
1345
1346         Regenerate all configury files.
1347
1348 2003-07-09  Chun Huang  <compiler@sohu.com>
1349
1350         * intrinsics/string_intrinsic.c (string_scan): New function.
1351         (string_verify): New function.
1352
1353 2003-06-25  Paul Brook  <paul@nowt.org>
1354
1355         * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1356         (mem_seek): Don't bother setting physical_offset.
1357
1358 2003-06-20  Paul Brook  <paul@nowt.org>
1359
1360         * libgfor.h (stop_numeric): Declare.
1361         * runtime/pause.c: New file.
1362         * Makefile.am: Add it.
1363
1364 2003-06-08  Paul Brook  <paul@nowt.org>
1365
1366         * m4/cexp.m4 (cabs): Use correct typed version.
1367         (csqrt): New function.
1368
1369 2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
1370
1371         Spotted by Benjamin and Tobias:
1372         * io/list_read.c: Add Separator '\t'.
1373         (parse_real, read_real): Accept real values starting with an optional
1374         sign follows a decimal point.
1375
1376 2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
1377
1378         * Makefile.am: Don't put cmath objects in subdir.
1379         * configure.in: Rename MATHOBJ to MATH_OBJ.
1380
1381 2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
1382
1383         * intrinsics/associated.c: New file.
1384         * Makefile.am: Add it. Regenerate Makefile.in.
1385         * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1386         G95_DESCRIPTOR_DTYPE.
1387
1388 2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
1389
1390         * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1391         (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1392         the scale_factor to 0 for F editing.
1393
1394 2003-05-11  Tobias Schlüter  <innenminister@gmx.de>
1395
1396         * libgfor.h: Only include stdint.h if it exists.
1397
1398 2003-05-07  Paul Brook  <paul@nowt.org>
1399
1400         * libgfor.h: Use stdint.h types.
1401         * intrinsics/ishift.c: Ditto.
1402         * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1403
1404 2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
1405
1406         * libgfor.h (offsetof): Define if nobody else does.
1407         * runtime/memory.c (HEADER_SIZE): Use it.
1408
1409 2003-05-01  Tobias Schlüter  <innenminister@gmx.de>
1410
1411         * configure.in: Require autoconf 2.54.
1412
1413 2003-04-28  Tobias Schlüter  <innenminister@gmx.de>
1414         Paul Brook  <paul@nowt.org>
1415
1416         * intrinsics/reshape_generic.c: Copy the whole element, not just the
1417         first byte.
1418         * m4/transpose.m4: New file.
1419         * Makefile.am: Add them.
1420         Regenerate generated files.
1421
1422 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1423
1424         * io/format.c (parse_format_list): Allow 'X' without integer
1425         prefix.  This is an extension.  Interpretation is '1X'.
1426
1427 2003-04-18  Tobias Schlüter  <Tobias.Schlueter@physik.uni-muenchen.de>
1428
1429         * io/format.c (parse_format_list): Allow '0P'.
1430
1431 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1432
1433         * Makefile.in: Re-regenerate for automake 1.7.3.
1434
1435 2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
1436
1437         Port implementation for CHARACTER SELECT from Andy's tree.
1438         * runtime/select.c: New file
1439         * Makefile.am: Add it.
1440         * Makefile.in: Regenerate.
1441
1442 2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
1443
1444         * io/transfer.c (formatted_transfer): Modified
1445         * io/unix.c (move_pos_offset): New Function.
1446         * io/format.c (parse_format_list): Modified.
1447
1448 2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
1449
1450         * io/write.c (write_float,write_real): New implemention of
1451         FMT_G and default float editing.
1452         (calculate_exp,calculate_G_format,output_float): New Function.
1453         (write_float,write_real,write_logical): Modified
1454         * libgfor.h (default_rtoa): Remove Declaration.
1455         * runtime/error.c (default_rtoa): Remove Function.
1456
1457 2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
1458
1459         Spotted by Yang:
1460         * io/write.c (extract_real): Add missing break statement.
1461
1462 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1463
1464         * cpu_time.c: Make sure we have a definition of HZ.  Don't
1465         rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1466
1467 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1468             Paul Brook  <paul@nowt.org>
1469
1470         * configure.in: Check for process time headers and GETTIMEOFDAY.
1471         * makefile.am: Add intrinsics/cpu_time.c.
1472         * acinclude.m4: New file.
1473         * intrinsics/cpu_time.c: New file.
1474         * m4/dotprodl.m4: Fix typo.
1475         Regenerate generated files.
1476
1477 2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
1478
1479         * io/write.c (extract_real): Ouput floating point value.
1480         (write_float): New Function.
1481         (write_e, write_f, write_en, write_es): Modified
1482         * io/transfer.c (formatted_transfer): Modified.
1483         * libgfor.h (default_rtoa): Declaration.
1484         (rtoa): Declaration.
1485         * runtime/error.c (default_rtoa): New Function.
1486         (rtoa): New Function.
1487
1488 2003-04-05  Paul Brook  <paul@nowt.org>
1489
1490         * intrinsics/spread_generic.c: New file.
1491         * Makefile.am: Add it. Regenerate Makefile.in.
1492
1493 2003-03-29  Paul Brook  <paul@nowt.org>
1494
1495         * intrinsics/pack_generic.c: New file.
1496         * intrinsics/unpack_generic.c: New file.
1497         * Makefile.am: Add them. Regenerate Makefile.in.
1498
1499 2003-03-25  Paul Brook  <paul@nowt.org>
1500
1501         * intrinsics/eoshift0.c: New file.
1502         * intrinsics/eoshift2.c: New file.
1503         * m4/eoshift1.m4: New file.
1504         * m4/eoshift3.m4: New file.
1505         * Makefile.am: Add them.
1506         * in_unpack_generic.c: Initialize src.
1507         Regenerate generated files.
1508
1509 2003-03-14  Paul Brook  <paul@nowt.org>
1510
1511         * m4/shape.m4: Work properly with array temporaries.
1512         * m4/in_pack.m4: Skip redundant checks for array temporaries.
1513         * runtime/in_pack_generic.c: Ditto.
1514
1515 2003-03-12  Paul Brook  <paul@nowt.org>
1516
1517         * m4/shape.m4: Work properly with noncontiguous arrays.
1518
1519 2003-03-08  Paul Brook  <paul@nowt.org>
1520
1521         * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1522         * runtime/in_pack_generic.c: Ditto.
1523
1524 2003-02-08  Paul Brook  <paul@nowt.org>
1525
1526         * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1527         * io/close.c (st_close): Return void.
1528         * io/open.c (st_open): Return void.
1529         * libgfor.h (g95_array_char): Declare.
1530         (internal_malloc_size): Ditto.
1531         (internal_pack*, internal_unpack*): Ditto.
1532         * m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
1533         arrays.
1534         * m4/in_unpack.m4: Include file fixes.
1535         * m4/reshape.m4: Increment the correct source pointer.
1536         * Makefile.am (maxloc): Fix typo.
1537         * runtime/in_pack_generic.c: Call optimized functions. Allocate
1538         storage if neccessary. Fix logic for packed arrays.
1539         * runtime/in_unpack_generic.c: Call optimized functions.
1540         * runtime/main.c: Use runtime_error to report errors.
1541         * memory.c (internal_malloc_size): Make non-static.
1542
1543 2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
1544
1545         * reshape_packed.c, lock.c: Add #include <string.h>.
1546         * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1547         environ.c, error.c, memory.c, string.c: Add const.
1548         * error.c (show_locus): Add void.
1549
1550 2003-02-21  Paul Brook  <paul@nowt.org>
1551
1552         * m4/in_pack.m4: Avoid returning const * parameter.
1553         * Makefile.am: Only regenerate files in maintainer mode.
1554
1555 2003-02-20  Paul Brook  <paul@nowt.org>
1556
1557         Add array repacking support functions.
1558         * m4/in_pack.m4, m4/in_unpack.m4: New files.
1559         * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1560         * Makefile.am: Build them.  Regenerate configury files.
1561         * generated/: New directory for generated files (need to move
1562         everything else there).
1563
1564 2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1565
1566         * m4/cexp.m4: Fix typo.
1567
1568 2003-01-26  Paul Brook  <paul@nowt.org>
1569
1570         * intrinsics/: Add missing generated files.
1571
1572 2003-01-26  Paul Brook  <paul@nowt.org>
1573
1574         * Makefile.am: Put -I before the filename.
1575
1576 2003-01-24  Paul Brook  <paul@nowt.org>
1577
1578         * configure.in: Add AM_MAINTAINER_MODE.
1579
1580 2003-01-23  Paul Brook  <paul@nowt.org>
1581
1582         * configure.in, Makefile.am: Modify to work with unmodified autoconf
1583         and auotmake.
1584         Also regenerate other configury files.
1585
1586 2003-01-21  Paul Brook  <paul@nowt.org>
1587
1588         * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1589
1590 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1591
1592         * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1593         Don't include "alloca.h".
1594
1595 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1596
1597         * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1598         * Makefile.am: Adjust file name.
1599         * Makefile.in: Regenerate.
1600         * gfortypes.h: Kill, include everything in...
1601         * libgfor.h: ...here.  Include config.h
1602         * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1603         intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1604         intrinsics/reshape_packed.c, intrinsics/size.c,
1605         m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1606         for prefix for all functions instead of hardcoded.
1607
1608 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1609
1610         * io/lock.c (library_end): Propagate library return
1611         code.
1612
1613 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1614
1615         Port fixes from Andy's tree:
1616         * io/read.c (read_decimal): Reverse sense of overflow
1617         comparison during integer reads.
1618         * io/format.c (revert): Fix comment.
1619         (next_format): Fix format revision.
1620         * io/unix.c: Fix and simplify mmap version of stream
1621         functions.
1622
1623 2003-01-11  Paul Brook  <paul@nowt.org>
1624
1625         * configure, Makefile.in: Regenerate.
1626
1627 2003-01-11  Paul Brook  <paul@nowt.org>
1628
1629         * runtime/stop.c: Rewrite.
1630
1631 2003-01-08  Paul Brook  <paul@nowt.org>
1632
1633         * configure, Makefile.in: Regenerate.
1634
1635 2003-01-05  Paul Brook  <paul@nowt.org>
1636
1637         * (*.m4) Move to m4/.
1638         * intrinsics/string.c (_gfor_string_index): New Function.
1639
1640 2002-12-29  Paul Brook  <paul@nowt.org>
1641
1642         * intrinsics/reshape.*: New files.
1643         * gcc_config.patch: Update to new GCC configure system.
1644
1645 2002-10-10  Paul Brook  <paul@nowt.org>
1646
1647         * intrinsics/size.c: New file.
1648         * intrinsics/shape.m4: New file.
1649         * Makefile.am: Add above files.
1650
1651 2002-10-02  Paul Brook  <paul@nowt.org>
1652
1653         * fmain.c (main): Move here.
1654         * libgfor.c: From here.
1655         * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1656         * Makefile.am: Build libgforbegin.
1657         * gcc_config.patch: Remove stray -march=athlon.
1658         * dotprodl.m4: Fix use of L8_TO_L4 macro.
1659         * ifunction.m4: Move variable declarations to allow compilation with
1660         gcc < 3.0
1661         * specific.m4, specific4.m4: Fix typo typecode->type_code.
1662         * README: Document use of patch -p1.
1663
1664 2002-09-12  Paul Brook  <paul@nowt.org>
1665
1666         * math/*: Add complex math library functions.
1667         * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1668         * Makefile.am: Add details for above.
1669         * configure.in: Use AC_PROG_F95.  Test for the presence of csin.
1670
1671 2002-09-09  Paul Brook  <paul@nowt.org>
1672
1673         * libgfor.c (determine_endianness): Use an array rather than a struct.
1674         * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1675
1676 2002-09-09  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1677
1678         * libgfor.c: Add fatal signal handler.
1679         Romove superfluous abort() calls.
1680
1681 2002-09-07  Paul Brook <paul@nowt.org>
1682
1683         * Makefile.am, intrinsics: Major rewrite.
1684
1685 2002-09-02  Paul Brook <paul@nowt.org>
1686
1687         * Makefile.am: Added -I$(srcdir) to m4 rule.
1688
1689 2002-08-30  Paul Brook <paul@nowt.org>
1690
1691         * io/*: Integrated libgforio.
1692         * Makefile.am, configure.in: Make compatable with GCC. Build code for
1693         intrinsics in the intrisics directory.
1694         * intrinsics/intrinsics.m4: Move here. Strip directories from the
1695         filename. Add 'and' and 'all' intrinsics.
1696
1697 2002-08-17  Paul Brook <paul@nowt.org>
1698
1699         * ALL: First release as more than just a single file