OSDN Git Service

2005-04-07 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2005-04-07  Andrew Pinski  <pinskia@physics.uc.edu>
2
3         PR libfortran/20766
4         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
5         "-Wl,-single_module".
6         * configure: Regenerate.
7         * Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
8         * Makefile.in: Regenerate.
9
10 2005-04-05  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
11
12         PR libfortran/20755
13         * write.c (write_float): A G edit descriptor may locally change
14         the scale factor, but it needs to be restored afterwards.
15
16 2005-04-03  Dale Ranta  <dir@lanl.gov>
17             Francois-Xavier Coudert  <coudert@clipper.ens.fr>
18
19         PR libfortran/20068
20         PR libfortran/20125
21         PR libfortran/20156
22         PR libfortran/20471
23         * io/backspace.c (unformatted_backspace): Fix error in arithmetic.
24         (st_backspace): When in WRITING mode, we flush and falling back
25         into READING mode. In all cases, correctly position the stream.
26
27 2005-03-31  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
28
29         PR libfortran/20660
30         * io/inquire.c (inquire_via_unit): Non-opened units should still be
31         reported by an INQUIRE statement as existing.
32         * io/transfer.c (data_transfer_init): Never accept negative units.
33
34 2005-03-29  Dale Ranta  <dir@lanl.gov>
35             Francois-Xavier Coudert  <coudert@clipper.ens.fr>
36
37         PR libfortran/20163
38         * io/open.c (st_open): call library_end() before returning even if
39         an error arises.
40
41 2005-03-25  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
42
43         PR libfortran/19678
44         * list_read.c (next_char, eat_separator, finish_separator, read_real)
45         (namelist_read): Add support for '\r' as well as '\n' as EOL
46         character.
47
48         PR libfortran/19679
49         * list_read.c (read_sf): Add a '\r' in a test to support DOS
50         line-endings when line length is exceeded.
51
52 2005-03-25  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
53
54         PR libfortran/15332
55         * io/format.c (parse_format_list): format node for colon edit
56         descriptor needs a repeat counter set to 1.
57
58 2005-02-24  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
59
60         * config.h.in: Regenerate.
61
62 2005-02-23  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
63
64         PR libfortran/18025
65         * write.c (output_float): Handling the "F0.d" format similarly as
66         commercial compilers.
67
68 2005-03-22  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
69
70         * Makefile.am: Added new files.
71         * Makefile.in: Regenerate.
72         * aclocal.m4: Regenerate.
73         * configure.ac: add checks for signal.h headers file, as well as
74         following functions: chdir, strerror, getlogin, gethostname, kill,
75         link, symlink, perror, sleep, time.
76         * configure: Regenerate.
77         * intrinsics/chdir.c, intrinsics/gerror.c, intrinsics/getlog.c,
78         intrinsics/hostnm.c, intrinsics/ierrno.c, intrinsics/kill.c,
79         intrinsics/link.c, intrinsics/perror.c, intrinsics/rename.c,
80         intrinsics/sleep.c, intrinsics/symlnk.c, intrinsics/time.c: Newly
81         implementend g77 intrinsics.
82
83 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
84
85         * configure.ac: Do not invoke TL_AC_GCC_VERSION.
86         In all substitutions, leave gcc_version to be expanded by the Makefile.
87         * aclocal.m4, configure: Regenerate.
88         * Makefile.am: Set gcc_version.
89         * Makefile.in: Regenerate.
90
91 2005-03-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
92
93         PR libfortran/20257
94         * open.c (new_unit): set record length to max_offset rather than
95           using a hard-coded limit (which was too low).
96
97 2005-03-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
98
99         PR libfortran/20480
100         * write.c (output_float): special check when writing 0.0 with
101           EN and ES formats.
102
103 2005-03-11  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
104
105         PR libfortran/20124
106         * write.c (output_float): Adds a nzero_real variable to store
107         the number of leading zeros whatever the format width is. Corrects
108         the rounding of numbers less than 10^(-width). Fixes typo in an
109         error message. Updates copyright years
110
111 2005-02-27  Toon Moene  <toon@moene.indiv.nluug.nl>
112
113         * runtime/environ.c: Update copyright years.
114
115 2005-02-27  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
116
117         * io/write.c: Update copyright years.
118
119 2005-02-27  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
120
121         PR libfortran/20101
122         * io/write.c (output_float): Added special check for value 0.0 in
123         PE format.
124
125 2004-02-27  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
126
127         * io/write.c (output_float): Fix typo in condition.
128
129 2005-02-25  Peter O'Gorman  <peter@pogma.com>
130             Toon Moene  <toon@moene.indiv.nluug.nl>
131
132         PR libgfortran/17748
133         * runtime/environ.c: Remove references to environ.
134         (show_variables): remove GFORTRAN_UNBUFFERED_* and
135         GFORTRAN_NAME_* because they require environ.
136         (pattern_scan): Remove function.
137
138 2004-02-22  Paul Thomas <paulthomas2@wannado.fr>
139             Bud Davis  <bdavis@gfortran.org>
140
141         * io/list_read.c (read_real): Handle separators properly
142         in list directed read.
143
144 2004-02-21  Bud Davis  <bdavis@gfortran.org>
145
146         PR fortran/20086
147         * io/transfer.c (write_constant_string): accept an 'h' as
148         the start of a hollerith format string.
149
150 2005-02-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
151
152         PR libfortran/19302
153         * intrinsics/c99_functions.c (nextafterf): Special-case infinite
154         numbers.
155
156 2005-02-21  Steven G. Kargl  <kargls@comcast.net>
157
158         * io/write.c (output_float):  Typo in error meesage.
159
160 2005-02-20  Steven G. Kargl  <kargls@comcast.net>
161
162         PR 20085
163         * intrinsic/args.c (iargc): Off by 1.
164
165 2005-02-19  Steven G. Kargl  <kargls@comcast.net>
166
167       *  intrinsic/date_and_time.c: Fix conformance problems.
168
169 2005-02-01  Paul Thomas <paulthomas2@wanadoo.fr>
170
171         PR libgfortran/19363
172         PR libgfortran/19691
173         * libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.
174
175 2005-01-30  Bud Davis  <bdavis@gfortran.org>
176
177         PR fortran/19647
178         * io/inquire.c (inquire_via_unit): Use correct variable for
179         pad.
180
181 2005-01-29  Thomas Koenig  <Thomas.Koenig@online.de>
182
183         PR libfortran/19595
184         * io/transfer.c (data_transfer_init): eor requires advance="NO".
185
186 2005-01-25  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
187
188         PR libfortran/19524
189         * io/read.c (read_f): Don't free uninitialized pointer.
190
191 2005-01-23  James A. Morrison  <phython@gcc.gnu.org>
192         Paul Brook  <paul@codesourcery.com>
193
194         PR fortran/19294
195         * Makefile.am: Add transpose_c4.c and transpose_c8.c.
196         * intrinsics/cshift0.c: Use separate optimized loops for complex types.
197         * m4/transpose.m4: Include type letter in function name.
198         * Makefile.in: Regenerate.
199         * generated/transpose_*.c: Regenerate.
200
201 2005-01-22  Thomas Koenig  <Thomas.Koenig@online.de>
202
203         PR libfortran/19451
204         * io/transfer.c (finalize_transfer):  Don't do anything if
205         there is an error condition.
206
207 2005-01-22  David Edelsohn  <edelsohn@gnu.org>
208
209         PR libgfortran/19052
210         * libgfortran.h (options_t): Add stderr_unit.
211         * io/io.h (error_stream): Declare.
212         * io/open.c (new_unit): Do not terminate abnormally if opening
213         file preconnected to stdin, stdout, or stderr.
214         * io/unit.c (init_units): Initialize stderr_unit.
215         * io/unix.c (error_stream): New function.
216         * runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable.
217
218 2005-01-22  Thomas Koenig  <Thomas.Koenig@online.de>
219
220         PR libfortran/18982
221         * io/unix.c (regular_file):  No need to change flags->action
222         if an error occurs.  Document this.
223         No need to call stat() for STATUS_OLD, open() will
224         fail anyway.
225         For ACTION_UNSPECIFIED, try open for read-write, then for
226         read-only if open fails with EACCES, then for write-only
227         if that fails with EACCES again.
228         * io/unix.c (open_external): Document changed behavior of
229         regular_file.
230
231 2005-01-22  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
232
233         PR fortran/19194
234         * io/io.h (st_parameter): Use 'GFC_INTEGER_4' instead of 'int',
235         use CHARACTER macro for definition of string valued paramters.
236
237 2005-01-22  Bud Davis  <bdavis9659@comcast.net>
238
239         PR fortran/19314
240         * io/inquire.c(inquire_via_unit): implement POSITION=.
241         * io/transfer.c(next_record): update position for
242         INQUIRE.
243         * io/rewind.c(st_rewind): update position for
244         INQUIRE.
245
246 2005-01-16  Bud Davis  <bdavis9659@comcast.net>
247
248         PR fortran/18778
249         * io/transfer.c (us_read): no bytes available is not a
250         runtime error.
251
252 2005-01-15  Bud Davis  <bdavis9659@comcast.net>
253
254         PR fortran/18983
255         * io/transfer.c (st_write_done): only truncate when it
256         is required.
257
258 2005-01-12  Toon Moene  <toon@moene.indiv.nluug.nl>
259
260         PR libfortran/19280
261         c99_protos.h: License changed to GPL+exception.
262         libgfortran.h: Ditto.
263         intrinsics/abort.c: Ditto.
264         intrinsics/args.c: Ditto.
265         intrinsics/associated.c: Ditto.
266         intrinsics/bessel.c: Ditto.
267         intrinsics/c99_functions.c: Ditto.
268         intrinsics/cpu_time.c: Ditto.
269         intrinsics/cshift0.c: Ditto.
270         intrinsics/date_and_time.c: Ditto.
271         intrinsics/env.c: Ditto.
272         intrinsics/eoshift0.c: Ditto.
273         intrinsics/eoshift2.c: Ditto.
274         intrinsics/erf.c: Ditto.
275         intrinsics/etime.c: Ditto.
276         intrinsics/exit.c: Ditto.
277         intrinsics/flush.c: Ditto.
278         intrinsics/fnum.c: Ditto.
279         intrinsics/getXid.c: Ditto.
280         intrinsics/getcwd.c: Ditto.
281         intrinsics/ishftc.c: Ditto.
282         intrinsics/mvbits.c: Ditto.
283         intrinsics/pack_generic.c: Ditto.
284         intrinsics/rand.c: Ditto.
285         intrinsics/random.c: Ditto.
286         intrinsics/reshape_generic.c: Ditto.
287         intrinsics/reshape_packed.c: Ditto.
288         intrinsics/size.c: Ditto.
289         intrinsics/spread_generic.c: Ditto.
290         intrinsics/stat.c: Ditto.
291         intrinsics/string_intrinsics.c: Ditto.
292         intrinsics/system.c: Ditto.
293         intrinsics/system_clock.c: Ditto.
294         intrinsics/transpose_generic.c: Ditto.
295         intrinsics/umask.c: Ditto.
296         intrinsics/unlink.c: Ditto.
297         intrinsics/unpack_generic.c: Ditto.
298         io/backspace.c: Ditto.
299         io/close.c: Ditto.
300         io/endfile.c: Ditto.
301         io/format.c: Ditto.
302         io/inquire.c: Ditto.
303         io/io.h: Ditto.
304         io/list_read.c: Ditto.
305         io/lock.c: Ditto.
306         io/open.c: Ditto.
307         io/read.c: Ditto.
308         io/rewind.c: Ditto.
309         io/transfer.c: Ditto.
310         io/unit.c: Ditto.
311         io/unix.c: Ditto.
312         io/write.c: Ditto.
313         m4/all.m4: Ditto.
314         m4/any.m4: Ditto.
315         m4/cexp.m4: Ditto.
316         m4/chyp.m4: Ditto.
317         m4/count.m4: Ditto.
318         m4/cshift1.m4: Ditto.
319         m4/ctrig.m4: Ditto.
320         m4/dotprod.m4: Ditto.
321         m4/dotprodc.m4: Ditto.
322         m4/dotprodl.m4: Ditto.
323         m4/eoshift1.m4: Ditto.
324         m4/eoshift3.m4: Ditto.
325         m4/exponent.m4: Ditto.
326         m4/fraction.m4: Ditto.
327         m4/head.m4: Ditto.
328         m4/iforeach.m4: Ditto.
329         m4/ifunction.m4: Ditto.
330         m4/in_pack.m4: Ditto.
331         m4/in_unpack.m4: Ditto.
332         m4/iparm.m4: Ditto.
333         m4/matmul.m4: Ditto.
334         m4/matmull.m4: Ditto.
335         m4/maxloc0.m4: Ditto.
336         m4/maxloc1.m4: Ditto.
337         m4/maxval.m4: Ditto.
338         m4/minloc0.m4: Ditto.
339         m4/minloc1.m4: Ditto.
340         m4/minval.m4: Ditto.
341         m4/mtype.m4: Ditto.
342         m4/nearest.m4: Ditto.
343         m4/pow.m4: Ditto.
344         m4/product.m4: Ditto.
345         m4/reshape.m4: Ditto.
346         m4/set_exponent.m4: Ditto.
347         m4/shape.m4: Ditto.
348         m4/specific.m4: Ditto.
349         m4/specific2.m4: Ditto.
350         m4/sum.m4: Ditto.
351         m4/transpose.m4: Ditto.
352         m4/types.m4: Ditto.
353         runtime/environ.c: Ditto.
354         runtime/error.c: Ditto.
355         runtime/in_pack_generic.c: Ditto.
356         runtime/in_unpack_generic.c: Ditto.
357         runtime/main.c: Ditto.
358         runtime/memory.c: Ditto.
359         runtime/normalize.c: Ditto.
360         runtime/pause.c: Ditto.
361         runtime/select.c: Ditto.
362         runtime/stop.c: Ditto.
363         runtime/string.c: Ditto.
364         generated/_abs_c4.f90: Regenerated.
365         generated/_abs_c8.f90: Regenerated.
366         generated/_abs_i4.f90: Regenerated.
367         generated/_abs_i8.f90: Regenerated.
368         generated/_abs_r4.f90: Regenerated.
369         generated/_abs_r8.f90: Regenerated.
370         generated/_acos_r4.f90: Regenerated.
371         generated/_acos_r8.f90: Regenerated.
372         generated/_aint_r4.f90: Regenerated.
373         generated/_aint_r8.f90: Regenerated.
374         generated/_anint_r4.f90: Regenerated.
375         generated/_anint_r8.f90: Regenerated.
376         generated/_asin_r4.f90: Regenerated.
377         generated/_asin_r8.f90: Regenerated.
378         generated/_atan2_r4.f90: Regenerated.
379         generated/_atan2_r8.f90: Regenerated.
380         generated/_atan_r4.f90: Regenerated.
381         generated/_atan_r8.f90: Regenerated.
382         generated/_conjg_c4.f90: Regenerated.
383         generated/_conjg_c8.f90: Regenerated.
384         generated/_cos_c4.f90: Regenerated.
385         generated/_cos_c8.f90: Regenerated.
386         generated/_cos_r4.f90: Regenerated.
387         generated/_cos_r8.f90: Regenerated.
388         generated/_cosh_r4.f90: Regenerated.
389         generated/_cosh_r8.f90: Regenerated.
390         generated/_dim_i4.f90: Regenerated.
391         generated/_dim_i8.f90: Regenerated.
392         generated/_dim_r4.f90: Regenerated.
393         generated/_dim_r8.f90: Regenerated.
394         generated/_exp_c4.f90: Regenerated.
395         generated/_exp_c8.f90: Regenerated.
396         generated/_exp_r4.f90: Regenerated.
397         generated/_exp_r8.f90: Regenerated.
398         generated/_log10_r4.f90: Regenerated.
399         generated/_log10_r8.f90: Regenerated.
400         generated/_log_c4.f90: Regenerated.
401         generated/_log_c8.f90: Regenerated.
402         generated/_log_r4.f90: Regenerated.
403         generated/_log_r8.f90: Regenerated.
404         generated/_mod_i4.f90: Regenerated.
405         generated/_mod_i8.f90: Regenerated.
406         generated/_mod_r4.f90: Regenerated.
407         generated/_mod_r8.f90: Regenerated.
408         generated/_sign_i4.f90: Regenerated.
409         generated/_sign_i8.f90: Regenerated.
410         generated/_sign_r4.f90: Regenerated.
411         generated/_sign_r8.f90: Regenerated.
412         generated/_sin_c4.f90: Regenerated.
413         generated/_sin_c8.f90: Regenerated.
414         generated/_sin_r4.f90: Regenerated.
415         generated/_sin_r8.f90: Regenerated.
416         generated/_sinh_r4.f90: Regenerated.
417         generated/_sinh_r8.f90: Regenerated.
418         generated/_sqrt_c4.f90: Regenerated.
419         generated/_sqrt_c8.f90: Regenerated.
420         generated/_sqrt_r4.f90: Regenerated.
421         generated/_sqrt_r8.f90: Regenerated.
422         generated/_tan_r4.f90: Regenerated.
423         generated/_tan_r8.f90: Regenerated.
424         generated/_tanh_r4.f90: Regenerated.
425         generated/_tanh_r8.f90: Regenerated.
426         generated/all_l4.c: Regenerated.
427         generated/all_l8.c: Regenerated.
428         generated/any_l4.c: Regenerated.
429         generated/any_l8.c: Regenerated.
430         generated/count_4_l4.c: Regenerated.
431         generated/count_4_l8.c: Regenerated.
432         generated/count_8_l4.c: Regenerated.
433         generated/count_8_l8.c: Regenerated.
434         generated/cshift1_4.c: Regenerated.
435         generated/cshift1_8.c: Regenerated.
436         generated/dotprod_c4.c: Regenerated.
437         generated/dotprod_c8.c: Regenerated.
438         generated/dotprod_i4.c: Regenerated.
439         generated/dotprod_i8.c: Regenerated.
440         generated/dotprod_l4.c: Regenerated.
441         generated/dotprod_l8.c: Regenerated.
442         generated/dotprod_r4.c: Regenerated.
443         generated/dotprod_r8.c: Regenerated.
444         generated/eoshift1_4.c: Regenerated.
445         generated/eoshift1_8.c: Regenerated.
446         generated/eoshift3_4.c: Regenerated.
447         generated/eoshift3_8.c: Regenerated.
448         generated/exp_c4.c: Regenerated.
449         generated/exp_c8.c: Regenerated.
450         generated/exponent_r4.c: Regenerated.
451         generated/exponent_r8.c: Regenerated.
452         generated/fraction_r4.c: Regenerated.
453         generated/fraction_r8.c: Regenerated.
454         generated/hyp_c4.c: Regenerated.
455         generated/hyp_c8.c: Regenerated.
456         generated/in_pack_i4.c: Regenerated.
457         generated/in_pack_i8.c: Regenerated.
458         generated/in_unpack_i4.c: Regenerated.
459         generated/in_unpack_i8.c: Regenerated.
460         generated/matmul_c4.c: Regenerated.
461         generated/matmul_c8.c: Regenerated.
462         generated/matmul_i4.c: Regenerated.
463         generated/matmul_i8.c: Regenerated.
464         generated/matmul_l4.c: Regenerated.
465         generated/matmul_l8.c: Regenerated.
466         generated/matmul_r4.c: Regenerated.
467         generated/matmul_r8.c: Regenerated.
468         generated/maxloc0_4_i4.c: Regenerated.
469         generated/maxloc0_4_i8.c: Regenerated.
470         generated/maxloc0_4_r4.c: Regenerated.
471         generated/maxloc0_4_r8.c: Regenerated.
472         generated/maxloc0_8_i4.c: Regenerated.
473         generated/maxloc0_8_i8.c: Regenerated.
474         generated/maxloc0_8_r4.c: Regenerated.
475         generated/maxloc0_8_r8.c: Regenerated.
476         generated/maxloc1_4_i4.c: Regenerated.
477         generated/maxloc1_4_i8.c: Regenerated.
478         generated/maxloc1_4_r4.c: Regenerated.
479         generated/maxloc1_4_r8.c: Regenerated.
480         generated/maxloc1_8_i4.c: Regenerated.
481         generated/maxloc1_8_i8.c: Regenerated.
482         generated/maxloc1_8_r4.c: Regenerated.
483         generated/maxloc1_8_r8.c: Regenerated.
484         generated/maxval_i4.c: Regenerated.
485         generated/maxval_i8.c: Regenerated.
486         generated/maxval_r4.c: Regenerated.
487         generated/maxval_r8.c: Regenerated.
488         generated/minloc0_4_i4.c: Regenerated.
489         generated/minloc0_4_i8.c: Regenerated.
490         generated/minloc0_4_r4.c: Regenerated.
491         generated/minloc0_4_r8.c: Regenerated.
492         generated/minloc0_8_i4.c: Regenerated.
493         generated/minloc0_8_i8.c: Regenerated.
494         generated/minloc0_8_r4.c: Regenerated.
495         generated/minloc0_8_r8.c: Regenerated.
496         generated/minloc1_4_i4.c: Regenerated.
497         generated/minloc1_4_i8.c: Regenerated.
498         generated/minloc1_4_r4.c: Regenerated.
499         generated/minloc1_4_r8.c: Regenerated.
500         generated/minloc1_8_i4.c: Regenerated.
501         generated/minloc1_8_i8.c: Regenerated.
502         generated/minloc1_8_r4.c: Regenerated.
503         generated/minloc1_8_r8.c: Regenerated.
504         generated/minval_i4.c: Regenerated.
505         generated/minval_i8.c: Regenerated.
506         generated/minval_r4.c: Regenerated.
507         generated/minval_r8.c: Regenerated.
508         generated/nearest_r4.c: Regenerated.
509         generated/nearest_r8.c: Regenerated.
510         generated/pow_c4_i4.c: Regenerated.
511         generated/pow_c4_i8.c: Regenerated.
512         generated/pow_c8_i4.c: Regenerated.
513         generated/pow_c8_i8.c: Regenerated.
514         generated/pow_i4_i4.c: Regenerated.
515         generated/pow_i4_i8.c: Regenerated.
516         generated/pow_i8_i4.c: Regenerated.
517         generated/pow_i8_i8.c: Regenerated.
518         generated/pow_r4_i4.c: Regenerated.
519         generated/pow_r4_i8.c: Regenerated.
520         generated/pow_r8_i4.c: Regenerated.
521         generated/pow_r8_i8.c: Regenerated.
522         generated/product_c4.c: Regenerated.
523         generated/product_c8.c: Regenerated.
524         generated/product_i4.c: Regenerated.
525         generated/product_i8.c: Regenerated.
526         generated/product_r4.c: Regenerated.
527         generated/product_r8.c: Regenerated.
528         generated/reshape_i4.c: Regenerated.
529         generated/reshape_i8.c: Regenerated.
530         generated/set_exponent_r4.c: Regenerated.
531         generated/set_exponent_r8.c: Regenerated.
532         generated/shape_i4.c: Regenerated.
533         generated/shape_i8.c: Regenerated.
534         generated/sum_c4.c: Regenerated.
535         generated/sum_c8.c: Regenerated.
536         generated/sum_i4.c: Regenerated.
537         generated/sum_i8.c: Regenerated.
538         generated/sum_r4.c: Regenerated.
539         generated/sum_r8.c: Regenerated.
540         generated/transpose_i4.c: Regenerated.
541         generated/transpose_i8.c: Regenerated.
542         generated/trig_c4.c: Regenerated.
543         generated/trig_c8.c: Regenerated.
544
545 2005-01-07  Bud Davis  <bdavis9659@comcast.net>
546
547         PR fortran/18398
548         * transfer.c (next_record_r): always skip the
549         eol search if it was found during sf_read.
550
551 2004-12-27  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
552
553         * libgfortran/libgfortran.h (GFC_UINTEGER_1, GFC_UINTEGER_2):
554         Define.
555         * intrinsics/ishftc.c: Update copyright years.
556         (ishftc8): Change 'shift' and 'size' to GFC_INTEGER_4.
557         * intrinsics/mvbits.c: Correct non-ASCII character in my name.
558         Add implementations for GFC_INTEGER_1 and GFC_INTEGER_2.
559
560 2004-12-23  Bud Davis  <bdavis9659@comcast.net>
561
562         PR fortran/19071
563         * io/tranfer.c (formatted_transfer): moved check for
564         format reversion inside the processing loop.
565
566 2004-12-19  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
567
568         PR libfortran/19074
569         * libgfortran.h (itoa): Rename to gfc_itoa.
570         * io/write.c (itoa): Same.
571         * runtime/environ.c (itoa): Same.
572         * runtime/error.c (itoa): Same.
573
574 2004-12-15  Bud Davis  <bdavis9659@comcast.net>
575             Steven G. Kargl  <kargls@comcast.net>
576
577         PR fortran/17597
578         * io/list_read.c (read_real): do not push back a comma when
579         it delimits a real value without a decimal point
580
581 2004-12-14  Steve Ellcey  <sje@cup.hp.com>
582
583         * libgfortran/io/transfer.c (us_read): Use memcpy/memset
584         instead of assignment to fill unaligned buffer.
585         (us_write): Ditto.
586         (next_record_w): Ditto.
587
588 2004-12-14  Steven G. Kargl  <kargls@comcast.net>
589
590         PR libfortran/18966
591         * gfortran.h: typedef GFC_INTEGER_1 and GFC_INTEGER_2
592         * intrinsics/cshift0.c (cshift0_1,cshift0_2): New functions.
593         * intrinsics/eoshift0.c (eoshift0_1,eoshift0_2): New functions.
594         * intrinsics/eoshift2.c (eoshift2_1,eoshift2_2): New functions.
595
596 2004-12-13  David Edelsohn  <edelsohn@gnu.org>
597
598         * io/transfer.c (read_sf): Change bitwise "and" to logical "and".
599
600 2004-12-12  Richard Henderson  <rth@redhat.com>
601
602         * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
603         intrinsics/pack_generic.c, intrinsics/reshape_generic.c,
604         intrinsics/spread_generic.c, intrinsics/transpose_generic.c,
605         intrinsics/unpack_generic.c, m4/cshift1.m4, m4/dotprod.m4,
606         m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
607         m4/iforeach.m4, m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4,
608         m4/reshape.m4, m4/shape.m4, m4/transpose.m4: Use standard prefix
609         instead of "__".
610         * generated/*: Rebuild.
611
612 2004-12-12  Richard Henderson  <rth@redhat.com>
613
614         * acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New.
615         (LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT): New.
616         (LIBGFOR_CHECK_ATTRIBUTE_ALIAS): New.
617         * configure.ac: Use them.
618         * configure, config.h.in, aclocal.m4: Rebuild.
619         * libgfortran.h (prefix): Remove.
620         (PREFIX, IPREFIX): New.
621         (sym_rename, sym_rename1, sym_rename2): New.
622         (internal_proto, export_proto, export_proto_np): New.
623         (iexport_proto, iexport): New.
624         (iexport_data_proto, iexport_data): New.
625         * intrinsics/abort.c, intrinsics/args.c, intrinsics/associated.c,
626         intrinsics/cpu_time.c, intrinsics/cshift0.c,
627         intrinsics/date_and_time.c, intrinsics/env.c, intrinsics/eoshift0.c,
628         intrinsics/eoshift2.c, intrinsics/etime.c, intrinsics/exit.c,
629         intrinsics/flush.c, intrinsics/fnum.c, intrinsics/getXid.c,
630         intrinsics/getcwd.c, intrinsics/ishftc.c, intrinsics/mvbits.c,
631         intrinsics/pack_generic.c, intrinsics/rand.c, intrinsics/random.c,
632         intrinsics/reshape_generic.c, intrinsics/size.c,
633         intrinsics/spread_generic.c, intrinsics/stat.c,
634         intrinsics/string_intrinsics.c, intrinsics/system.c,
635         intrinsics/system_clock.c, intrinsics/transpose_generic.c,
636         intrinsics/umask.c, intrinsics/unlink.c, intrinsics/unpack_generic.c,
637         io/backspace.c, io/close.c, io/endfile.c, io/inquire.c, io/io.h,
638         io/open.c, io/rewind.c, io/transfer.c, libgfortran.h, m4/cshift1.m4,
639         m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4,
640         m4/eoshift3.m4, m4/exponent.m4, m4/fraction.m4, m4/iforeach.m4,
641         m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/nearest.m4,
642         m4/pow.m4, m4/reshape.m4, m4/set_exponent.m4, m4/shape.m4,
643         m4/transpose.m4, runtime/environ.c, runtime/error.c,
644         runtime/in_pack_generic.c, runtime/in_unpack_generic.c,
645         runtime/main.c, runtime/memory.c, runtime/pause.c, runtime/select.c,
646         runtime/stop.c: Use them to mark symbols internal or external.
647         * generated/*: Rebuild.
648
649 2004-12-09  David Edelsohn  <edelsohn@gnu.org>
650
651         PR bootstrap/18895
652         Revert 2004-12-07 change.
653         * Makefile.am (AM_MAKEFLAGS): Delete.
654         * Makefile.in: Regenerate.
655
656 2004-12-07  Steve Ellcey  <sje@cup.hp.com>
657
658         * libgfortran/Makefile.am (AM_MAKEFLAGS): New.
659         * libgfortran/Makefile.in: Regenerate
660
661 2004-12-07  Steve Ellcey  <sje@cup.hp.com>
662
663         * io/io.h (open_external): Change prototype.
664         * io/unix.c (regular_file): Change prototype and set flags->action if
665         needed.
666         (open_external): Ditto.
667         * io/open.c (new_unit): Let open_external set flags->action.
668
669 2004-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
670
671         * configure.ac: Check for ieeefp.h.  Check for fabsf in libm.
672         * configure: Regenerate.
673         * config.h.in: Likewise.
674         * c99_protos.h: New file.
675         * libgfortran.h: Include c99_protos.h and conditionally ieeefp.h.
676         * intrinsics/c99_functions.c (fabsf): New function.
677
678 2004-12-06  Richard Henderson  <rth@redhat.com>
679
680         * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
681         intrinsics/pack_generic.c, intrinsics/string_intrinsics.c,
682         intrinsics/transpose_generic.c, m4/ifunction.m4, m4/matmul.m4,
683         m4/matmull.m4, m4/transpose.m4: Use internal_malloc_size instead
684         of internal_malloc.
685         * generated/*: Rebuild.
686
687 2004-12-06  Richard Henderson  <rth@redhat.com>
688
689         * intrinsics/c99_functions.c, intrinsics/eoshift0.c,
690         intrinsics/eoshift2.c, intrinsics/exit.c, intrinsics/flush.c,
691         intrinsics/ishftc.c, intrinsics/mvbits.c, intrinsics/pack_generic.c,
692         intrinsics/random.c, intrinsics/reshape_generic.c, intrinsics/size.c,
693         intrinsics/spread_generic.c, intrinsics/stat.c,
694         intrinsics/string_intrinsics.c, intrinsics/system_clock.c,
695         intrinsics/transpose_generic.c, intrinsics/unlink.c,
696         intrinsics/unpack_generic.c, io/backspace.c, io/format.c,
697         io/list_read.c, io/lock.c, io/open.c, io/transfer.c, io/unix.c,
698         io/write.c, runtime/environ.c, runtime/error.c,
699         runtime/in_pack_generic.c, runtime/in_unpack_generic.c, runtime/main.c,
700         runtime/memory.c, runtime/pause.c, runtime/stop.c,
701         runtime/string.c: Whitespace fixes.
702
703 2004-12-06  Richard Henderson  <rth@redhat.com>
704
705         * Makefile.am: Generate all m4 output under $(srcdir).
706         * Makefile.in: Regenerate.
707
708 2004-12-02  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
709
710         PR fortran/18710
711         * io/transfer.c (unformatted_read, unformatted_write): width of
712         a COMPLEX is twice its kind.
713
714 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
715
716         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
717         * configure, aclocal.m4, Makefile.in: Regenerate.
718
719 2004-12-02  Bud Davis  <bdavis9659@comcast.net>
720
721         PR libfortran/18284
722         * io/unix.c (fd_alloc_w_at): Update file_length when extending.
723         * io/backspace.c (formatted_backspace): Reset endfile after backspace.
724
725 2004-12-02  Bud Davis  <bdavis9659@comcast.net>
726
727         * io/inquire.c (inquire_via_unit): do not allow a direct access
728         file to be opened for sequential I/O.
729
730 2004-12-02  Steven G. Kargl  <kargls@comcast.net>
731         Paul Brook  <paul@codesourcery.com>
732
733         * intrinsics/flush.c: New file.
734         * intrinsics/fnum.c: ditto
735         * intrinsics/stat.c: ditto
736         * io/io.h (unit_to_fd): Add prototype.
737         * io/unix.c (unit_to_fd): New function.
738         * configure.ac: Add test for members of struct stat.  Check for
739         sys/types.h and sys/stat.h
740         * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
741         * configure.in: Regenerate.
742         * config.h.in: Regenerate.
743         * Makefile.in: Regenerate.
744
745 2004-12-01  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
746
747         * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I.
748
749 2004-11-28  Bud Davis  <bdavis9659@comcast.net>
750
751         * io/unix.c (mmap_alloc_w_a): check for a write to a location
752         less than the mapped area.
753
754 2004-11-27  Bud Davis  <bdavis9659@comcast.net>
755
756         PR fortran/18364
757         *  io/endfile.c (st_endfile): flush the stream before truncating.
758
759 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
760
761         * configure: Regenerate for libtool change.
762
763 2004-11-22  Steven Bosscher  <stevenb@suse.de>
764
765         PR libfortran/15960
766         * configure.ac: Check for finite in libm.
767         * libgfortran.h: Define isfinite macro if not defined.
768         * intrinsics/c99_functions.c: Use defined(fpclassify) instead of
769         HAVE_FPCLASSIFY.
770         * io/write.c (write_float): Use isfinite instead of finite.
771         * configure, config.h.in: Rebuilt.
772
773 2004-11-20  Roger Sayle  <roger@eyesopen.com>
774
775         * io/write.c (write_float, list_formatted_write): Fix indentation.
776
777 2004-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
778
779         PR target/16135
780         * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
781         * configure.ac: Include LIBGFOR_TARGET_ILP32.
782         * configure: Regenerate.
783         * config.h.in: Likewise.
784         * libgfortran.h: Provide default definitions for C99 types
785         on ILP32 targets that don't have them.
786
787         PR target/17999
788         * configure.ac: Check for snprintf.
789         * configure: Regenerate.
790         * config.h.in: Likewise.
791         * intrinsics/date_and_time.c (date_and_time): Do not
792         use snprinf if it is not available.
793         * io/write.c (output_float): Likewise.
794
795 2004-11-20  Steven G. Kargl  <kargls@comcast.net>
796
797         * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
798         * Makefile.in: Regenerated
799         * intrinsics/umask.c: New file
800         * intrinsics/unlink.c: ditto
801         * intrinsics/exit.c: ditto
802
803 2004-11-18  Victor Leikehman  <lei@il.ibm.com>
804
805         * m4/matmul.m4: Loops reordered to improve cache behavior.
806         * generated/matmul_??.c: Regenerated.
807
808 2004-11-10  Paul Brook  <paul@codesourcery.com>
809
810         PR fortran/18218
811         * configure.ac: Check for strtof.
812         * configure: Regenerate.
813         * config.h.in: Regenerate.
814         * io/read.c (convert_real): Use strtof if available.
815         (convert_precision_real): Remove.
816         (read_f): Avoid poor exponentiation algorithm.
817
818 2004-11-05  Andreas Schwab  <schwab@suse.de>
819
820         * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
821         AC_PROG_F77, F77 and FFLAGS.
822         * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
823         FCCOMPILE instead of F77COMPILE.
824         * configure, Makefile.in: Regenerate.
825
826 2004-11-05  Kelley Cook  <kcook@gcc.gnu.org>
827
828         * acinclude.m4: Properly quote AC_CACHE_CHECK.
829         * Makefile.am: Add in ACLOCAL_AMFLAGS.
830         * aclocal.m4, configure, Makefile.in: Regenerate.
831
832 2004-10-30  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
833
834         * config.h.in: Regenerate.
835         * configure: Regenerate.
836         * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
837         * io/unix.c (S_IRGRP): Define if undefined.
838         (S_IWGRP): Same.
839         (S_IROTH): Same.
840         (S_IWOTH): Same.
841         (tempfile): Use mktemp if mkstemp missing, fix typos.
842
843 2004-10-30  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
844
845         *  intrinsics/system.c ("libgfortran.h"): Move after system headers.
846
847 2004-10-30  Canqun Yang  <canqun@nudt.edu.cn>
848
849         * intrinsics/rand.c (irand): Handle NULL argument.
850
851 2004-10-07  Paul Brook  <paul@codesourcery.com>
852
853         * io/transfer.c (finalize_transfer): Free internal streams.
854         * io/unix.c (mem_close): Free stream object.
855
856 2004-10-07  Paul Brook  <paul@codesourcery.com>
857
858         * intrinsics/string_intrinsics.c (string_verify): Fix off by one
859         error.
860
861 2004-10-06  Paul Brook  <paul@codesourcery.com>
862
863         PR libfortran/17709
864         * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
865
866 2004-10-04  Andrew Pinski  <pinskia@physics.uc.edu>
867
868         * intrinsics/mvbits.c: Commit the file.
869
870 2004-10-04  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
871
872         PR fortran/17283
873         * intrinsics/pack_generic.c (__pack): Allocate memory for return array
874         if not done by caller.
875         (__pack_s): New function.
876         * runtime/memory.c (internal_malloc, internal_malloc64): Allow
877         allocating zero memory.
878
879         PR fortran/17631
880         * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
881         * Makefile.in: Regenerate.
882         * intrinsics/mvbits.h: New file.
883
884         PR fortran/17776
885         * intrinsics/system.c: New file.
886         * Makefile.am: Add dependency for the new file.
887         * Makefile.in: Regenerate.
888
889 2004-10-04  Paul Brook  <paul@codesourcery.com>
890         Bud Davis  <bdavis9659@comcast.net>
891
892         PR fortran/17706
893         PR fortran/16434
894         * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
895         BN and BZ formats.
896         * io/write.c (output_float): Don't output minus zero.
897
898 2004-10-03  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
899
900         * intrinsics/abort.c ("libgfortran.h"): Move.
901         * intrinsics/date_and_time.c ("libgfortran.h"): Same.
902         * intrinsics/write.c ("libgfortran.h"): Same.
903
904 2004-09-26  Tobias Schlueter  <tobis.schlueter@physik.uni-muenchen.de>
905
906         PR libfortran/16137
907         * config.h.in (HAVE_POWF): Undefine.
908         * configure.ac: Check for 'powf' in library.
909         * configure: Regenerate.
910         * intrinsics/c99_functions.c (powf): New function.
911
912 2004-09-24  Tobias Schlueter  <tobis.schlueter@physik.uni-muenchen.de>
913
914         * intrinsics/etime.c (etime_): New function.
915
916 2004-09-21  Steven G. Kargl  <kargls@comcast.net>
917
918         * libgfortran.h: define gfc_alloca()
919         * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
920
921 2004-09-21  Bud Davis  <bdavis9659@comcast.net>
922
923         PR fortran/17286
924         * io/list_read.c (namelist_read): ignore spaces after
925         the '=' for namelist reads.
926
927 2004-09-15  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
928
929         * config.h.in: Regenerate.
930         * configure: Regenerate.
931         * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
932         * unix.c: Include stdio.h.
933         (HAVE_SYS_MMAN_H): Check.
934         (PROT_READ, PROT_WRITE): Provide default definitions.
935
936 2004-09-15  Steven G. Kargl  <kargls@comcast.net>
937
938         * intrincics/getcwd.c: New file.
939         * Makefile.am: Add getcwd.c.
940         * Makefile.in: Regenerated.
941
942 2004-09-15  Steven G. Kargl  <kargls@comcast.net>
943         Paul Brook  <paul@codesourcery.com>
944
945         * intrinsics/env.c (getenv, get_environmental_variable): Remove
946         trailing white space.  Use alloca.  Honour trim_name.
947
948 2004-09-13  Bud Davis  <bdavis9659@comcast.net>
949
950         PR fortran/17090
951
952         * io/list_read.c (list_formatted_read): Handle trailing spaces
953         at end of line.
954
955 2004-09-06  Steven G. Kargl  <kargls@comcast.net>
956
957         * io/write.c (output_float): Typo in comment.  Remove debugging
958         printf.  Fix format for FP of form 1e10.
959
960 2004-09-03  Richard Henderson  <rth@redhat.com>
961
962         * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
963         copy_loop_double, copy_loop_ldouble): New.
964         (__cshift0): Make shift type ssize_t.  Use % operator instead of
965         div.  Use specialized versions of copy loop depending on the shape.
966
967 2004-09-02  Paul Brook  <paul@codesourcery.com>
968
969         * io/format.c (parse_format_list): Set repeat count for P descriptors.
970         * write.c (output_float): Fix condition.  Correctly handle nonzero
971         scale factor.
972
973 2004-09-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
974
975         * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
976         * mk-srk-inc.sh: Likewise.
977
978 2004-09-01  Paul Brook  <paul@codesourcery.com>
979
980         * runtime/error.c (generate_error): Set both iostat and
981         library_return.
982
983 2004-08-31  Paul Brook  <paul@codesourcery.com>
984
985         PR libfortran/16805
986         * io/list_read.c (next_char): Don't signal EOF for internal files.
987         * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
988
989 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
990
991         * io/unit.c: Separate copyright years by ','.
992         (compare, insert_unit, delete_unit, is_internal_unit, close_units):
993         Remove blank line in beginning of function.
994         (get_unit): Simplify code.
995
996 2004-08-31  Paul Brook  <paul@codesourcery.com>
997
998         * io/unit.c (get_unit): Remove superfluous if.
999
1000 2004-08-31  Paul Brook  <paul@codesourcery.com>
1001
1002         * io/transfer.c (read_sf): Rename uinty to readlen.  Detect EOF.
1003         (finalize_transfer): Move setjmp after namlist IO.
1004         * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
1005
1006 2004-08-31  Paul Brook  <paul@codesourcery.com>
1007
1008         * list_read.c (eat_separator): Set at_eo when a '/' is seen.
1009
1010 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1011
1012         * libgfortran.h: Replace 'gfc_strlen_type' by
1013         'gfc_charlen_type'. Update comment accordingly.
1014         * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
1015         Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
1016
1017 2004-08-31  Paul Brook  <paul@codesourcery.com>
1018
1019         * libgfortran.h: Add comments.
1020
1021 2004-08-30  Richard Henderson  <rth@redhat.com>
1022
1023         * Makefile.am (gfor_helper_src): Split selected_kind.f90.
1024         (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
1025         (selected_int_kind.inc selected_real_kind.inc): New rules.
1026         * Makefile.in: Regenerate.
1027         * mk-sik-inc.sh, mk-srk-inc.sh: New files.
1028         * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
1029         include table of detected kinds.
1030         * intrinsics/selected_real_kind.f90: Similarly.
1031
1032 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
1033         Paul Brook  <paul@codesourcery.com>
1034
1035         * intrinsics/bessel.c: New file.
1036         * intrinsics/erf.c: New file.
1037         * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
1038         * configure.ac: Test for C99 Bessel and Error functions.
1039         * Makefile.in: Regenerate.
1040         * config.h.in: Regenerate.
1041         * configure: Regenerate.
1042
1043 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
1044         Paul Brook  <paul@codesourcery.com>
1045
1046         * Makefile.am: Add intrinsics/getXid.c.
1047         * configure.ac: Add tests for get{g,p,u}id.
1048         * config.h.in: Regenerate.
1049         * Makefile.in: Regenerate.
1050         * configure: Regenerate.
1051
1052 2004-08-28  Paul Brook  <paul@codesourcery.com>
1053
1054         PR libfortran/17195
1055         * libgfortran.h (rtoa): Remove prototype.
1056         * runtime/error.c (rtoa): Remove.
1057         * io/write.c (calculate_G_format): Don't add blanks if E format is
1058         used.  Add correct number of blanks when exponent width is specified.
1059         (output_float): Rewrite.
1060
1061 2004-08-27  Paul Brook  <paul@codesourcery.com>
1062
1063         * io/rewind.c (st_rewind): Reset unit to read mode.
1064
1065 2004-08-27  Bud Davis  <bdavis9659@comcast.net>
1066
1067         PR fortran/16597
1068         * io/io.h: created typedef for unit_mode.
1069         * io/io.h (gfc_unit): added mode to unit structure.
1070         * io/transfer.c (data_transfer_init): flush if a write then
1071         read is done on a unit (direct access files).
1072         * io/rewind.c (st_rewind): Used unit mode instead of global.
1073
1074 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
1075
1076         PR fortran/17143
1077         * runtime/error.c (itoa): keep from overflowing during
1078         mod operation by using unsigned variable.
1079
1080 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
1081
1082         PR fortran/17164
1083         * runtime/string_intrinsics.c (string_index):check for
1084         substring longer than string.
1085
1086 2004-08-24  David Edelsohn  <edelsohn@gnu.org>
1087
1088         * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
1089         * Makefile.in: Rebuilt.
1090
1091 2004-08-23  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1092
1093         * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
1094         Fix formatting issues, update copyright years.
1095
1096 2004-08-21  Bud Davis  <bdavis9659@comcast.net>
1097
1098         PR 16908
1099         * io/transfer.c (next_record_w): Do not blank pad.
1100         * io/transfer.c (next_record): Take into account partial records.
1101
1102 2004-08-18  Victor Leikehman  <lei@il.ibm.com>
1103
1104         PR fortran/13278
1105         * io/transfer.c (st_set_nml_var)
1106         * io/write.c (namelist_write): Allow var_name and var_name_len to be
1107         null. For strings, use string_length field instead of len.
1108         * io/io.h (struct namelist_type): New field string_length.
1109         (st_set_nml_var_char): New argument string_length.
1110
1111 2004-08-13  Bud Davis  <bdavis9659@comcast.net>
1112
1113         PR gfortran/16935
1114         * io/open.c (st_open): use flags instead of the unit structure.
1115
1116 2004-08-10  Victor Leikehman  <lei@il.ibm.com>
1117
1118         * io/list_read.c (namelist_read): Convert variable names
1119         to lower case, so that mixed-case names are recognized.
1120         Don't read beyond terminating slash.
1121
1122 2004-08-09  Richard Henderson  <rth@redhat.com>
1123             Roger Sayle  <roger@eyesopen.com>
1124
1125         * intrinsics/c99_functions.c (nextafterf): New implementation that
1126         works correctly with denormalized numbers.
1127
1128 2004-08-09  Victor Leikehman  <lei@il.ibm.com>
1129
1130         * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
1131         intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
1132         Allocate space if return value has NULL in its data field.
1133         * generated/*.c: Regenerate.
1134
1135 2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>
1136
1137         * intrinsics/env.c: New file.
1138         * Makefile.am: Add env.c to build.
1139         * Makefile.in: Regenerate.
1140
1141 2004-08-05  Victor Leikehman  <lei@il.ibm.com>
1142
1143         PR libgfortran/16704
1144         * io/read.c (read_radix): Understand letters f and F as hex digits.
1145
1146 2004-08-04  Victor Leikehman  <lei@il.ibm.com>
1147
1148         * libgfortran.h (array_t, size0) New declarations.
1149         * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
1150         space if return value descriptor has NULL in its data field,
1151         and initialize bounds and stride.
1152         * intrinsics/size.c (array_t, size0): Declarations moved to
1153         libgfortran.h.
1154         * generated/*.c: Regenerate.
1155
1156 2004-08-03  Roger Sayle  <roger@eyesopen.com>
1157
1158         PR libgfortran/16137
1159         * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
1160         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
1161         scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
1162         * config.h.in: Regenerate.
1163         * configure: Regenerate.
1164
1165         * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
1166         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
1167         nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
1168         implementations for targets that don't support C99 float functions.
1169
1170 2004-08-01  Roger Sayle  <roger@eyesopen.com>
1171
1172         * io/write.c (write_float): Use the slightly more portable isnan
1173         in preference to isinf.
1174
1175 2004-07-18  Bud Davis  <bdavis9659@comcast.net>
1176
1177         * configure.ac: Add check for LFS support.
1178         * configure: Regenerate
1179
1180 2004-07-11  Paul Brook  <paul@codesourcery.com>
1181
1182         PR fortran/16303
1183         * m4/cexp.m4 (carg): Return -pi to pi.
1184         * generated/exp_c?.c: Regenerate.
1185
1186 2004-07-08  Andreas Krebbel  <krebbel1@de.ibm.com>
1187
1188         PR fortran/16291
1189         * libgfortran/io/write.c: (write_float): Added length check.
1190         Remove pointless memset calls.
1191
1192 2004-07-04  Bud Davis  <bdavis9659@comcast.net>
1193             Paul Brook  <paul@codesourcery.com>
1194
1195         PR fortran/15472
1196         * io/transfer.c(us_write): set recl for seq unform writes to max size.
1197         * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
1198         * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
1199         right time.
1200         * io/unix.c(is_seekable): set based upon the file/device, not the
1201         method being used to access it (fd or mmap).
1202         * io/unix.c(fd_flush): don't set file_size if !seekable.
1203         * io/unix.c(fd_truncate: ditto.
1204
1205 2004-07-04  Janne Blomqvist  <jblomqvi@cc.hut.fi>
1206         Paul Brook  <paul@codesourcery.com>
1207
1208         PR fortran/15280
1209         PR fortran/15665
1210         * libgfortran.h (gfc_strlen_type): Define.
1211         * intrinsics/args.c (getarg): Rename ...
1212         (getarg_i4): ... to this.
1213         (getarg_i8, get_command_argument_i4, get_command_argument_i8,
1214         get_command_i4, get_command_i8): New functions.
1215
1216 2004-07-04  Matthias Klose  <doko@debian.org>
1217
1218         * libtool-version: New.
1219         * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
1220         * Makefile.in: Regenerate.
1221         * configure.ac: Remove libtool_VERSION macro
1222         * configure: Regenerate
1223
1224 2004-06-30  Steve Kargl  <sgk@troutmask.apl.washington.edu>
1225             Steven Bosscher  <stevenb@suse.de>
1226
1227         * intrinsics/rand.c (rand): Wrap the irand() call from the previous
1228         commit in prefix.
1229
1230 2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1231         Paul Brook  <paul@codesourcery.com>
1232
1233         * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
1234         comments.
1235         * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
1236
1237 2004-06-27  Bud Davis  <bdavis9659@comcast.net>
1238
1239         PR gfortran/12839
1240         * io/write.c (write_float): check signbit for Infinity.
1241
1242 2004-06-26  Bud Davis  <bdavis9659@comcast.net>
1243
1244         PR gfortran/16196
1245         * unix.c(regular_file): create file if it does not exist.
1246
1247 2004-06-24  Andrew Pinski  <apinski@apple.com>
1248
1249         * configure.ac: Remove check for libmx.
1250         * configure: Regenerate.
1251
1252 2004-06-22  Janne Blomqvist  <jblomqvi@cc.hut.fi>
1253
1254         PR fortran/15750
1255         * inquire.c (st_inquire): Add comment
1256         * io.h (st_parameter): Add iolength.
1257         (st_iolength, st_iolength_done): Declare.
1258         * transfer.c (iolength_transfer, iolength_transfer_init,
1259         st_iolength, st_iolength_done): New functions.
1260
1261 2004-06-21  Steven G. Kargl  <kargls@comcast.net>
1262
1263         * etime.c (etime_sub): Remove array rank check;
1264         Add check for sufficient space.
1265
1266 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
1267
1268         PR gfortran/16080
1269         * io/list_read.c(set_value): fixed spelling.
1270
1271 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
1272
1273         PR gfortran/16080
1274         * io/list_read.c(set_value): don't copy if the string is null.
1275
1276 2004-06-14  Bud Davis  <bdavis9659@comcast.net>
1277
1278         PR gfortran/15292
1279         * intrinsics/c99_functions.c: Use fpclassify if it exists.
1280
1281 2004-06-13  Paul Brook  <paul@codesourcery.com>
1282
1283         * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
1284         * configure.ac: Add checks for nextafter and nextafterf.
1285         * Makefile.in, config.h.in, configure: Regenerate.
1286         * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
1287         * intrinsics/rand.c (rand): Use normalize_r4_i4.
1288         * intrinsics/random.c (random_r4): Use normalize_r4_i4.
1289         (random_r8): Use normalize_r8_i8.
1290         * runtime/normalize.c: New file.
1291
1292 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
1293             Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1294
1295         * random.c: Fix several spelling and formatting mistakes in
1296         comments.
1297         (random_r8): Fix loop to make random numbers range in [0,1(.
1298
1299
1300 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
1301
1302         * random.c (random_r4): Burn a random number.
1303         (random_r8): fix infinite loop.
1304
1305 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
1306       Steve Kargl  <sgk@troutmask.apl.washington.edu>
1307
1308         PR gfortran/15292
1309         * intrinsics/c99_functions.c: New file.
1310         * Makefile.am: Add new file.
1311         * configure.ac: Added test for round/roundf.
1312         * Makefile.in: Regenerate.
1313         * configure: Regenerate.
1314         * configure.h.in: Regenerate.
1315
1316 2004-06-12  Steven G. Kargl  <kargls@comcast.net>
1317
1318         * Makefile.am: Add rand.c and etime.c
1319         * Makefile.in: Regenerated.
1320         * aclocal.in: Regenerated.
1321         * cpu_time.c (second_sub, second): New functions.
1322         * rand.c (irand, rand, srand): New file.
1323         * etime.c (etime_sub, etime): New file.
1324
1325 2004-06-12  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1326             Steven Bosscher  <stevenb@suse.de>
1327
1328         PR fortran/14923
1329         * intrinsics/date_and_time.c: New file.
1330         * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
1331         * Makefile.in, aclocal.m4: Regenerate.
1332         * libgfortran.h: Prototype date_and_time().
1333
1334 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
1335
1336         PR fortran/15665
1337         * intrinsics/args.c: Implement GETARG and IARGC.
1338         * Makefile.am: Add it.
1339         * Makefile.in: Regenerate.
1340
1341 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
1342
1343         PR gfortran/12839
1344         * io/write.c(write_float): Format inf and nan IAW F2003.
1345
1346 2004-06-09  Bud Davis  <bdavis9659@comcaste.net>
1347
1348         PR gfortran/14897
1349         * io/transfer.c (formatted_transfer): position is unique
1350          for T and TL edit descriptors.
1351         (data_transfer_init): set record length to size of internal
1352          file.
1353
1354 2004-06-09  Bud Davis  <bdavis9659@comcast.net>
1355
1356         PR gfortran/15755
1357         * io/backspace.c(st_backspace): call correct routine for
1358         formatted and un-formatted units.
1359
1360 2004-05-30  Andreas Jaeger  <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
1361
1362         PR gfortran/11800
1363         * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
1364         (lib_LTLIBRARIES): Rename to ...
1365         (toolexeclib_LTLIBRARIES): this for multilib support.
1366         * configure.in: Rename to ...
1367         * configure.ac: this.  Update to modern autoconf style, enable
1368         multilibs, support --enable-version-specific-runtime-libs.
1369         * Makefile.in: Regenerated.
1370         * configure: Regenerated.
1371         * aclocal.m4: Regenerated.
1372
1373 2004-05-30  Steven G. Kargl  <kargls@comcast.net>
1374
1375         * libgfortran.h (random_seed): Update prototype.
1376         * intrinsics/random.c: Disable old implementation and add new one.
1377
1378 2004-05-30  Andreas Jaeger  <aj@suse.de>
1379
1380         * intrinsics/random.c: Include unistd.h for close and read
1381         prototypes, remove unneeded inclusion of assert.h.
1382
1383         * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
1384         unneeded inclusion of assert.h.
1385
1386 2004-05-27  Tobias Schlueter  <tobias.shclueter@physik.uni-muenchen.de>
1387
1388         PR fortran/15234
1389         * intrinsics/associated.c: Remove enum.
1390         (associated): Replace TRUE/FALSE by 1/0.
1391
1392 2004-05-23  Steven G. Kargl  <kargls@comcast.net>
1393
1394         * random.c (random_seed): Use correct variable.
1395
1396 2004-05-22  Steven G. Kargl  <kargls@comcast.net>
1397
1398         * intrinsics/system_clock: New file.
1399         * Makefile.am: Add intrinsics/system_clock.c.
1400         * Makefile.in: Regenerate.
1401
1402 2004-05-21  Roger Sayle  <roger@eyesopen.com>
1403
1404         * io/format.c (parse_format_list): Allow the comma after a string
1405         literal to be optional.
1406
1407 2004-05-18  Paul Brook  <paul@codesourcery.com>
1408         Feng Wang  <fengwang@nudt.edu.cn>
1409
1410         * Makefile.am (i_pow_c): Set it. Add build rule.
1411         (gfor_built_src): Use it.
1412         (m4_files): add m4/pow.m4.
1413         * Makefile.in: Regenerate.
1414         * m4/pow.m4: New file.
1415         * generated/pow_*.c: Regenerate.
1416
1417 2004-05-18  Paul Brook  <paul@codesourcery.com>
1418
1419         * Makefile.am: Remove references to types.m4.
1420         * m4/iparm.m4: Merge with types.m4.
1421         * m4/types.m4: Remove.
1422         * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
1423         m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
1424         m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
1425         m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
1426         m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
1427         m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
1428         Update to use new iparm.m4.
1429         * generated/*.c: Regenerate.
1430
1431 2004-05-18  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1432
1433         PR fortran/15235
1434         * gfortran.h (offset_t): Rename to ...
1435         (gfc_offset): ... this.
1436         * io/backspace.c (formatted_backspace, unformatted_backspace),
1437         io/io.h (stream, gfc_unit, global_t, file_length, file_position),
1438         transfer.c (us_read, us_write, next_record_r, next_record_w),
1439         io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
1440         fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
1441         mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
1442         mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
1443         occurences of offset_t by gfc_offset.
1444
1445 2004-05-16  Paul Brook  <paul@codesourcery.com>
1446
1447         * io/format.c (write_real): Don't include padding in format.
1448
1449 2004-05-16  Paul Brook  <paul@codesourcery.com>
1450
1451         * io/format.c (format_lex): Make c an int.
1452
1453 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
1454         Paul Brook  <paul@codesourcery.com>
1455
1456         * io/write.c (write_logical): Don't print extra blank.
1457         (write_integer): Base field width on kind.
1458         (list_formatted_write): Output initial blank.
1459
1460 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
1461
1462         * io/io.h (flush): Add prototype.
1463         * io/transfer.c (finalize_transfer): Flush partial records.
1464         * io/unix.c (flush): New function.
1465
1466 2004-05-15  Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1467
1468         PR fortran/15234
1469         * io/io.h (unit_t): Rename to ...
1470         (gfc_unit) ... this.
1471         (unit_root, current_unit, find_file, find_unit, get_unit): Now
1472         of type gfc_unit.
1473         (delete_file, insert_unit, close_unit): Argument now of type
1474         gfc_unit.
1475         * backspace.c (st_backspace), close.c (st_close), endfile.c
1476         (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
1477         (test_endfile, edit_modes, new_unit, already_open, st_open),
1478         rewind.c (st_rewind), transfer.c (current_unit), unit.c
1479         (internal_unit, unit_cache, rotate_left, rotate_right, insert,
1480         insert_unit, delete_root, delete_treap, delete_unit, find_unit,
1481         get_unit, init_units, close_unit), unix.c (find_file0,
1482         find_file, delete_file): Replace all occurences of unit_t by
1483         gfc_unit.
1484
1485 2004-05-15  Bud Davis  <bdavis9659@comcast.net>
1486
1487         PR fortran/15311
1488         * io/write.c (write_a): right justify A edit output.
1489
1490 2004-05-14  Bud Davis  <bdavis9659@comcast.net>
1491
1492         PR fortran/15149
1493         * libgfortan.h,intrinsics/random.c: Made random_seed visible.
1494         * runtime/main.c(init): Call random_seed as part of MAIN init.
1495
1496 2004-05-13  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>
1497
1498         * io/format.c: (parse_format_list): No comma is required after
1499         P descriptor.
1500
1501 2004-05-13  Bud Davis  <bdavis9659@comcast.net>
1502
1503         PR fortran/15204
1504         * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
1505
1506 2004-05-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1507             Steven Bosscher  <stevenb@suse.de>
1508
1509         PR libfortran/15234
1510         * libgfortran.h: Include <inttypes.h> if available.
1511
1512 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1513
1514         * io/unix.c (MAP_FAILED): Define if missing.
1515         (mmap_alloc): Cast MAP_FAILED to char *.
1516         (mmap_open): Likewise.
1517
1518 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
1519
1520         * generated/_abs_i8.f90: New file.
1521         * generated/_abs_c4.f90: New file.
1522         * generated/_abs_c8.f90: New file.
1523         * Makefile.am: Add them.
1524         * Makefile.in: Regenerate.
1525 `
1526 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
1527
1528         PR fortran/14056
1529         * generated/_abs_i4.f90: New file.
1530         * Makefile.am: Add it.
1531         * Makefile.in: Regenerate.
1532
1533 2004-04-25  Bud Davis  <bdavis9659@comcast.net>
1534
1535         PR fortran/14942
1536         * io/list_read.c(list_formatted_read): finish consuming the
1537         spaces and seperators at eoln to get ready for next item.
1538
1539 2004-04-23  Bud Davis  <bdavis9659@comcast.net>
1540
1541         PR fortran/15113
1542         * io/read.c(read_a): Handle field width > destination and no field width.
1543
1544 2004-04-22  Bud Davis  <bdavis9659@comcast.net>
1545
1546         PR fortran/14906
1547         * io/format.c (format_item): gracefully handle a ')'
1548         when it is the first character encountered in the string.
1549
1550 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
1551
1552         PR fortran/14904
1553         * io/transfer.c (next_record): Update last_record when
1554         more than one record is written to a direct access file
1555         with one write statement.
1556
1557 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
1558
1559         PR fortran/14901
1560         * io/transfer.c (next_record_w) : No '\n' if internal.
1561         * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
1562
1563 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
1564
1565         * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
1566         Will need to change this later to support direct access files > 2gb.
1567
1568 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1569
1570         PR gfortran/14762
1571         * io/transfer.c (next_record_r) : Skip to next record.
1572
1573 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1574
1575         PR gfortran/14836
1576         * io/transfer.c (next_record): Update last_record for DIRECT
1577
1578 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1579
1580         PR gfortran/14837
1581         * io/unix.c (find_file0): Use fd field of struct
1582
1583 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
1584
1585         PR 14831
1586         * io/inquire.c (inquire_via_unit): Changed return string for
1587         BLANK=NULL. Use correct variable for ACTION.
1588
1589 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
1590
1591         PR 14746
1592         * io/read.c (read_f): Allow a decimal without a leading digit.
1593         * io/write.c (output_float): remove a leading '0' to keep from
1594         overflowing the field (F edit descriptor).
1595
1596 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
1597
1598         PR gfortran/14565
1599         * io/open.c (new_unit),
1600         * io/io.h : new_unit is now visible
1601         * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
1602         * io/transfer.c (data_transfer_init): remove compile warnings.
1603         * io/rewind.c (st_rewind): ftruncate if writing.
1604
1605 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1606
1607         * write.c (write_l): Use extract_int for 'L' edit descriptor.
1608
1609 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1610
1611         PR 13919
1612         * io/io.h (global_t):
1613         * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
1614           Move eof_jmp to a global structure.
1615         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
1616
1617 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1618
1619         * m4/cexp.m4 (csqrt): Actually use the passed value.
1620         * generated/exp_c?.c: Regenerate.
1621
1622 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
1623
1624         PR 12921
1625         * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
1626         * open.c (new_unit): Moved test for positioned direct access error.
1627         (init_units): Corrected calculation of max records.
1628
1629 2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>
1630
1631         * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
1632         * Makefile.in: Regenerate.
1633         * m4/dotprodc.m4: New file. Implement complex dot_product.
1634         * m4/dotprod.m4: Delete the complex implementation.
1635         * generated/dotprod_*: Update.
1636
1637 2004-02-07  Bud Davis  <bdavis9659@comcast.net>
1638
1639         * transfer.c (write_constant_string): Do not delete H's in hollerith
1640         formats.
1641
1642 2004-01-05  Andrew Pinski  <apinski@apple.com>
1643
1644         * configure.in: Check for csin in -lmx also.
1645         * configure: Regenerate.
1646
1647 2004-01-01  Paul Brook  <paul@codesourcery.com>
1648
1649         * io/list_read.c (find_nml_node): Make static.
1650         (match_namelist_name): Ditto.
1651         * io/read.c (convert_precision_real): Make static, fix spelling.
1652         * io/transfer.c (extract_real): Remove unused prototype.
1653         (st_set_nml_var): Make static.
1654         * io/write.c (extract_real): Make static.
1655
1656 2003-12-12  Huang Chun <chunhuang73@hotmal.com>
1657
1658         * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
1659
1660 2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
1661
1662         * io/transfer.c (data_transfer_init): Give a runtime error for list
1663         formatted reads and writes from/to files opened for unformatted IO.
1664
1665 2003-11-30  Paul Brook  <paul@nowt.org>
1666
1667         * runtime/memory.c (push_context): Remove.
1668         (pop_context): Remove.
1669         * libgfortran.h: Remove prototypes.
1670
1671 2003-11-27  Paul Brook  <paul@nowt.org>
1672
1673         * runtime/memory.c (deallocate): Nullify pointer after freeing.
1674
1675 2003-11-27  Paul Brook  <paul@nowt.org>
1676
1677         * intrinsics/string_intrinsics.c: Use new memory allocation interface.
1678         * libgfortran.h: Ditto.
1679         * m4/in_pack.m4: Ditto.
1680         * runtime/in_pack_generic.c: Ditto.
1681         * runtime/memory.c: Ditto.
1682
1683 2003-11-26  Richard Henderson  <rth@redhat.com>
1684
1685         * m4/exponent.m4, m4/fraction.m4: New.
1686         * m4/nearest.m4, m4/set_exponent.m4: New.
1687         * generated/*: Update.
1688         * Makefile.am: Add them.
1689         (AM_CFLAGS): New.  Use -std=gnu99.
1690         * Makefile.in: Regenerate.
1691
1692 2003-11-08  Paul Brook  <paul@nowt.org>
1693
1694         PR fortran/12704
1695         * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
1696         * m4/maxloc1.m4: Ditto.
1697         * m4/minloc0.m4: Ditto.
1698         * m4/minloc1.m4: Ditto.
1699         * m4/ifunction.m4: Set return value for zero sized arrays.
1700         * m4/iforeach.m4: Ditto.
1701         * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
1702         m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
1703         * generated/*: Update.
1704
1705 2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
1706
1707         PR fortran/12702
1708         * io/list_read.c (eat_spaces): Treat tab as space.
1709
1710 2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
1711
1712         * intrinsics/random.c: Add reference to paper containing algorithm.
1713         (random_seed): Extra error checking and proper handling of arrays.
1714         (arandom_r4, arandom_r8): Implement.
1715
1716 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
1717
1718         PR fortran/12703
1719         * runtime/memory.c (allocate_size): Allow allocation
1720         of zero-sized objects.
1721
1722 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
1723
1724         PR fortran/12701
1725         * open.c (new_unit): Open without a file name opens
1726         a file with name fort.<unit>.
1727
1728 2003-10-12  Feng Wang  <wf_cs@yahoo.com>
1729
1730         * intrinsics/cshift0.c: New file.
1731         * m4/cshift1.m4: New file
1732         * generated/cshift*.c: New files.
1733         * Makefile.am: Add them.
1734         * Makefile.in: Regenerate.
1735
1736 2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
1737
1738         * io/list_read.c (read_character): Remove unwanted call to free_saved.
1739
1740 2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
1741
1742         * intrinsics/string_intrinsics.c (string_trim): New function.
1743         (string_repeat): New function.
1744
1745 2003-10-11  Paul Brook  <paul@nowt.org>
1746
1747         * intrinsics/dprod_r8.f90: New file.
1748         * Makefile.am (gfor_specific_src): Add it.
1749         (gfor_built_specific_src): Rename from gfor_build_specific_c.
1750         Add new intrinsics.
1751         (gfor_specific2_src): Rename from gfor_built_specific2_c.
1752         Add new intrinsics.
1753         * Makefile.in: Regenerate.
1754         * generated/_aint_*.f90: New files.
1755         * generated/_anint*.f90: New files.
1756         * generated/_atan2*.f90: New files.
1757         * generated/_mod*.f90: New files.
1758
1759 2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
1760
1761         * intrinsics/selected_kind.f90: New file.
1762         * Makefile.am: Add it.
1763         * Makefile.in: regenerate.
1764
1765 2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
1766         Paul Brook  <paul@nowt.org>
1767
1768         * intrinsics/random.c: New file.
1769         * Makefile.am (gfor_hemper_src): Add it.
1770         (gfor_specific_c): Fix typo.
1771
1772 2003-09-19  Paul Brook  <paul@nowt.org>
1773
1774         * All: rename g95->gfc.
1775
1776 2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
1777
1778         * io/write.c (output_float): Fix bug of FMT_E, Add comments.
1779
1780 2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
1781
1782         * io/write.c (write_float): Dectection of positive infinite number,
1783         Not a Number(NaN) and negative infinite number.
1784         (ioutput_float): Bug fix for FMT_E and FMT_D processing to
1785         output a very_very small number ( < 0.1e-100 ).
1786
1787 2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
1788
1789         * libgfortran.h (xtoa, itoa): Parameter modified.
1790         * io/io.h (namelist_info): Declaration to support namelist I/O
1791         (st_parameter): Add namelist related component
1792         (ionml, empty_internal_buffer, st_set_nml_var_int,
1793         st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
1794         st_set_nml_var_log): Declaration
1795         (set_integer, set_integer): Parameter changed
1796         * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
1797          fnodes
1798         (parse_format_list): Fix bug about FMT_SLASH
1799         * io/list_read.c (push_char): Totally clear old saved_string, zeroize
1800         newly allocated saved_string
1801         (next_char): Add detection of End_Of_Line support
1802         (convert_integer): Now can process 64 bits interger
1803         (read_real): Bug fixed
1804         (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1805         (match_namelist_name): New implemention
1806         * io/lock.c (ionml): New global variable
1807         (library_end): Free memory in ionml
1808         * io/open.c (st_open): Variable initializtion
1809         * io/read.c (max_value): 64 bits interger support
1810         (convert_precsion_real): New procedure to replace "strtod" with more
1811          features
1812         (read_f, read_radix): Input bug fix
1813         * io/transfer.c: (sf_seen_eor): New static variable
1814         (read_sf): Zeroize base buffer; fix bugs: single read statement can
1815         not get input in mutli line when read from stdin
1816         (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1817          request
1818         (data_transfer_init): Clear internal buffer for Internel File I/O.
1819         Internal File now worked. Detect some error condition for namelist.
1820         Some minor bug fix
1821         (next_record_w): Internal file and Namelist I/O support.
1822         (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1823         st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1824         * io/unit.c (implicit_unit): Deletion
1825         (get_unit): Now cannot open a unit implicitly.
1826         * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1827         mapped buffer.
1828         (mem_alloc_r_at): Internal file I/O support added
1829         (empty_internal_buffer): New function
1830         * io/write.c (extract_int): Support 64 bits interger processing
1831         (output_float): Varibale initialization
1832         (write_float): Infinite real number detection.
1833         (write_int): 64 bits integer I/O support
1834         (write_decimal): New function to output decimal number
1835         (otoa, btoa): Better implemention and 64 bits interger support
1836         (namelist_write): New function
1837         * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1838         interger support
1839
1840 2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
1841
1842         * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1843         get_mem ): Add attribute.
1844         * intrinsics/spread_generic.c (__spread): Fix spelling.
1845         * io/inquire.c (inquire_via_filename): Add const.
1846         * io/io.h (sys_exit): Add attribute.
1847         * io/io.h (move_pos_offset): Add move_pos_offset.
1848         * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1849         inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1850         inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1851         write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1852         write_z): Add const.
1853         * io/read.c (convert_real): Add const.
1854         * io/transfer.c (type_name): Add const.
1855         * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1856         inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1857         inquire_read, inquire_write, inquire_readwrite): Add const.
1858         * io/write.c (output_float): Remove unused variable.
1859         * io/write.c (write_a, extract_int, extract_real, output_float,
1860         write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1861         write_e, write_f, write_en, write_es, write_logical, write_integer,
1862         write_character, write_real, write_complex): Add const.
1863         * runtime/error.c (rtoa): Remove unused variable.
1864         * runtime/select.c (select_string): Add const.
1865         * runtime/stop.c (stop_string): Add const.
1866
1867 2003-08-10  Paul Brook  <paul@nowt.org>
1868
1869         * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1870         (FFLAGS): Add -fno-underscoring.
1871         * Makefile.in: Regenerate.
1872         * intrinsics/abort.c: New file.
1873
1874 2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
1875
1876         * fmain.c (main): Do not call init and cleanup; call set_args instead.
1877         * libgfortran.h (init, cleanup): Remove declarations.
1878         (set_args): Add declaration.
1879         * runtime/main.c (init, cleanup): Make them static, and give them
1880         the constructor and destructor attributes.
1881         (set_args): New function.
1882
1883 2003-08-10  Paul Brook  <paul@nowt.org>
1884
1885         * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1886         on which string is longest.
1887
1888 2003-08-10  Paul Brook  <paul@nowt.org>
1889
1890         * Makefile.am (EXTRA_DIST): Remove old files.
1891         * Makefile.in: Regenerate.
1892
1893 2003-07-26  Paul Brook  <paul@nowt.org>
1894
1895         Rename library to libgfortran.
1896         * libgfortran.h: Change prefix to _libgfortran_.
1897
1898 2003-07-24  Paul Brook  <paul@nowt.org>
1899
1900         * configure.in: Don't pull in system libtool.  Use toplevel
1901         auxiliary files.
1902
1903 2003-07-22  Paul Brook  <paul@nowt.org>
1904
1905         Regenerate all configury files.
1906
1907 2003-07-09  Chun Huang  <compiler@sohu.com>
1908
1909         * intrinsics/string_intrinsic.c (string_scan): New function.
1910         (string_verify): New function.
1911
1912 2003-06-25  Paul Brook  <paul@nowt.org>
1913
1914         * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1915         (mem_seek): Don't bother setting physical_offset.
1916
1917 2003-06-20  Paul Brook  <paul@nowt.org>
1918
1919         * libgfor.h (stop_numeric): Declare.
1920         * runtime/pause.c: New file.
1921         * Makefile.am: Add it.
1922
1923 2003-06-08  Paul Brook  <paul@nowt.org>
1924
1925         * m4/cexp.m4 (cabs): Use correct typed version.
1926         (csqrt): New function.
1927
1928 2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
1929
1930         Spotted by Benjamin and Tobias:
1931         * io/list_read.c: Add Separator '\t'.
1932         (parse_real, read_real): Accept real values starting with an optional
1933         sign follows a decimal point.
1934
1935 2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
1936
1937         * Makefile.am: Don't put cmath objects in subdir.
1938         * configure.in: Rename MATHOBJ to MATH_OBJ.
1939
1940 2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
1941
1942         * intrinsics/associated.c: New file.
1943         * Makefile.am: Add it. Regenerate Makefile.in.
1944         * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1945         G95_DESCRIPTOR_DTYPE.
1946
1947 2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
1948
1949         * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1950         (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1951         the scale_factor to 0 for F editing.
1952
1953 2003-05-11  Tobias Schlüter  <innenminister@gmx.de>
1954
1955         * libgfor.h: Only include stdint.h if it exists.
1956
1957 2003-05-07  Paul Brook  <paul@nowt.org>
1958
1959         * libgfor.h: Use stdint.h types.
1960         * intrinsics/ishift.c: Ditto.
1961         * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1962
1963 2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
1964
1965         * libgfor.h (offsetof): Define if nobody else does.
1966         * runtime/memory.c (HEADER_SIZE): Use it.
1967
1968 2003-05-01  Tobias Schlüter  <innenminister@gmx.de>
1969
1970         * configure.in: Require autoconf 2.54.
1971
1972 2003-04-28  Tobias Schlüter  <innenminister@gmx.de>
1973         Paul Brook  <paul@nowt.org>
1974
1975         * intrinsics/reshape_generic.c: Copy the whole element, not just the
1976         first byte.
1977         * m4/transpose.m4: New file.
1978         * Makefile.am: Add them.
1979         Regenerate generated files.
1980
1981 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1982
1983         * io/format.c (parse_format_list): Allow 'X' without integer
1984         prefix.  This is an extension.  Interpretation is '1X'.
1985
1986 2003-04-18  Tobias Schlüter  <Tobias.Schlueter@physik.uni-muenchen.de>
1987
1988         * io/format.c (parse_format_list): Allow '0P'.
1989
1990 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1991
1992         * Makefile.in: Re-regenerate for automake 1.7.3.
1993
1994 2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
1995
1996         Port implementation for CHARACTER SELECT from Andy's tree.
1997         * runtime/select.c: New file
1998         * Makefile.am: Add it.
1999         * Makefile.in: Regenerate.
2000
2001 2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
2002
2003         * io/transfer.c (formatted_transfer): Modified
2004         * io/unix.c (move_pos_offset): New Function.
2005         * io/format.c (parse_format_list): Modified.
2006
2007 2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
2008
2009         * io/write.c (write_float,write_real): New implemention of
2010         FMT_G and default float editing.
2011         (calculate_exp,calculate_G_format,output_float): New Function.
2012         (write_float,write_real,write_logical): Modified
2013         * libgfor.h (default_rtoa): Remove Declaration.
2014         * runtime/error.c (default_rtoa): Remove Function.
2015
2016 2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
2017
2018         Spotted by Yang:
2019         * io/write.c (extract_real): Add missing break statement.
2020
2021 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
2022
2023         * cpu_time.c: Make sure we have a definition of HZ.  Don't
2024         rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
2025
2026 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
2027             Paul Brook  <paul@nowt.org>
2028
2029         * configure.in: Check for process time headers and GETTIMEOFDAY.
2030         * makefile.am: Add intrinsics/cpu_time.c.
2031         * acinclude.m4: New file.
2032         * intrinsics/cpu_time.c: New file.
2033         * m4/dotprodl.m4: Fix typo.
2034         Regenerate generated files.
2035
2036 2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
2037
2038         * io/write.c (extract_real): Ouput floating point value.
2039         (write_float): New Function.
2040         (write_e, write_f, write_en, write_es): Modified
2041         * io/transfer.c (formatted_transfer): Modified.
2042         * libgfor.h (default_rtoa): Declaration.
2043         (rtoa): Declaration.
2044         * runtime/error.c (default_rtoa): New Function.
2045         (rtoa): New Function.
2046
2047 2003-04-05  Paul Brook  <paul@nowt.org>
2048
2049         * intrinsics/spread_generic.c: New file.
2050         * Makefile.am: Add it. Regenerate Makefile.in.
2051
2052 2003-03-29  Paul Brook  <paul@nowt.org>
2053
2054         * intrinsics/pack_generic.c: New file.
2055         * intrinsics/unpack_generic.c: New file.
2056         * Makefile.am: Add them. Regenerate Makefile.in.
2057
2058 2003-03-25  Paul Brook  <paul@nowt.org>
2059
2060         * intrinsics/eoshift0.c: New file.
2061         * intrinsics/eoshift2.c: New file.
2062         * m4/eoshift1.m4: New file.
2063         * m4/eoshift3.m4: New file.
2064         * Makefile.am: Add them.
2065         * in_unpack_generic.c: Initialize src.
2066         Regenerate generated files.
2067
2068 2003-03-14  Paul Brook  <paul@nowt.org>
2069
2070         * m4/shape.m4: Work properly with array temporaries.
2071         * m4/in_pack.m4: Skip redundant checks for array temporaries.
2072         * runtime/in_pack_generic.c: Ditto.
2073
2074 2003-03-12  Paul Brook  <paul@nowt.org>
2075
2076         * m4/shape.m4: Work properly with noncontiguous arrays.
2077
2078 2003-03-08  Paul Brook  <paul@nowt.org>
2079
2080         * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
2081         * runtime/in_pack_generic.c: Ditto.
2082
2083 2003-02-08  Paul Brook  <paul@nowt.org>
2084
2085         * intrinsics/reshape_generic.c: Use runtime_error to report errors.
2086         * io/close.c (st_close): Return void.
2087         * io/open.c (st_open): Return void.
2088         * libgfor.h (g95_array_char): Declare.
2089         (internal_malloc_size): Ditto.
2090         (internal_pack*, internal_unpack*): Ditto.
2091         * m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
2092         arrays.
2093         * m4/in_unpack.m4: Include file fixes.
2094         * m4/reshape.m4: Increment the correct source pointer.
2095         * Makefile.am (maxloc): Fix typo.
2096         * runtime/in_pack_generic.c: Call optimized functions. Allocate
2097         storage if neccessary. Fix logic for packed arrays.
2098         * runtime/in_unpack_generic.c: Call optimized functions.
2099         * runtime/main.c: Use runtime_error to report errors.
2100         * memory.c (internal_malloc_size): Make non-static.
2101
2102 2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
2103
2104         * reshape_packed.c, lock.c: Add #include <string.h>.
2105         * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
2106         environ.c, error.c, memory.c, string.c: Add const.
2107         * error.c (show_locus): Add void.
2108
2109 2003-02-21  Paul Brook  <paul@nowt.org>
2110
2111         * m4/in_pack.m4: Avoid returning const * parameter.
2112         * Makefile.am: Only regenerate files in maintainer mode.
2113
2114 2003-02-20  Paul Brook  <paul@nowt.org>
2115
2116         Add array repacking support functions.
2117         * m4/in_pack.m4, m4/in_unpack.m4: New files.
2118         * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
2119         * Makefile.am: Build them.  Regenerate configury files.
2120         * generated/: New directory for generated files (need to move
2121         everything else there).
2122
2123 2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
2124
2125         * m4/cexp.m4: Fix typo.
2126
2127 2003-01-26  Paul Brook  <paul@nowt.org>
2128
2129         * intrinsics/: Add missing generated files.
2130
2131 2003-01-26  Paul Brook  <paul@nowt.org>
2132
2133         * Makefile.am: Put -I before the filename.
2134
2135 2003-01-24  Paul Brook  <paul@nowt.org>
2136
2137         * configure.in: Add AM_MAINTAINER_MODE.
2138
2139 2003-01-23  Paul Brook  <paul@nowt.org>
2140
2141         * configure.in, Makefile.am: Modify to work with unmodified autoconf
2142         and auotmake.
2143         Also regenerate other configury files.
2144
2145 2003-01-21  Paul Brook  <paul@nowt.org>
2146
2147         * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
2148
2149 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
2150
2151         * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
2152         Don't include "alloca.h".
2153
2154 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
2155
2156         * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
2157         * Makefile.am: Adjust file name.
2158         * Makefile.in: Regenerate.
2159         * gfortypes.h: Kill, include everything in...
2160         * libgfor.h: ...here.  Include config.h
2161         * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
2162         intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
2163         intrinsics/reshape_packed.c, intrinsics/size.c,
2164         m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
2165         for prefix for all functions instead of hardcoded.
2166
2167 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
2168
2169         * io/lock.c (library_end): Propagate library return
2170         code.
2171
2172 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
2173
2174         Port fixes from Andy's tree:
2175         * io/read.c (read_decimal): Reverse sense of overflow
2176         comparison during integer reads.
2177         * io/format.c (revert): Fix comment.
2178         (next_format): Fix format revision.
2179         * io/unix.c: Fix and simplify mmap version of stream
2180         functions.
2181
2182 2003-01-11  Paul Brook  <paul@nowt.org>
2183
2184         * configure, Makefile.in: Regenerate.
2185
2186 2003-01-11  Paul Brook  <paul@nowt.org>
2187
2188         * runtime/stop.c: Rewrite.
2189
2190 2003-01-08  Paul Brook  <paul@nowt.org>
2191
2192         * configure, Makefile.in: Regenerate.
2193
2194 2003-01-05  Paul Brook  <paul@nowt.org>
2195
2196         * (*.m4) Move to m4/.
2197         * intrinsics/string.c (_gfor_string_index): New Function.
2198
2199 2002-12-29  Paul Brook  <paul@nowt.org>
2200
2201         * intrinsics/reshape.*: New files.
2202         * gcc_config.patch: Update to new GCC configure system.
2203
2204 2002-10-10  Paul Brook  <paul@nowt.org>
2205
2206         * intrinsics/size.c: New file.
2207         * intrinsics/shape.m4: New file.
2208         * Makefile.am: Add above files.
2209
2210 2002-10-02  Paul Brook  <paul@nowt.org>
2211
2212         * fmain.c (main): Move here.
2213         * libgfor.c: From here.
2214         * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
2215         * Makefile.am: Build libgforbegin.
2216         * gcc_config.patch: Remove stray -march=athlon.
2217         * dotprodl.m4: Fix use of L8_TO_L4 macro.
2218         * ifunction.m4: Move variable declarations to allow compilation with
2219         gcc < 3.0
2220         * specific.m4, specific4.m4: Fix typo typecode->type_code.
2221         * README: Document use of patch -p1.
2222
2223 2002-09-12  Paul Brook  <paul@nowt.org>
2224
2225         * math/*: Add complex math library functions.
2226         * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
2227         * Makefile.am: Add details for above.
2228         * configure.in: Use AC_PROG_F95.  Test for the presence of csin.
2229
2230 2002-09-09  Paul Brook  <paul@nowt.org>
2231
2232         * libgfor.c (determine_endianness): Use an array rather than a struct.
2233         * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
2234
2235 2002-09-09  Steven Bosscher  <s.bosscher@student.tudelft.nl>
2236
2237         * libgfor.c: Add fatal signal handler.
2238         Romove superfluous abort() calls.
2239
2240 2002-09-07  Paul Brook <paul@nowt.org>
2241
2242         * Makefile.am, intrinsics: Major rewrite.
2243
2244 2002-09-02  Paul Brook <paul@nowt.org>
2245
2246         * Makefile.am: Added -I$(srcdir) to m4 rule.
2247
2248 2002-08-30  Paul Brook <paul@nowt.org>
2249
2250         * io/*: Integrated libgforio.
2251         * Makefile.am, configure.in: Make compatable with GCC. Build code for
2252         intrinsics in the intrisics directory.
2253         * intrinsics/intrinsics.m4: Move here. Strip directories from the
2254         filename. Add 'and' and 'all' intrinsics.
2255
2256 2002-08-17  Paul Brook <paul@nowt.org>
2257
2258         * ALL: First release as more than just a single file