OSDN Git Service

* io/io.h (flush): Add prototype.
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
2
3         * io/io.h (flush): Add prototype.
4         * io/transfer.c (finalize_transfer): Flush partial records.
5         * io/unix.c (flush): New function.
6
7 2004-05-15  Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
8
9         PR fortran/15234
10         * io/io.h (unit_t): Rename to ...
11         (gfc_unit) ... this.
12         (unit_root, current_unit, find_file, find_unit, get_unit): Now
13         of type gfc_unit.
14         (delete_file, insert_unit, close_unit): Argument now of type
15         gfc_unit.
16         * backspace.c (st_backspace), close.c (st_close), endfile.c
17         (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
18         (test_endfile, edit_modes, new_unit, already_open, st_open),
19         rewind.c (st_rewind), transfer.c (current_unit), unit.c
20         (internal_unit, unit_cache, rotate_left, rotate_right, insert,
21         insert_unit, delete_root, delete_treap, delete_unit, find_unit,
22         get_unit, init_units, close_unit), unix.c (find_file0,
23         find_file, delete_file): Replace all occurences of unit_t by
24         gfc_unit.
25
26 2004-05-15  Bud Davis  <bdavis9659@comcast.net>
27
28         PR fortran/15311
29         * io/write.c (write_a): right justify A edit output.
30
31 2004-05-14  Bud Davis  <bdavis9659@comcast.net>
32
33         PR fortran/15149
34         * libgfortan.h,intrinsics/random.c: Made random_seed visible.
35         * runtime/main.c(init): Call random_seed as part of MAIN init.
36
37 2004-05-13  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>
38
39         * io/format.c: (parse_format_list): No comma is required after
40         P descriptor.
41
42 2004-05-13  Bud Davis  <bdavis9659@comcast.net>
43
44         PR fortran/15204
45         * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
46
47 2004-05-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
48             Steven Bosscher  <stevenb@suse.de>
49
50         PR libfortran/15234
51         * libgfortran.h: Include <inttypes.h> if available.
52
53 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
54
55         * io/unix.c (MAP_FAILED): Define if missing.
56         (mmap_alloc): Cast MAP_FAILED to char *.
57         (mmap_open): Likewise.
58
59 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
60
61         * generated/_abs_i8.f90: New file.
62         * generated/_abs_c4.f90: New file.
63         * generated/_abs_c8.f90: New file.
64         * Makefile.am: Add them.
65         * Makefile.in: Regenerate.
66 `
67 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
68
69         PR fortran/14056
70         * generated/_abs_i4.f90: New file.
71         * Makefile.am: Add it.
72         * Makefile.in: Regenerate.
73
74 2004-04-25  Bud Davis  <bdavis9659@comcast.net>
75
76         PR fortran/14942
77         * io/list_read.c(list_formatted_read): finish consuming the
78         spaces and seperators at eoln to get ready for next item.
79
80 2004-04-23  Bud Davis  <bdavis9659@comcast.net>
81
82         PR fortran/15113
83         * io/read.c(read_a): Handle field width > destination and no field width.
84
85 2004-04-22  Bud Davis  <bdavis9659@comcast.net>
86
87         PR fortran/14906
88         * io/format.c (format_item): gracefully handle a ')'
89         when it is the first character encountered in the string.
90
91 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
92
93         PR fortran/14904
94         * io/transfer.c (next_record): Update last_record when
95         more than one record is written to a direct access file
96         with one write statement.
97
98 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
99
100         PR fortran/14901
101         * io/transfer.c (next_record_w) : No '\n' if internal.
102         * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
103
104 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
105
106         * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
107         Will need to change this later to support direct access files > 2gb.
108
109 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
110
111         PR gfortran/14762
112         * io/transfer.c (next_record_r) : Skip to next record.
113
114 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
115
116         PR gfortran/14836
117         * io/transfer.c (next_record): Update last_record for DIRECT
118
119 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
120
121         PR gfortran/14837
122         * io/unix.c (find_file0): Use fd field of struct
123
124 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
125  
126         PR 14831
127         * io/inquire.c (inquire_via_unit): Changed return string for
128         BLANK=NULL. Use correct variable for ACTION.
129
130 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
131
132         PR 14746
133         * io/read.c (read_f): Allow a decimal without a leading digit.
134         * io/write.c (output_float): remove a leading '0' to keep from
135         overflowing the field (F edit descriptor).
136
137 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
138
139         PR gfortran/14565
140         * io/open.c (new_unit),
141         * io/io.h : new_unit is now visible
142         * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
143         * io/transfer.c (data_transfer_init): remove compile warnings.
144         * io/rewind.c (st_rewind): ftruncate if writing.
145
146 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
147
148         * write.c (write_l): Use extract_int for 'L' edit descriptor.
149
150 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
151
152         PR 13919
153         * io/io.h (global_t):
154         * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
155           Move eof_jmp to a global structure.
156         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
157
158 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
159
160         * m4/cexp.m4 (csqrt): Actually use the passed value.
161         * generated/exp_c?.c: Regenerate.
162
163 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
164
165         PR 12921
166         * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
167         * open.c (new_unit): Moved test for positioned direct access error.
168         (init_units): Corrected calculation of max records.
169
170 2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>
171
172         * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
173         * Makefile.in: Regenerate.
174         * m4/dotprodc.m4: New file. Implement complex dot_product.
175         * m4/dotprod.m4: Delete the complex implementation.
176         * generated/dotprod_*: Update.
177
178 2004-02-07  Bud Davis  <bdavis9659@comcast.net>
179
180         * transfer.c (write_constant_string): Do not delete H's in hollerith
181         formats.
182
183 2004-01-05  Andrew Pinski  <apinski@apple.com>
184
185         * configure.in: Check for csin in -lmx also.
186         * configure: Regenerate.
187
188 2004-01-01  Paul Brook  <paul@codesourcery.com>
189
190         * io/list_read.c (find_nml_node): Make static.
191         (match_namelist_name): Ditto.
192         * io/read.c (convert_precision_real): Make static, fix spelling.
193         * io/transfer.c (extract_real): Remove unused prototype.
194         (st_set_nml_var): Make static.
195         * io/write.c (extract_real): Make static.
196
197 2003-12-12  Huang Chun <chunhuang73@hotmal.com>
198
199         * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
200
201 2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
202
203         * io/transfer.c (data_transfer_init): Give a runtime error for list
204         formatted reads and writes from/to files opened for unformatted IO.
205
206 2003-11-30  Paul Brook  <paul@nowt.org>
207
208         * runtime/memory.c (push_context): Remove.
209         (pop_context): Remove.
210         * libgfortran.h: Remove prototypes.
211
212 2003-11-27  Paul Brook  <paul@nowt.org>
213
214         * runtime/memory.c (deallocate): Nullify pointer after freeing.
215
216 2003-11-27  Paul Brook  <paul@nowt.org>
217
218         * intrinsics/string_intrinsics.c: Use new memory allocation interface.
219         * libgfortran.h: Ditto.
220         * m4/in_pack.m4: Ditto.
221         * runtime/in_pack_generic.c: Ditto.
222         * runtime/memory.c: Ditto.
223
224 2003-11-26  Richard Henderson  <rth@redhat.com>
225
226         * m4/exponent.m4, m4/fraction.m4: New.
227         * m4/nearest.m4, m4/set_exponent.m4: New.
228         * generated/*: Update.
229         * Makefile.am: Add them.
230         (AM_CFLAGS): New.  Use -std=gnu99.
231         * Makefile.in: Regenerate.
232
233 2003-11-08  Paul Brook  <paul@nowt.org>
234
235         PR fortran/12704
236         * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
237         * m4/maxloc1.m4: Ditto.
238         * m4/minloc0.m4: Ditto.
239         * m4/minloc1.m4: Ditto.
240         * m4/ifunction.m4: Set return value for zero sized arrays.
241         * m4/iforeach.m4: Ditto.
242         * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4, 
243         m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
244         * generated/*: Update.
245
246 2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
247
248         PR fortran/12702
249         * io/list_read.c (eat_spaces): Treat tab as space.
250
251 2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
252
253         * intrinsics/random.c: Add reference to paper containing algorithm.
254         (random_seed): Extra error checking and proper handling of arrays.
255         (arandom_r4, arandom_r8): Implement.
256
257 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
258
259         PR fortran/12703
260         * runtime/memory.c (allocate_size): Allow allocation
261         of zero-sized objects.
262
263 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
264
265         PR fortran/12701
266         * open.c (new_unit): Open without a file name opens
267         a file with name fort.<unit>.
268
269 2003-10-12  Feng Wang  <wf_cs@yahoo.com>
270
271         * intrinsics/cshift0.c: New file.
272         * m4/cshift1.m4: New file
273         * generated/cshift*.c: New files.
274         * Makefile.am: Add them.
275         * Makefile.in: Regenerate.
276
277 2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
278
279         * io/list_read.c (read_character): Remove unwanted call to free_saved.
280
281 2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
282
283         * intrinsics/string_intrinsics.c (string_trim): New function.
284         (string_repeat): New function.
285
286 2003-10-11  Paul Brook  <paul@nowt.org>
287
288         * intrinsics/dprod_r8.f90: New file.
289         * Makefile.am (gfor_specific_src): Add it.
290         (gfor_built_specific_src): Rename from gfor_build_specific_c.
291         Add new intrinsics.
292         (gfor_specific2_src): Rename from gfor_built_specific2_c.
293         Add new intrinsics.
294         * Makefile.in: Regenerate.
295         * generated/_aint_*.f90: New files.
296         * generated/_anint*.f90: New files.
297         * generated/_atan2*.f90: New files.
298         * generated/_mod*.f90: New files.
299
300 2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
301  
302         * intrinsics/selected_kind.f90: New file.
303         * Makefile.am: Add it.
304         * Makefile.in: regenerate.
305
306 2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
307         Paul Brook  <paul@nowt.org>
308
309         * intrinsics/random.c: New file.
310         * Makefile.am (gfor_hemper_src): Add it.
311         (gfor_specific_c): Fix typo.
312
313 2003-09-19  Paul Brook  <paul@nowt.org>
314
315         * All: rename g95->gfc.
316
317 2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
318
319         * io/write.c (output_float): Fix bug of FMT_E, Add comments.
320
321 2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
322
323         * io/write.c (write_float): Dectection of positive infinite number,
324         Not a Number(NaN) and negative infinite number.
325         (ioutput_float): Bug fix for FMT_E and FMT_D processing to
326         output a very_very small number ( < 0.1e-100 ).
327
328 2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
329
330         * libgfortran.h (xtoa, itoa): Parameter modified.
331         * io/io.h (namelist_info): Declaration to support namelist I/O
332         (st_parameter): Add namelist related component
333         (ionml, empty_internal_buffer, st_set_nml_var_int, 
334         st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
335         st_set_nml_var_log): Declaration
336         (set_integer, set_integer): Parameter changed
337         * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
338          fnodes
339         (parse_format_list): Fix bug about FMT_SLASH
340         * io/list_read.c (push_char): Totally clear old saved_string, zeroize
341         newly allocated saved_string
342         (next_char): Add detection of End_Of_Line support
343         (convert_integer): Now can process 64 bits interger
344         (read_real): Bug fixed
345         (init_at_eol, find_nml_node, match_namelist_name): Add new functions 
346         (match_namelist_name): New implemention
347         * io/lock.c (ionml): New global variable
348         (library_end): Free memory in ionml
349         * io/open.c (st_open): Variable initializtion
350         * io/read.c (max_value): 64 bits interger support
351         (convert_precsion_real): New procedure to replace "strtod" with more
352          features
353         (read_f, read_radix): Input bug fix
354         * io/transfer.c: (sf_seen_eor): New static variable
355         (read_sf): Zeroize base buffer; fix bugs: single read statement can 
356         not get input in mutli line when read from stdin
357         (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
358          request
359         (data_transfer_init): Clear internal buffer for Internel File I/O. 
360         Internal File now worked. Detect some error condition for namelist.
361         Some minor bug fix
362         (next_record_w): Internal file and Namelist I/O support.
363         (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
364         st_set_nml_var_complex, st_set_nml_var_log): Implemention.
365         * io/unit.c (implicit_unit): Deletion
366         (get_unit): Now cannot open a unit implicitly.
367         * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
368         mapped buffer.
369         (mem_alloc_r_at): Internal file I/O support added
370         (empty_internal_buffer): New function
371         * io/write.c (extract_int): Support 64 bits interger processing
372         (output_float): Varibale initialization
373         (write_float): Infinite real number detection.
374         (write_int): 64 bits integer I/O support
375         (write_decimal): New function to output decimal number
376         (otoa, btoa): Better implemention and 64 bits interger support
377         (namelist_write): New function
378         * runtime/error.c (itoa, xtoa): Better implemention and 64 bits 
379         interger support
380
381 2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
382
383         * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
384         get_mem ): Add attribute.
385         * intrinsics/spread_generic.c (__spread): Fix spelling.
386         * io/inquire.c (inquire_via_filename): Add const.
387         * io/io.h (sys_exit): Add attribute.
388         * io/io.h (move_pos_offset): Add move_pos_offset.
389         * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
390         inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
391         inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
392         write_en, write_es, write_f, write_i, write_l, write_o, write_x,
393         write_z): Add const.
394         * io/read.c (convert_real): Add const.
395         * io/transfer.c (type_name): Add const.
396         * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
397         inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
398         inquire_read, inquire_write, inquire_readwrite): Add const.
399         * io/write.c (output_float): Remove unused variable.
400         * io/write.c (write_a, extract_int, extract_real, output_float,
401         write_float, write_int, write_i, write_b, write_o, write_z, write_d,
402         write_e, write_f, write_en, write_es, write_logical, write_integer,
403         write_character, write_real, write_complex): Add const.
404         * runtime/error.c (rtoa): Remove unused variable.
405         * runtime/select.c (select_string): Add const.
406         * runtime/stop.c (stop_string): Add const.
407
408 2003-08-10  Paul Brook  <paul@nowt.org>
409
410         * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
411         (FFLAGS): Add -fno-underscoring.
412         * Makefile.in: Regenerate.
413         * intrinsics/abort.c: New file.
414
415 2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
416
417         * fmain.c (main): Do not call init and cleanup; call set_args instead.
418         * libgfortran.h (init, cleanup): Remove declarations.
419         (set_args): Add declaration.
420         * runtime/main.c (init, cleanup): Make them static, and give them
421         the constructor and destructor attributes.
422         (set_args): New function.
423
424 2003-08-10  Paul Brook  <paul@nowt.org>
425
426         * intrinsics/strinf_intrinsics.c (compare_string): Return value based
427         on which string is longest.
428
429 2003-08-10  Paul Brook  <paul@nowt.org>
430
431         * Makefile.am (EXTRA_DIST): Remove old files.
432         * Makefile.in: Regenerate.
433
434 2003-07-26  Paul Brook  <paul@nowt.org>
435
436         Rename library to libgfortran.
437         * libgfortran.h: Change prefix to _libgfortran_.
438
439 2003-07-24  Paul Brook  <paul@nowt.org>
440
441         * configure.in: Don't pull in system libtool.  Use toplevel
442         auxiliary files.
443
444 2003-07-22  Paul Brook  <paul@nowt.org>
445
446         Regenerate all configury files.
447
448 2003-07-09  Chun Huang  <compiler@sohu.com>
449
450         * intrinsics/string_intrinsic.c (string_scan): New function.
451         (string_verify): New function.
452
453 2003-06-25  Paul Brook  <paul@nowt.org>
454
455         * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
456         (mem_seek): Don't bother setting physical_offset.
457
458 2003-06-20  Paul Brook  <paul@nowt.org>
459
460         * libgfor.h (stop_numeric): Declare.
461         * runtime/pause.c: New file.
462         * Makefile.am: Add it.
463
464 2003-06-08  Paul Brook  <paul@nowt.org>
465
466         * m4/cexp.m4 (cabs): Use correct typed version.
467         (csqrt): New function.
468
469 2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
470
471         Spotted by Benjamin and Tobias:
472         * io/list_read.c: Add Separator '\t'.
473         (parse_real, read_real): Accept real values starting with an optional
474         sign follows a decimal point.
475  
476 2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
477
478         * Makefile.am: Don't put cmath objects in subdir.
479         * configure.in: Rename MATHOBJ to MATH_OBJ.
480
481 2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
482
483         * intrinsics/associated.c: New file.
484         * Makefile.am: Add it. Regenerate Makefile.in.
485         * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
486         G95_DESCRIPTOR_DTYPE.
487
488 2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
489
490         * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
491         (calculate_G_format): Rewrite it to eliminate an infinte loop and set
492         the scale_factor to 0 for F editing.
493
494 2003-05-11  Tobias Schlüter  <innenminister@gmx.de>
495
496         * libgfor.h: Only include stdint.h if it exists.
497
498 2003-05-07  Paul Brook  <paul@nowt.org>
499
500         * libgfor.h: Use stdint.h types.
501         * intrinsics/ishift.c: Ditto.
502         * runtime/memory.c (malloc_t): Reorder fields for better alignment.
503
504 2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
505
506         * libgfor.h (offsetof): Define if nobody else does.
507         * runtime/memory.c (HEADER_SIZE): Use it.
508
509 2003-05-01  Tobias Schlüter  <innenminister@gmx.de>
510
511         * configure.in: Require autoconf 2.54.
512
513 2003-04-28  Tobias Schlüter  <innenminister@gmx.de>
514         Paul Brook  <paul@nowt.org>
515
516         * intrinsics/reshape_generic.c: Copy the whole element, not just the
517         first byte.
518         * m4/transpose.m4: New file.
519         * Makefile.am: Add them.
520         Regenerate generated files.
521
522 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
523
524         * io/format.c (parse_format_list): Allow 'X' without integer
525         prefix.  This is an extension.  Interpretation is '1X'.
526
527 2003-04-18  Tobias Schlüter  <Tobias.Schlueter@physik.uni-muenchen.de>
528
529         * io/format.c (parse_format_list): Allow '0P'.
530
531 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
532
533         * Makefile.in: Re-regenerate for automake 1.7.3.
534
535 2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
536
537         Port implementation for CHARACTER SELECT from Andy's tree.
538         * runtime/select.c: New file
539         * Makefile.am: Add it.
540         * Makefile.in: Regenerate.
541
542 2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
543
544         * io/transfer.c (formatted_transfer): Modified
545         * io/unix.c (move_pos_offset): New Function.
546         * io/format.c (parse_format_list): Modified.
547
548 2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
549
550         * io/write.c (write_float,write_real): New implemention of
551         FMT_G and default float editing.
552         (calculate_exp,calculate_G_format,output_float): New Function.
553         (write_float,write_real,write_logical): Modified
554         * libgfor.h (default_rtoa): Remove Declaration.
555         * runtime/error.c (default_rtoa): Remove Function.
556
557 2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
558
559         Spotted by Yang:
560         * io/write.c (extract_real): Add missing break statement.
561
562 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
563
564         * cpu_time.c: Make sure we have a definition of HZ.  Don't
565         rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
566
567 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
568             Paul Brook  <paul@nowt.org>
569
570         * configure.in: Check for process time headers and GETTIMEOFDAY.
571         * makefile.am: Add intrinsics/cpu_time.c.
572         * acinclude.m4: New file.
573         * intrinsics/cpu_time.c: New file.
574         * m4/dotprodl.m4: Fix typo.
575         Regenerate generated files.
576
577 2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
578
579         * io/write.c (extract_real): Ouput floating point value.
580         (write_float): New Function.
581         (write_e, write_f, write_en, write_es): Modified
582         * io/transfer.c (formatted_transfer): Modified.
583         * libgfor.h (default_rtoa): Declaration.
584         (rtoa): Declaration.
585         * runtime/error.c (default_rtoa): New Function.
586         (rtoa): New Function.
587
588 2003-04-05  Paul Brook  <paul@nowt.org>
589
590         * intrinsics/spread_generic.c: New file.
591         * Makefile.am: Add it. Regenerate Makefile.in.
592
593 2003-03-29  Paul Brook  <paul@nowt.org>
594
595         * intrinsics/pack_generic.c: New file.
596         * intrinsics/unpack_generic.c: New file.
597         * Makefile.am: Add them. Regenerate Makefile.in.
598
599 2003-03-25  Paul Brook  <paul@nowt.org>
600
601         * intrinsics/eoshift0.c: New file.
602         * intrinsics/eoshift2.c: New file.
603         * m4/eoshift1.m4: New file.
604         * m4/eoshift3.m4: New file.
605         * Makefile.am: Add them.
606         * in_unpack_generic.c: Initialize src.
607         Regenerate generated files.
608
609 2003-03-14  Paul Brook  <paul@nowt.org>
610
611         * m4/shape.m4: Work properly with array temporaries.
612         * m4/in_pack.m4: Skip redundant checks for array temporaries.
613         * runtime/in_pack_generic.c: Ditto.
614
615 2003-03-12  Paul Brook  <paul@nowt.org>
616
617         * m4/shape.m4: Work properly with noncontiguous arrays.
618
619 2003-03-08  Paul Brook  <paul@nowt.org>
620
621         * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
622         * runtime/in_pack_generic.c: Ditto.
623
624 2003-02-08  Paul Brook  <paul@nowt.org>
625
626         * intrinsics/reshape_generic.c: Use runtime_error to report errors.
627         * io/close.c (st_close): Return void.
628         * io/open.c (st_open): Return void.
629         * libgfor.h (g95_array_char): Declare.
630         (internal_malloc_size): Ditto.
631         (internal_pack*, internal_unpack*): Ditto.
632         * m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
633         arrays.
634         * m4/in_unpack.m4: Include file fixes.
635         * m4/reshape.m4: Increment the correct source pointer.
636         * Makefile.am (maxloc): Fix typo.
637         * runtime/in_pack_generic.c: Call optimized functions. Allocate
638         storage if neccessary. Fix logic for packed arrays.
639         * runtime/in_unpack_generic.c: Call optimized functions.
640         * runtime/main.c: Use runtime_error to report errors.
641         * memory.c (internal_malloc_size): Make non-static.
642
643 2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
644
645         * reshape_packed.c, lock.c: Add #include <string.h>.
646         * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c, 
647         environ.c, error.c, memory.c, string.c: Add const.
648         * error.c (show_locus): Add void.
649
650 2003-02-21  Paul Brook  <paul@nowt.org>
651
652         * m4/in_pack.m4: Avoid returning const * parameter.
653         * Makefile.am: Only regenerate files in maintainer mode.
654
655 2003-02-20  Paul Brook  <paul@nowt.org>
656
657         Add array repacking support functions.
658         * m4/in_pack.m4, m4/in_unpack.m4: New files.
659         * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
660         * Makefile.am: Build them.  Regenerate configury files.
661         * generated/: New directory for generated files (need to move
662         everything else there).
663
664 2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
665
666         * m4/cexp.m4: Fix typo.
667
668 2003-01-26  Paul Brook  <paul@nowt.org>
669
670         * intrinsics/: Add missing generated files.
671
672 2003-01-26  Paul Brook  <paul@nowt.org>
673
674         * Makefile.am: Put -I before the filename.
675
676 2003-01-24  Paul Brook  <paul@nowt.org>
677
678         * configure.in: Add AM_MAINTAINER_MODE.
679
680 2003-01-23  Paul Brook  <paul@nowt.org>
681
682         * configure.in, Makefile.am: Modify to work with unmodified autoconf
683         and auotmake.
684         Also regenerate other configury files.
685
686 2003-01-21  Paul Brook  <paul@nowt.org>
687
688         * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
689
690 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
691
692         * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
693         Don't include "alloca.h".
694
695 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
696
697         * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
698         * Makefile.am: Adjust file name.
699         * Makefile.in: Regenerate.
700         * gfortypes.h: Kill, include everything in...
701         * libgfor.h: ...here.  Include config.h
702         * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
703         intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
704         intrinsics/reshape_packed.c, intrinsics/size.c,
705         m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
706         for prefix for all functions instead of hardcoded.
707
708 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
709
710         * io/lock.c (library_end): Propagate library return
711         code.
712         
713 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
714
715         Port fixes from Andy's tree:
716         * io/read.c (read_decimal): Reverse sense of overflow
717         comparison during integer reads.
718         * io/format.c (revert): Fix comment.
719         (next_format): Fix format revision.
720         * io/unix.c: Fix and simplify mmap version of stream
721         functions.
722
723 2003-01-11  Paul Brook  <paul@nowt.org>
724
725         * configure, Makefile.in: Regenerate.
726
727 2003-01-11  Paul Brook  <paul@nowt.org>
728
729         * runtime/stop.c: Rewrite.
730
731 2003-01-08  Paul Brook  <paul@nowt.org>
732
733         * configure, Makefile.in: Regenerate.
734
735 2003-01-05  Paul Brook  <paul@nowt.org>
736
737         * (*.m4) Move to m4/.
738         * intrinsics/string.c (_gfor_string_index): New Function.
739
740 2002-12-29  Paul Brook  <paul@nowt.org>
741
742         * intrinsics/reshape.*: New files.
743         * gcc_config.patch: Update to new GCC configure system.
744
745 2002-10-10  Paul Brook  <paul@nowt.org>
746
747         * intrinsics/size.c: New file.
748         * intrinsics/shape.m4: New file.
749         * Makefile.am: Add above files.
750
751 2002-10-02  Paul Brook  <paul@nowt.org>
752
753         * fmain.c (main): Move here.
754         * libgfor.c: From here.
755         * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
756         * Makefile.am: Build libgforbegin.
757         * gcc_config.patch: Remove stray -march=athlon.
758         * dotprodl.m4: Fix use of L8_TO_L4 macro.
759         * ifunction.m4: Move variable declarations to allow compilation with
760         gcc < 3.0
761         * specific.m4, specific4.m4: Fix typo typecode->type_code.
762         * README: Document use of patch -p1.
763
764 2002-09-12  Paul Brook  <paul@nowt.org>
765
766         * math/*: Add complex math library functions.
767         * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
768         * Makefile.am: Add details for above.
769         * configure.in: Use AC_PROG_F95.  Test for the presence of csin.
770
771 2002-09-09  Paul Brook  <paul@nowt.org>
772
773         * libgfor.c (determine_endianness): Use an array rather than a struct.
774         * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
775
776 2002-09-09  Steven Bosscher  <s.bosscher@student.tudelft.nl>
777
778         * libgfor.c: Add fatal signal handler.
779         Romove superfluous abort() calls.
780
781 2002-09-07  Paul Brook <paul@nowt.org>
782
783         * Makefile.am, intrinsics: Major rewrite.
784
785 2002-09-02  Paul Brook <paul@nowt.org>
786
787         * Makefile.am: Added -I$(srcdir) to m4 rule.
788
789 2002-08-30  Paul Brook <paul@nowt.org>
790
791         * io/*: Integrated libgforio.
792         * Makefile.am, configure.in: Make compatable with GCC. Build code for
793         intrinsics in the intrisics directory.
794         * intrinsics/intrinsics.m4: Move here. Strip directories from the
795         filename. Add 'and' and 'all' intrinsics.
796
797 2002-08-17  Paul Brook <paul@nowt.org>
798
799         * ALL: First release as more than just a single file