OSDN Git Service

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