OSDN Git Service

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