OSDN Git Service

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