OSDN Git Service

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