OSDN Git Service

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