OSDN Git Service

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