OSDN Git Service

49af8438bf21412a4513ca9be8e6cea2a593acc2
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2004-08-31  Paul Brook  <paul@codesourcery.com>
2
3         * libgfortran.h: Add comments.
4
5 2004-08-30  Richard Henderson  <rth@redhat.com>
6
7         * Makefile.am (gfor_helper_src): Split selected_kind.f90.
8         (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
9         (selected_int_kind.inc selected_real_kind.inc): New rules.
10         * Makefile.in: Regenerate.
11         * mk-sik-inc.sh, mk-srk-inc.sh: New files.
12         * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
13         include table of detected kinds.
14         * intrinsics/selected_real_kind.f90: Similarly.
15
16 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
17         Paul Brook  <paul@codesourcery.com>
18
19         * intrinsics/bessel.c: New file.
20         * intrinsics/erf.c: New file.
21         * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
22         * configure.ac: Test for C99 Bessel and Error functions.
23         * Makefile.in: Regenerate.
24         * config.h.in: Regenerate.
25         * configure: Regenerate.
26
27 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
28         Paul Brook  <paul@codesourcery.com>
29
30         * Makefile.am: Add intrinsics/getXid.c.
31         * configure.ac: Add tests for get{g,p,u}id.
32         * config.h.in: Regenerate.
33         * Makefile.in: Regenerate.
34         * configure: Regenerate.
35
36 2004-08-28  Paul Brook  <paul@codesourcery.com>
37
38         PR libfortran/17195
39         * libgfortran.h (rtoa): Remove prototype.
40         * runtime/error.c (rtoa): Remove.
41         * io/write.c (calculate_G_format): Don't add blanks if E format is
42         used.  Add correct number of blanks when exponent width is specified.
43         (output_float): Rewrite.
44
45 2004-08-27  Paul Brook  <paul@codesourcery.com>
46
47         * io/rewind.c (st_rewind): Reset unit to read mode.
48
49 2004-08-27  Bud Davis  <bdavis9659@comcast.net>
50
51         PR fortran/16597
52         * io/io.h: created typedef for unit_mode.
53         * io/io.h (gfc_unit): added mode to unit structure.
54         * io/transfer.c (data_transfer_init): flush if a write then
55         read is done on a unit (direct access files).
56         * io/rewind.c (st_rewind): Used unit mode instead of global.
57
58 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
59
60         PR fortran/17143        
61         * runtime/error.c (itoa): keep from overflowing during
62         mod operation by using unsigned variable.
63
64 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
65
66         PR fortran/17164
67         * runtime/string_intrinsics.c (string_index):check for
68         substring longer than string.
69
70 2004-08-24  David Edelsohn  <edelsohn@gnu.org>
71
72         * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
73         * Makefile.in: Rebuilt.
74
75 2004-08-23  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
76
77         * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
78         Fix formatting issues, update copyright years.
79
80 2004-08-21  Bud Davis  <bdavis9659@comcast.net>
81
82         PR 16908
83         * io/transfer.c (next_record_w): Do not blank pad.
84         * io/transfer.c (next_record): Take into account partial records.
85
86 2004-08-18  Victor Leikehman  <lei@il.ibm.com>
87
88         PR fortran/13278
89         * io/transfer.c (st_set_nml_var)
90         * io/write.c (namelist_write): Allow var_name and var_name_len to be
91         null. For strings, use string_length field instead of len.
92         * io/io.h (struct namelist_type): New field string_length.
93         (st_set_nml_var_char): New argument string_length.
94
95 2004-08-13  Bud Davis  <bdavis9659@comcast.net>
96
97         PR gfortran/16935
98         * io/open.c (st_open): use flags instead of the unit structure.
99
100 2004-08-10  Victor Leikehman  <lei@il.ibm.com>
101
102         * io/list_read.c (namelist_read): Convert variable names
103         to lower case, so that mixed-case names are recognized.
104         Don't read beyond terminating slash.
105
106 2004-08-09  Richard Henderson  <rth@redhat.com>
107             Roger Sayle  <roger@eyesopen.com>
108
109         * intrinsics/c99_functions.c (nextafterf): New implementation that
110         works correctly with denormalized numbers.
111
112 2004-08-09  Victor Leikehman  <lei@il.ibm.com>
113
114         * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
115         intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
116         Allocate space if return value has NULL in its data field.
117         * generated/*.c: Regenerate.
118
119 2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>
120
121         * intrinsics/env.c: New file.
122         * Makefile.am: Add env.c to build.
123         * Makefile.in: Regenerate.
124
125 2004-08-05  Victor Leikehman  <lei@il.ibm.com>
126
127         PR libgfortran/16704
128         * io/read.c (read_radix): Understand letters f and F as hex digits.
129
130 2004-08-04  Victor Leikehman  <lei@il.ibm.com>
131
132         * libgfortran.h (array_t, size0) New declarations.
133         * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
134         space if return value descriptor has NULL in its data field,
135         and initialize bounds and stride.
136         * intrinsics/size.c (array_t, size0): Declarations moved to
137         libgfortran.h.
138         * generated/*.c: Regenerate.
139
140 2004-08-03  Roger Sayle  <roger@eyesopen.com>
141
142         PR libgfortran/16137
143         * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
144         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
145         scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
146         * config.h.in: Regenerate.
147         * configure: Regenerate.
148
149         * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
150         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
151         nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
152         implementations for targets that don't support C99 float functions.
153
154 2004-08-01  Roger Sayle  <roger@eyesopen.com>
155
156         * io/write.c (write_float): Use the slightly more portable isnan
157         in preference to isinf.
158
159 2004-07-18  Bud Davis  <bdavis9659@comcast.net>
160
161         * configure.ac: Add check for LFS support. 
162         * configure: Regenerate
163
164 2004-07-11  Paul Brook  <paul@codesourcery.com>
165
166         PR fortran/16303
167         * m4/cexp.m4 (carg): Return -pi to pi.
168         * generated/exp_c?.c: Regenerate.
169
170 2004-07-08  Andreas Krebbel  <krebbel1@de.ibm.com>
171
172         PR fortran/16291
173         * libgfortran/io/write.c: (write_float): Added length check.
174         Remove pointless memset calls.
175
176 2004-07-04  Bud Davis  <bdavis9659@comcast.net>
177             Paul Brook  <paul@codesourcery.com>
178
179         PR fortran/15472
180         * io/transfer.c(us_write): set recl for seq unform writes to max size.
181         * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
182         * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at 
183         right time.
184         * io/unix.c(is_seekable): set based upon the file/device, not the
185         method being used to access it (fd or mmap).
186         * io/unix.c(fd_flush): don't set file_size if !seekable.
187         * io/unix.c(fd_truncate: ditto.
188
189 2004-07-04  Janne Blomqvist  <jblomqvi@cc.hut.fi>
190         Paul Brook  <paul@codesourcery.com>
191
192         PR fortran/15280
193         PR fortran/15665
194         * libgfortran.h (gfc_strlen_type): Define.
195         * intrinsics/args.c (getarg): Rename ...
196         (getarg_i4): ... to this.
197         (getarg_i8, get_command_argument_i4, get_command_argument_i8,
198         get_command_i4, get_command_i8): New functions.
199
200 2004-07-04  Matthias Klose  <doko@debian.org>
201
202         * libtool-version: New.
203         * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
204         * Makefile.in: Regenerate.
205         * configure.ac: Remove libtool_VERSION macro
206         * configure: Regenerate
207
208 2004-06-30  Steve Kargl  <sgk@troutmask.apl.washington.edu>
209             Steven Bosscher  <stevenb@suse.de>
210
211         * intrinsics/rand.c (rand): Wrap the irand() call from the previous
212         commit in prefix.
213
214 2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
215         Paul Brook  <paul@codesourcery.com>
216
217         * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
218         comments.
219         * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
220
221 2004-06-27  Bud Davis  <bdavis9659@comcast.net>
222
223         PR gfortran/12839
224         * io/write.c (write_float): check signbit for Infinity.
225
226 2004-06-26  Bud Davis  <bdavis9659@comcast.net>
227
228         PR gfortran/16196
229         * unix.c(regular_file): create file if it does not exist.
230
231 2004-06-24  Andrew Pinski  <apinski@apple.com>
232
233         * configure.ac: Remove check for libmx.
234         * configure: Regenerate.
235
236 2004-06-22  Janne Blomqvist  <jblomqvi@cc.hut.fi>
237
238         PR fortran/15750
239         * inquire.c (st_inquire): Add comment
240         * io.h (st_parameter): Add iolength.
241         (st_iolength, st_iolength_done): Declare.
242         * transfer.c (iolength_transfer, iolength_transfer_init,
243         st_iolength, st_iolength_done): New functions.
244
245 2004-06-21  Steven G. Kargl  <kargls@comcast.net>
246
247         * etime.c (etime_sub): Remove array rank check;
248         Add check for sufficient space.
249
250 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
251
252         PR gfortran/16080
253         * io/list_read.c(set_value): fixed spelling.
254
255 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
256
257         PR gfortran/16080
258         * io/list_read.c(set_value): don't copy if the string is null.
259
260 2004-06-14  Bud Davis  <bdavis9659@comcast.net>
261
262         PR gfortran/15292
263         * intrinsics/c99_functions.c: Use fpclassify if it exists.
264
265 2004-06-13  Paul Brook  <paul@codesourcery.com>
266
267         * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
268         * configure.ac: Add checks for nextafter and nextafterf.
269         * Makefile.in, config.h.in, configure: Regenerate.
270         * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
271         * intrinsics/rand.c (rand): Use normalize_r4_i4.
272         * intrinsics/random.c (random_r4): Use normalize_r4_i4.
273         (random_r8): Use normalize_r8_i8.
274         * runtime/normalize.c: New file.
275
276 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
277             Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
278
279         * random.c: Fix several spelling and formatting mistakes in 
280         comments.
281         (random_r8): Fix loop to make random numbers range in [0,1(.
282         
283
284 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
285
286         * random.c (random_r4): Burn a random number.
287         (random_r8): fix infinite loop.
288         
289 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
290       Steve Kargl  <sgk@troutmask.apl.washington.edu>
291
292         PR gfortran/15292
293         * intrinsics/c99_functions.c: New file.
294         * Makefile.am: Add new file.
295         * configure.ac: Added test for round/roundf.
296         * Makefile.in: Regenerate.
297         * configure: Regenerate.
298         * configure.h.in: Regenerate.
299
300 2004-06-12  Steven G. Kargl  <kargls@comcast.net>
301
302         * Makefile.am: Add rand.c and etime.c
303         * Makefile.in: Regenerated.
304         * aclocal.in: Regenerated.
305         * cpu_time.c (second_sub, second): New functions.
306         * rand.c (irand, rand, srand): New file.
307         * etime.c (etime_sub, etime): New file.
308
309 2004-06-12  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
310             Steven Bosscher  <stevenb@suse.de>
311
312         PR fortran/14923
313         * intrinsics/date_and_time.c: New file.
314         * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
315         * Makefile.in, aclocal.m4: Regenerate.
316         * libgfortran.h: Prototype date_and_time().
317
318 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
319
320         PR fortran/15665
321         * intrinsics/args.c: Implement GETARG and IARGC.
322         * Makefile.am: Add it.
323         * Makefile.in: Regenerate.
324
325 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
326
327         PR gfortran/12839
328         * io/write.c(write_float): Format inf and nan IAW F2003.
329
330 2004-06-09  Bud Davis  <bdavis9659@comcaste.net>
331
332         PR gfortran/14897
333         * io/transfer.c (formatted_transfer): position is unique
334          for T and TL edit descriptors.
335         (data_transfer_init): set record length to size of internal
336          file.
337
338 2004-06-09  Bud Davis  <bdavis9659@comcast.net>
339
340         PR gfortran/15755
341         * io/backspace.c(st_backspace): call correct routine for
342         formatted and un-formatted units.
343
344 2004-05-30  Andreas Jaeger  <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
345
346         PR gfortran/11800
347         * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
348         (lib_LTLIBRARIES): Rename to ...
349         (toolexeclib_LTLIBRARIES): this for multilib support.
350         * configure.in: Rename to ...
351         * configure.ac: this.  Update to modern autoconf style, enable
352         multilibs, support --enable-version-specific-runtime-libs.
353         * Makefile.in: Regenerated.
354         * configure: Regenerated.
355         * aclocal.m4: Regenerated.
356
357 2004-05-30  Steven G. Kargl  <kargls@comcast.net>
358
359         * libgfortran.h (random_seed): Update prototype.
360         * intrinsics/random.c: Disable old implementation and add new one.
361
362 2004-05-30  Andreas Jaeger  <aj@suse.de>
363
364         * intrinsics/random.c: Include unistd.h for close and read
365         prototypes, remove unneeded inclusion of assert.h.
366
367         * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
368         unneeded inclusion of assert.h.
369
370 2004-05-27  Tobias Schlueter  <tobias.shclueter@physik.uni-muenchen.de>
371
372         PR fortran/15234
373         * intrinsics/associated.c: Remove enum.
374         (associated): Replace TRUE/FALSE by 1/0.
375
376 2004-05-23  Steven G. Kargl  <kargls@comcast.net>
377
378         * random.c (random_seed): Use correct variable.
379
380 2004-05-22  Steven G. Kargl  <kargls@comcast.net>
381
382         * intrinsics/system_clock: New file.
383         * Makefile.am: Add intrinsics/system_clock.c.
384         * Makefile.in: Regenerate.
385
386 2004-05-21  Roger Sayle  <roger@eyesopen.com>
387
388         * io/format.c (parse_format_list): Allow the comma after a string
389         literal to be optional.
390
391 2004-05-18  Paul Brook  <paul@codesourcery.com>
392         Feng Wang  <fengwang@nudt.edu.cn>
393
394         * Makefile.am (i_pow_c): Set it. Add build rule.
395         (gfor_built_src): Use it.
396         (m4_files): add m4/pow.m4.
397         * Makefile.in: Regenerate.
398         * m4/pow.m4: New file.
399         * generated/pow_*.c: Regenerate.
400
401 2004-05-18  Paul Brook  <paul@codesourcery.com>
402
403         * Makefile.am: Remove references to types.m4.
404         * m4/iparm.m4: Merge with types.m4.
405         * m4/types.m4: Remove.
406         * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
407         m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
408         m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
409         m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
410         m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
411         m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
412         Update to use new iparm.m4.
413         * generated/*.c: Regenerate.
414
415 2004-05-18  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
416
417         PR fortran/15235
418         * gfortran.h (offset_t): Rename to ...
419         (gfc_offset): ... this.
420         * io/backspace.c (formatted_backspace, unformatted_backspace),
421         io/io.h (stream, gfc_unit, global_t, file_length, file_position),
422         transfer.c (us_read, us_write, next_record_r, next_record_w),
423         io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
424         fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
425         mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
426         mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
427         occurences of offset_t by gfc_offset.
428
429 2004-05-16  Paul Brook  <paul@codesourcery.com>
430
431         * io/format.c (write_real): Don't include padding in format.
432
433 2004-05-16  Paul Brook  <paul@codesourcery.com>
434
435         * io/format.c (format_lex): Make c an int.
436
437 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
438         Paul Brook  <paul@codesourcery.com>
439
440         * io/write.c (write_logical): Don't print extra blank.
441         (write_integer): Base field width on kind.
442         (list_formatted_write): Output initial blank.
443
444 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
445
446         * io/io.h (flush): Add prototype.
447         * io/transfer.c (finalize_transfer): Flush partial records.
448         * io/unix.c (flush): New function.
449
450 2004-05-15  Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
451
452         PR fortran/15234
453         * io/io.h (unit_t): Rename to ...
454         (gfc_unit) ... this.
455         (unit_root, current_unit, find_file, find_unit, get_unit): Now
456         of type gfc_unit.
457         (delete_file, insert_unit, close_unit): Argument now of type
458         gfc_unit.
459         * backspace.c (st_backspace), close.c (st_close), endfile.c
460         (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
461         (test_endfile, edit_modes, new_unit, already_open, st_open),
462         rewind.c (st_rewind), transfer.c (current_unit), unit.c
463         (internal_unit, unit_cache, rotate_left, rotate_right, insert,
464         insert_unit, delete_root, delete_treap, delete_unit, find_unit,
465         get_unit, init_units, close_unit), unix.c (find_file0,
466         find_file, delete_file): Replace all occurences of unit_t by
467         gfc_unit.
468
469 2004-05-15  Bud Davis  <bdavis9659@comcast.net>
470
471         PR fortran/15311
472         * io/write.c (write_a): right justify A edit output.
473
474 2004-05-14  Bud Davis  <bdavis9659@comcast.net>
475
476         PR fortran/15149
477         * libgfortan.h,intrinsics/random.c: Made random_seed visible.
478         * runtime/main.c(init): Call random_seed as part of MAIN init.
479
480 2004-05-13  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>
481
482         * io/format.c: (parse_format_list): No comma is required after
483         P descriptor.
484
485 2004-05-13  Bud Davis  <bdavis9659@comcast.net>
486
487         PR fortran/15204
488         * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
489
490 2004-05-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
491             Steven Bosscher  <stevenb@suse.de>
492
493         PR libfortran/15234
494         * libgfortran.h: Include <inttypes.h> if available.
495
496 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
497
498         * io/unix.c (MAP_FAILED): Define if missing.
499         (mmap_alloc): Cast MAP_FAILED to char *.
500         (mmap_open): Likewise.
501
502 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
503
504         * generated/_abs_i8.f90: New file.
505         * generated/_abs_c4.f90: New file.
506         * generated/_abs_c8.f90: New file.
507         * Makefile.am: Add them.
508         * Makefile.in: Regenerate.
509 `
510 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
511
512         PR fortran/14056
513         * generated/_abs_i4.f90: New file.
514         * Makefile.am: Add it.
515         * Makefile.in: Regenerate.
516
517 2004-04-25  Bud Davis  <bdavis9659@comcast.net>
518
519         PR fortran/14942
520         * io/list_read.c(list_formatted_read): finish consuming the
521         spaces and seperators at eoln to get ready for next item.
522
523 2004-04-23  Bud Davis  <bdavis9659@comcast.net>
524
525         PR fortran/15113
526         * io/read.c(read_a): Handle field width > destination and no field width.
527
528 2004-04-22  Bud Davis  <bdavis9659@comcast.net>
529
530         PR fortran/14906
531         * io/format.c (format_item): gracefully handle a ')'
532         when it is the first character encountered in the string.
533
534 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
535
536         PR fortran/14904
537         * io/transfer.c (next_record): Update last_record when
538         more than one record is written to a direct access file
539         with one write statement.
540
541 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
542
543         PR fortran/14901
544         * io/transfer.c (next_record_w) : No '\n' if internal.
545         * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
546
547 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
548
549         * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
550         Will need to change this later to support direct access files > 2gb.
551
552 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
553
554         PR gfortran/14762
555         * io/transfer.c (next_record_r) : Skip to next record.
556
557 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
558
559         PR gfortran/14836
560         * io/transfer.c (next_record): Update last_record for DIRECT
561
562 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
563
564         PR gfortran/14837
565         * io/unix.c (find_file0): Use fd field of struct
566
567 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
568
569         PR 14831
570         * io/inquire.c (inquire_via_unit): Changed return string for
571         BLANK=NULL. Use correct variable for ACTION.
572
573 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
574
575         PR 14746
576         * io/read.c (read_f): Allow a decimal without a leading digit.
577         * io/write.c (output_float): remove a leading '0' to keep from
578         overflowing the field (F edit descriptor).
579
580 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
581
582         PR gfortran/14565
583         * io/open.c (new_unit),
584         * io/io.h : new_unit is now visible
585         * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
586         * io/transfer.c (data_transfer_init): remove compile warnings.
587         * io/rewind.c (st_rewind): ftruncate if writing.
588
589 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
590
591         * write.c (write_l): Use extract_int for 'L' edit descriptor.
592
593 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
594
595         PR 13919
596         * io/io.h (global_t):
597         * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
598           Move eof_jmp to a global structure.
599         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
600
601 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
602
603         * m4/cexp.m4 (csqrt): Actually use the passed value.
604         * generated/exp_c?.c: Regenerate.
605
606 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
607
608         PR 12921
609         * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
610         * open.c (new_unit): Moved test for positioned direct access error.
611         (init_units): Corrected calculation of max records.
612
613 2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>
614
615         * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
616         * Makefile.in: Regenerate.
617         * m4/dotprodc.m4: New file. Implement complex dot_product.
618         * m4/dotprod.m4: Delete the complex implementation.
619         * generated/dotprod_*: Update.
620
621 2004-02-07  Bud Davis  <bdavis9659@comcast.net>
622
623         * transfer.c (write_constant_string): Do not delete H's in hollerith
624         formats.
625
626 2004-01-05  Andrew Pinski  <apinski@apple.com>
627
628         * configure.in: Check for csin in -lmx also.
629         * configure: Regenerate.
630
631 2004-01-01  Paul Brook  <paul@codesourcery.com>
632
633         * io/list_read.c (find_nml_node): Make static.
634         (match_namelist_name): Ditto.
635         * io/read.c (convert_precision_real): Make static, fix spelling.
636         * io/transfer.c (extract_real): Remove unused prototype.
637         (st_set_nml_var): Make static.
638         * io/write.c (extract_real): Make static.
639
640 2003-12-12  Huang Chun <chunhuang73@hotmal.com>
641
642         * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
643
644 2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
645
646         * io/transfer.c (data_transfer_init): Give a runtime error for list
647         formatted reads and writes from/to files opened for unformatted IO.
648
649 2003-11-30  Paul Brook  <paul@nowt.org>
650
651         * runtime/memory.c (push_context): Remove.
652         (pop_context): Remove.
653         * libgfortran.h: Remove prototypes.
654
655 2003-11-27  Paul Brook  <paul@nowt.org>
656
657         * runtime/memory.c (deallocate): Nullify pointer after freeing.
658
659 2003-11-27  Paul Brook  <paul@nowt.org>
660
661         * intrinsics/string_intrinsics.c: Use new memory allocation interface.
662         * libgfortran.h: Ditto.
663         * m4/in_pack.m4: Ditto.
664         * runtime/in_pack_generic.c: Ditto.
665         * runtime/memory.c: Ditto.
666
667 2003-11-26  Richard Henderson  <rth@redhat.com>
668
669         * m4/exponent.m4, m4/fraction.m4: New.
670         * m4/nearest.m4, m4/set_exponent.m4: New.
671         * generated/*: Update.
672         * Makefile.am: Add them.
673         (AM_CFLAGS): New.  Use -std=gnu99.
674         * Makefile.in: Regenerate.
675
676 2003-11-08  Paul Brook  <paul@nowt.org>
677
678         PR fortran/12704
679         * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
680         * m4/maxloc1.m4: Ditto.
681         * m4/minloc0.m4: Ditto.
682         * m4/minloc1.m4: Ditto.
683         * m4/ifunction.m4: Set return value for zero sized arrays.
684         * m4/iforeach.m4: Ditto.
685         * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
686         m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
687         * generated/*: Update.
688
689 2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
690
691         PR fortran/12702
692         * io/list_read.c (eat_spaces): Treat tab as space.
693
694 2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
695
696         * intrinsics/random.c: Add reference to paper containing algorithm.
697         (random_seed): Extra error checking and proper handling of arrays.
698         (arandom_r4, arandom_r8): Implement.
699
700 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
701
702         PR fortran/12703
703         * runtime/memory.c (allocate_size): Allow allocation
704         of zero-sized objects.
705
706 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
707
708         PR fortran/12701
709         * open.c (new_unit): Open without a file name opens
710         a file with name fort.<unit>.
711
712 2003-10-12  Feng Wang  <wf_cs@yahoo.com>
713
714         * intrinsics/cshift0.c: New file.
715         * m4/cshift1.m4: New file
716         * generated/cshift*.c: New files.
717         * Makefile.am: Add them.
718         * Makefile.in: Regenerate.
719
720 2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
721
722         * io/list_read.c (read_character): Remove unwanted call to free_saved.
723
724 2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
725
726         * intrinsics/string_intrinsics.c (string_trim): New function.
727         (string_repeat): New function.
728
729 2003-10-11  Paul Brook  <paul@nowt.org>
730
731         * intrinsics/dprod_r8.f90: New file.
732         * Makefile.am (gfor_specific_src): Add it.
733         (gfor_built_specific_src): Rename from gfor_build_specific_c.
734         Add new intrinsics.
735         (gfor_specific2_src): Rename from gfor_built_specific2_c.
736         Add new intrinsics.
737         * Makefile.in: Regenerate.
738         * generated/_aint_*.f90: New files.
739         * generated/_anint*.f90: New files.
740         * generated/_atan2*.f90: New files.
741         * generated/_mod*.f90: New files.
742
743 2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
744
745         * intrinsics/selected_kind.f90: New file.
746         * Makefile.am: Add it.
747         * Makefile.in: regenerate.
748
749 2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
750         Paul Brook  <paul@nowt.org>
751
752         * intrinsics/random.c: New file.
753         * Makefile.am (gfor_hemper_src): Add it.
754         (gfor_specific_c): Fix typo.
755
756 2003-09-19  Paul Brook  <paul@nowt.org>
757
758         * All: rename g95->gfc.
759
760 2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
761
762         * io/write.c (output_float): Fix bug of FMT_E, Add comments.
763
764 2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
765
766         * io/write.c (write_float): Dectection of positive infinite number,
767         Not a Number(NaN) and negative infinite number.
768         (ioutput_float): Bug fix for FMT_E and FMT_D processing to
769         output a very_very small number ( < 0.1e-100 ).
770
771 2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
772
773         * libgfortran.h (xtoa, itoa): Parameter modified.
774         * io/io.h (namelist_info): Declaration to support namelist I/O
775         (st_parameter): Add namelist related component
776         (ionml, empty_internal_buffer, st_set_nml_var_int,
777         st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
778         st_set_nml_var_log): Declaration
779         (set_integer, set_integer): Parameter changed
780         * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
781          fnodes
782         (parse_format_list): Fix bug about FMT_SLASH
783         * io/list_read.c (push_char): Totally clear old saved_string, zeroize
784         newly allocated saved_string
785         (next_char): Add detection of End_Of_Line support
786         (convert_integer): Now can process 64 bits interger
787         (read_real): Bug fixed
788         (init_at_eol, find_nml_node, match_namelist_name): Add new functions
789         (match_namelist_name): New implemention
790         * io/lock.c (ionml): New global variable
791         (library_end): Free memory in ionml
792         * io/open.c (st_open): Variable initializtion
793         * io/read.c (max_value): 64 bits interger support
794         (convert_precsion_real): New procedure to replace "strtod" with more
795          features
796         (read_f, read_radix): Input bug fix
797         * io/transfer.c: (sf_seen_eor): New static variable
798         (read_sf): Zeroize base buffer; fix bugs: single read statement can
799         not get input in mutli line when read from stdin
800         (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
801          request
802         (data_transfer_init): Clear internal buffer for Internel File I/O.
803         Internal File now worked. Detect some error condition for namelist.
804         Some minor bug fix
805         (next_record_w): Internal file and Namelist I/O support.
806         (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
807         st_set_nml_var_complex, st_set_nml_var_log): Implemention.
808         * io/unit.c (implicit_unit): Deletion
809         (get_unit): Now cannot open a unit implicitly.
810         * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
811         mapped buffer.
812         (mem_alloc_r_at): Internal file I/O support added
813         (empty_internal_buffer): New function
814         * io/write.c (extract_int): Support 64 bits interger processing
815         (output_float): Varibale initialization
816         (write_float): Infinite real number detection.
817         (write_int): 64 bits integer I/O support
818         (write_decimal): New function to output decimal number
819         (otoa, btoa): Better implemention and 64 bits interger support
820         (namelist_write): New function
821         * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
822         interger support
823
824 2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
825
826         * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
827         get_mem ): Add attribute.
828         * intrinsics/spread_generic.c (__spread): Fix spelling.
829         * io/inquire.c (inquire_via_filename): Add const.
830         * io/io.h (sys_exit): Add attribute.
831         * io/io.h (move_pos_offset): Add move_pos_offset.
832         * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
833         inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
834         inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
835         write_en, write_es, write_f, write_i, write_l, write_o, write_x,
836         write_z): Add const.
837         * io/read.c (convert_real): Add const.
838         * io/transfer.c (type_name): Add const.
839         * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
840         inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
841         inquire_read, inquire_write, inquire_readwrite): Add const.
842         * io/write.c (output_float): Remove unused variable.
843         * io/write.c (write_a, extract_int, extract_real, output_float,
844         write_float, write_int, write_i, write_b, write_o, write_z, write_d,
845         write_e, write_f, write_en, write_es, write_logical, write_integer,
846         write_character, write_real, write_complex): Add const.
847         * runtime/error.c (rtoa): Remove unused variable.
848         * runtime/select.c (select_string): Add const.
849         * runtime/stop.c (stop_string): Add const.
850
851 2003-08-10  Paul Brook  <paul@nowt.org>
852
853         * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
854         (FFLAGS): Add -fno-underscoring.
855         * Makefile.in: Regenerate.
856         * intrinsics/abort.c: New file.
857
858 2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
859
860         * fmain.c (main): Do not call init and cleanup; call set_args instead.
861         * libgfortran.h (init, cleanup): Remove declarations.
862         (set_args): Add declaration.
863         * runtime/main.c (init, cleanup): Make them static, and give them
864         the constructor and destructor attributes.
865         (set_args): New function.
866
867 2003-08-10  Paul Brook  <paul@nowt.org>
868
869         * intrinsics/strinf_intrinsics.c (compare_string): Return value based
870         on which string is longest.
871
872 2003-08-10  Paul Brook  <paul@nowt.org>
873
874         * Makefile.am (EXTRA_DIST): Remove old files.
875         * Makefile.in: Regenerate.
876
877 2003-07-26  Paul Brook  <paul@nowt.org>
878
879         Rename library to libgfortran.
880         * libgfortran.h: Change prefix to _libgfortran_.
881
882 2003-07-24  Paul Brook  <paul@nowt.org>
883
884         * configure.in: Don't pull in system libtool.  Use toplevel
885         auxiliary files.
886
887 2003-07-22  Paul Brook  <paul@nowt.org>
888
889         Regenerate all configury files.
890
891 2003-07-09  Chun Huang  <compiler@sohu.com>
892
893         * intrinsics/string_intrinsic.c (string_scan): New function.
894         (string_verify): New function.
895
896 2003-06-25  Paul Brook  <paul@nowt.org>
897
898         * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
899         (mem_seek): Don't bother setting physical_offset.
900
901 2003-06-20  Paul Brook  <paul@nowt.org>
902
903         * libgfor.h (stop_numeric): Declare.
904         * runtime/pause.c: New file.
905         * Makefile.am: Add it.
906
907 2003-06-08  Paul Brook  <paul@nowt.org>
908
909         * m4/cexp.m4 (cabs): Use correct typed version.
910         (csqrt): New function.
911
912 2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
913
914         Spotted by Benjamin and Tobias:
915         * io/list_read.c: Add Separator '\t'.
916         (parse_real, read_real): Accept real values starting with an optional
917         sign follows a decimal point.
918
919 2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
920
921         * Makefile.am: Don't put cmath objects in subdir.
922         * configure.in: Rename MATHOBJ to MATH_OBJ.
923
924 2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
925
926         * intrinsics/associated.c: New file.
927         * Makefile.am: Add it. Regenerate Makefile.in.
928         * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
929         G95_DESCRIPTOR_DTYPE.
930
931 2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
932
933         * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
934         (calculate_G_format): Rewrite it to eliminate an infinte loop and set
935         the scale_factor to 0 for F editing.
936
937 2003-05-11  Tobias Schlüter  <innenminister@gmx.de>
938
939         * libgfor.h: Only include stdint.h if it exists.
940
941 2003-05-07  Paul Brook  <paul@nowt.org>
942
943         * libgfor.h: Use stdint.h types.
944         * intrinsics/ishift.c: Ditto.
945         * runtime/memory.c (malloc_t): Reorder fields for better alignment.
946
947 2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
948
949         * libgfor.h (offsetof): Define if nobody else does.
950         * runtime/memory.c (HEADER_SIZE): Use it.
951
952 2003-05-01  Tobias Schlüter  <innenminister@gmx.de>
953
954         * configure.in: Require autoconf 2.54.
955
956 2003-04-28  Tobias Schlüter  <innenminister@gmx.de>
957         Paul Brook  <paul@nowt.org>
958
959         * intrinsics/reshape_generic.c: Copy the whole element, not just the
960         first byte.
961         * m4/transpose.m4: New file.
962         * Makefile.am: Add them.
963         Regenerate generated files.
964
965 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
966
967         * io/format.c (parse_format_list): Allow 'X' without integer
968         prefix.  This is an extension.  Interpretation is '1X'.
969
970 2003-04-18  Tobias Schlüter  <Tobias.Schlueter@physik.uni-muenchen.de>
971
972         * io/format.c (parse_format_list): Allow '0P'.
973
974 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
975
976         * Makefile.in: Re-regenerate for automake 1.7.3.
977
978 2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
979
980         Port implementation for CHARACTER SELECT from Andy's tree.
981         * runtime/select.c: New file
982         * Makefile.am: Add it.
983         * Makefile.in: Regenerate.
984
985 2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
986
987         * io/transfer.c (formatted_transfer): Modified
988         * io/unix.c (move_pos_offset): New Function.
989         * io/format.c (parse_format_list): Modified.
990
991 2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
992
993         * io/write.c (write_float,write_real): New implemention of
994         FMT_G and default float editing.
995         (calculate_exp,calculate_G_format,output_float): New Function.
996         (write_float,write_real,write_logical): Modified
997         * libgfor.h (default_rtoa): Remove Declaration.
998         * runtime/error.c (default_rtoa): Remove Function.
999
1000 2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
1001
1002         Spotted by Yang:
1003         * io/write.c (extract_real): Add missing break statement.
1004
1005 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1006
1007         * cpu_time.c: Make sure we have a definition of HZ.  Don't
1008         rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1009
1010 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1011             Paul Brook  <paul@nowt.org>
1012
1013         * configure.in: Check for process time headers and GETTIMEOFDAY.
1014         * makefile.am: Add intrinsics/cpu_time.c.
1015         * acinclude.m4: New file.
1016         * intrinsics/cpu_time.c: New file.
1017         * m4/dotprodl.m4: Fix typo.
1018         Regenerate generated files.
1019
1020 2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
1021
1022         * io/write.c (extract_real): Ouput floating point value.
1023         (write_float): New Function.
1024         (write_e, write_f, write_en, write_es): Modified
1025         * io/transfer.c (formatted_transfer): Modified.
1026         * libgfor.h (default_rtoa): Declaration.
1027         (rtoa): Declaration.
1028         * runtime/error.c (default_rtoa): New Function.
1029         (rtoa): New Function.
1030
1031 2003-04-05  Paul Brook  <paul@nowt.org>
1032
1033         * intrinsics/spread_generic.c: New file.
1034         * Makefile.am: Add it. Regenerate Makefile.in.
1035
1036 2003-03-29  Paul Brook  <paul@nowt.org>
1037
1038         * intrinsics/pack_generic.c: New file.
1039         * intrinsics/unpack_generic.c: New file.
1040         * Makefile.am: Add them. Regenerate Makefile.in.
1041
1042 2003-03-25  Paul Brook  <paul@nowt.org>
1043
1044         * intrinsics/eoshift0.c: New file.
1045         * intrinsics/eoshift2.c: New file.
1046         * m4/eoshift1.m4: New file.
1047         * m4/eoshift3.m4: New file.
1048         * Makefile.am: Add them.
1049         * in_unpack_generic.c: Initialize src.
1050         Regenerate generated files.
1051
1052 2003-03-14  Paul Brook  <paul@nowt.org>
1053
1054         * m4/shape.m4: Work properly with array temporaries.
1055         * m4/in_pack.m4: Skip redundant checks for array temporaries.
1056         * runtime/in_pack_generic.c: Ditto.
1057
1058 2003-03-12  Paul Brook  <paul@nowt.org>
1059
1060         * m4/shape.m4: Work properly with noncontiguous arrays.
1061
1062 2003-03-08  Paul Brook  <paul@nowt.org>
1063
1064         * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1065         * runtime/in_pack_generic.c: Ditto.
1066
1067 2003-02-08  Paul Brook  <paul@nowt.org>
1068
1069         * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1070         * io/close.c (st_close): Return void.
1071         * io/open.c (st_open): Return void.
1072         * libgfor.h (g95_array_char): Declare.
1073         (internal_malloc_size): Ditto.
1074         (internal_pack*, internal_unpack*): Ditto.
1075         * m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
1076         arrays.
1077         * m4/in_unpack.m4: Include file fixes.
1078         * m4/reshape.m4: Increment the correct source pointer.
1079         * Makefile.am (maxloc): Fix typo.
1080         * runtime/in_pack_generic.c: Call optimized functions. Allocate
1081         storage if neccessary. Fix logic for packed arrays.
1082         * runtime/in_unpack_generic.c: Call optimized functions.
1083         * runtime/main.c: Use runtime_error to report errors.
1084         * memory.c (internal_malloc_size): Make non-static.
1085
1086 2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
1087
1088         * reshape_packed.c, lock.c: Add #include <string.h>.
1089         * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1090         environ.c, error.c, memory.c, string.c: Add const.
1091         * error.c (show_locus): Add void.
1092
1093 2003-02-21  Paul Brook  <paul@nowt.org>
1094
1095         * m4/in_pack.m4: Avoid returning const * parameter.
1096         * Makefile.am: Only regenerate files in maintainer mode.
1097
1098 2003-02-20  Paul Brook  <paul@nowt.org>
1099
1100         Add array repacking support functions.
1101         * m4/in_pack.m4, m4/in_unpack.m4: New files.
1102         * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1103         * Makefile.am: Build them.  Regenerate configury files.
1104         * generated/: New directory for generated files (need to move
1105         everything else there).
1106
1107 2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1108
1109         * m4/cexp.m4: Fix typo.
1110
1111 2003-01-26  Paul Brook  <paul@nowt.org>
1112
1113         * intrinsics/: Add missing generated files.
1114
1115 2003-01-26  Paul Brook  <paul@nowt.org>
1116
1117         * Makefile.am: Put -I before the filename.
1118
1119 2003-01-24  Paul Brook  <paul@nowt.org>
1120
1121         * configure.in: Add AM_MAINTAINER_MODE.
1122
1123 2003-01-23  Paul Brook  <paul@nowt.org>
1124
1125         * configure.in, Makefile.am: Modify to work with unmodified autoconf
1126         and auotmake.
1127         Also regenerate other configury files.
1128
1129 2003-01-21  Paul Brook  <paul@nowt.org>
1130
1131         * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1132
1133 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1134
1135         * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1136         Don't include "alloca.h".
1137
1138 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1139
1140         * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1141         * Makefile.am: Adjust file name.
1142         * Makefile.in: Regenerate.
1143         * gfortypes.h: Kill, include everything in...
1144         * libgfor.h: ...here.  Include config.h
1145         * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1146         intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1147         intrinsics/reshape_packed.c, intrinsics/size.c,
1148         m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1149         for prefix for all functions instead of hardcoded.
1150
1151 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1152
1153         * io/lock.c (library_end): Propagate library return
1154         code.
1155
1156 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1157
1158         Port fixes from Andy's tree:
1159         * io/read.c (read_decimal): Reverse sense of overflow
1160         comparison during integer reads.
1161         * io/format.c (revert): Fix comment.
1162         (next_format): Fix format revision.
1163         * io/unix.c: Fix and simplify mmap version of stream
1164         functions.
1165
1166 2003-01-11  Paul Brook  <paul@nowt.org>
1167
1168         * configure, Makefile.in: Regenerate.
1169
1170 2003-01-11  Paul Brook  <paul@nowt.org>
1171
1172         * runtime/stop.c: Rewrite.
1173
1174 2003-01-08  Paul Brook  <paul@nowt.org>
1175
1176         * configure, Makefile.in: Regenerate.
1177
1178 2003-01-05  Paul Brook  <paul@nowt.org>
1179
1180         * (*.m4) Move to m4/.
1181         * intrinsics/string.c (_gfor_string_index): New Function.
1182
1183 2002-12-29  Paul Brook  <paul@nowt.org>
1184
1185         * intrinsics/reshape.*: New files.
1186         * gcc_config.patch: Update to new GCC configure system.
1187
1188 2002-10-10  Paul Brook  <paul@nowt.org>
1189
1190         * intrinsics/size.c: New file.
1191         * intrinsics/shape.m4: New file.
1192         * Makefile.am: Add above files.
1193
1194 2002-10-02  Paul Brook  <paul@nowt.org>
1195
1196         * fmain.c (main): Move here.
1197         * libgfor.c: From here.
1198         * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1199         * Makefile.am: Build libgforbegin.
1200         * gcc_config.patch: Remove stray -march=athlon.
1201         * dotprodl.m4: Fix use of L8_TO_L4 macro.
1202         * ifunction.m4: Move variable declarations to allow compilation with
1203         gcc < 3.0
1204         * specific.m4, specific4.m4: Fix typo typecode->type_code.
1205         * README: Document use of patch -p1.
1206
1207 2002-09-12  Paul Brook  <paul@nowt.org>
1208
1209         * math/*: Add complex math library functions.
1210         * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1211         * Makefile.am: Add details for above.
1212         * configure.in: Use AC_PROG_F95.  Test for the presence of csin.
1213
1214 2002-09-09  Paul Brook  <paul@nowt.org>
1215
1216         * libgfor.c (determine_endianness): Use an array rather than a struct.
1217         * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1218
1219 2002-09-09  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1220
1221         * libgfor.c: Add fatal signal handler.
1222         Romove superfluous abort() calls.
1223
1224 2002-09-07  Paul Brook <paul@nowt.org>
1225
1226         * Makefile.am, intrinsics: Major rewrite.
1227
1228 2002-09-02  Paul Brook <paul@nowt.org>
1229
1230         * Makefile.am: Added -I$(srcdir) to m4 rule.
1231
1232 2002-08-30  Paul Brook <paul@nowt.org>
1233
1234         * io/*: Integrated libgforio.
1235         * Makefile.am, configure.in: Make compatable with GCC. Build code for
1236         intrinsics in the intrisics directory.
1237         * intrinsics/intrinsics.m4: Move here. Strip directories from the
1238         filename. Add 'and' and 'all' intrinsics.
1239
1240 2002-08-17  Paul Brook <paul@nowt.org>
1241
1242         * ALL: First release as more than just a single file