OSDN Git Service

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