OSDN Git Service

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