OSDN Git Service

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