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