OSDN Git Service

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