1 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
3 * io/io.h (flush): Add prototype.
4 * io/transfer.c (finalize_transfer): Flush partial records.
5 * io/unix.c (flush): New function.
7 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
10 * io/io.h (unit_t): Rename to ...
12 (unit_root, current_unit, find_file, find_unit, get_unit): Now
14 (delete_file, insert_unit, close_unit): Argument now of type
16 * backspace.c (st_backspace), close.c (st_close), endfile.c
17 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
18 (test_endfile, edit_modes, new_unit, already_open, st_open),
19 rewind.c (st_rewind), transfer.c (current_unit), unit.c
20 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
21 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
22 get_unit, init_units, close_unit), unix.c (find_file0,
23 find_file, delete_file): Replace all occurences of unit_t by
26 2004-05-15 Bud Davis <bdavis9659@comcast.net>
29 * io/write.c (write_a): right justify A edit output.
31 2004-05-14 Bud Davis <bdavis9659@comcast.net>
34 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
35 * runtime/main.c(init): Call random_seed as part of MAIN init.
37 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
39 * io/format.c: (parse_format_list): No comma is required after
42 2004-05-13 Bud Davis <bdavis9659@comcast.net>
45 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
47 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
48 Steven Bosscher <stevenb@suse.de>
51 * libgfortran.h: Include <inttypes.h> if available.
53 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
55 * io/unix.c (MAP_FAILED): Define if missing.
56 (mmap_alloc): Cast MAP_FAILED to char *.
57 (mmap_open): Likewise.
59 2004-04-26 Bud Davis <bdavis9659@comcast.net>
61 * generated/_abs_i8.f90: New file.
62 * generated/_abs_c4.f90: New file.
63 * generated/_abs_c8.f90: New file.
64 * Makefile.am: Add them.
65 * Makefile.in: Regenerate.
67 2004-04-26 Bud Davis <bdavis9659@comcast.net>
70 * generated/_abs_i4.f90: New file.
71 * Makefile.am: Add it.
72 * Makefile.in: Regenerate.
74 2004-04-25 Bud Davis <bdavis9659@comcast.net>
77 * io/list_read.c(list_formatted_read): finish consuming the
78 spaces and seperators at eoln to get ready for next item.
80 2004-04-23 Bud Davis <bdavis9659@comcast.net>
83 * io/read.c(read_a): Handle field width > destination and no field width.
85 2004-04-22 Bud Davis <bdavis9659@comcast.net>
88 * io/format.c (format_item): gracefully handle a ')'
89 when it is the first character encountered in the string.
91 2004-04-11 Bud Davis <bdavis9659@comcast.net>
94 * io/transfer.c (next_record): Update last_record when
95 more than one record is written to a direct access file
96 with one write statement.
98 2004-04-11 Bud Davis <bdavis9659@comcast.net>
101 * io/transfer.c (next_record_w) : No '\n' if internal.
102 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
104 2004-04-11 Bud Davis <bdavis9659@comcast.net>
106 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
107 Will need to change this later to support direct access files > 2gb.
109 2004-04-03 Bud Davis <bdavis9659@comcast.net>
112 * io/transfer.c (next_record_r) : Skip to next record.
114 2004-04-03 Bud Davis <bdavis9659@comcast.net>
117 * io/transfer.c (next_record): Update last_record for DIRECT
119 2004-04-03 Bud Davis <bdavis9659@comcast.net>
122 * io/unix.c (find_file0): Use fd field of struct
124 2004-04-03 Bud Davis <bdavis9659@comcast.net>
127 * io/inquire.c (inquire_via_unit): Changed return string for
128 BLANK=NULL. Use correct variable for ACTION.
130 2004-04-01 Bud Davis <bdavis9659@comcast.net>
133 * io/read.c (read_f): Allow a decimal without a leading digit.
134 * io/write.c (output_float): remove a leading '0' to keep from
135 overflowing the field (F edit descriptor).
137 2004-04-01 Bud Davis <bdavis9659@comcast.net>
140 * io/open.c (new_unit),
141 * io/io.h : new_unit is now visible
142 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
143 * io/transfer.c (data_transfer_init): remove compile warnings.
144 * io/rewind.c (st_rewind): ftruncate if writing.
146 2004-03-24 Bud Davis <bdavis9659@comcast.net>
148 * write.c (write_l): Use extract_int for 'L' edit descriptor.
150 2004-03-24 Bud Davis <bdavis9659@comcast.net>
153 * io/io.h (global_t):
154 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
155 Move eof_jmp to a global structure.
156 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
158 2004-03-24 Bud Davis <bdavis9659@comcast.net>
160 * m4/cexp.m4 (csqrt): Actually use the passed value.
161 * generated/exp_c?.c: Regenerate.
163 2004-03-24 Bud Davis <bdavis9659@comcast.net>
166 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
167 * open.c (new_unit): Moved test for positioned direct access error.
168 (init_units): Corrected calculation of max records.
170 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
172 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
173 * Makefile.in: Regenerate.
174 * m4/dotprodc.m4: New file. Implement complex dot_product.
175 * m4/dotprod.m4: Delete the complex implementation.
176 * generated/dotprod_*: Update.
178 2004-02-07 Bud Davis <bdavis9659@comcast.net>
180 * transfer.c (write_constant_string): Do not delete H's in hollerith
183 2004-01-05 Andrew Pinski <apinski@apple.com>
185 * configure.in: Check for csin in -lmx also.
186 * configure: Regenerate.
188 2004-01-01 Paul Brook <paul@codesourcery.com>
190 * io/list_read.c (find_nml_node): Make static.
191 (match_namelist_name): Ditto.
192 * io/read.c (convert_precision_real): Make static, fix spelling.
193 * io/transfer.c (extract_real): Remove unused prototype.
194 (st_set_nml_var): Make static.
195 * io/write.c (extract_real): Make static.
197 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
199 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
201 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
203 * io/transfer.c (data_transfer_init): Give a runtime error for list
204 formatted reads and writes from/to files opened for unformatted IO.
206 2003-11-30 Paul Brook <paul@nowt.org>
208 * runtime/memory.c (push_context): Remove.
209 (pop_context): Remove.
210 * libgfortran.h: Remove prototypes.
212 2003-11-27 Paul Brook <paul@nowt.org>
214 * runtime/memory.c (deallocate): Nullify pointer after freeing.
216 2003-11-27 Paul Brook <paul@nowt.org>
218 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
219 * libgfortran.h: Ditto.
220 * m4/in_pack.m4: Ditto.
221 * runtime/in_pack_generic.c: Ditto.
222 * runtime/memory.c: Ditto.
224 2003-11-26 Richard Henderson <rth@redhat.com>
226 * m4/exponent.m4, m4/fraction.m4: New.
227 * m4/nearest.m4, m4/set_exponent.m4: New.
228 * generated/*: Update.
229 * Makefile.am: Add them.
230 (AM_CFLAGS): New. Use -std=gnu99.
231 * Makefile.in: Regenerate.
233 2003-11-08 Paul Brook <paul@nowt.org>
236 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
237 * m4/maxloc1.m4: Ditto.
238 * m4/minloc0.m4: Ditto.
239 * m4/minloc1.m4: Ditto.
240 * m4/ifunction.m4: Set return value for zero sized arrays.
241 * m4/iforeach.m4: Ditto.
242 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
243 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
244 * generated/*: Update.
246 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
249 * io/list_read.c (eat_spaces): Treat tab as space.
251 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
253 * intrinsics/random.c: Add reference to paper containing algorithm.
254 (random_seed): Extra error checking and proper handling of arrays.
255 (arandom_r4, arandom_r8): Implement.
257 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
260 * runtime/memory.c (allocate_size): Allow allocation
261 of zero-sized objects.
263 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
266 * open.c (new_unit): Open without a file name opens
267 a file with name fort.<unit>.
269 2003-10-12 Feng Wang <wf_cs@yahoo.com>
271 * intrinsics/cshift0.c: New file.
272 * m4/cshift1.m4: New file
273 * generated/cshift*.c: New files.
274 * Makefile.am: Add them.
275 * Makefile.in: Regenerate.
277 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
279 * io/list_read.c (read_character): Remove unwanted call to free_saved.
281 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
283 * intrinsics/string_intrinsics.c (string_trim): New function.
284 (string_repeat): New function.
286 2003-10-11 Paul Brook <paul@nowt.org>
288 * intrinsics/dprod_r8.f90: New file.
289 * Makefile.am (gfor_specific_src): Add it.
290 (gfor_built_specific_src): Rename from gfor_build_specific_c.
292 (gfor_specific2_src): Rename from gfor_built_specific2_c.
294 * Makefile.in: Regenerate.
295 * generated/_aint_*.f90: New files.
296 * generated/_anint*.f90: New files.
297 * generated/_atan2*.f90: New files.
298 * generated/_mod*.f90: New files.
300 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
302 * intrinsics/selected_kind.f90: New file.
303 * Makefile.am: Add it.
304 * Makefile.in: regenerate.
306 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
307 Paul Brook <paul@nowt.org>
309 * intrinsics/random.c: New file.
310 * Makefile.am (gfor_hemper_src): Add it.
311 (gfor_specific_c): Fix typo.
313 2003-09-19 Paul Brook <paul@nowt.org>
315 * All: rename g95->gfc.
317 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
319 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
321 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
323 * io/write.c (write_float): Dectection of positive infinite number,
324 Not a Number(NaN) and negative infinite number.
325 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
326 output a very_very small number ( < 0.1e-100 ).
328 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
330 * libgfortran.h (xtoa, itoa): Parameter modified.
331 * io/io.h (namelist_info): Declaration to support namelist I/O
332 (st_parameter): Add namelist related component
333 (ionml, empty_internal_buffer, st_set_nml_var_int,
334 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
335 st_set_nml_var_log): Declaration
336 (set_integer, set_integer): Parameter changed
337 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
339 (parse_format_list): Fix bug about FMT_SLASH
340 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
341 newly allocated saved_string
342 (next_char): Add detection of End_Of_Line support
343 (convert_integer): Now can process 64 bits interger
344 (read_real): Bug fixed
345 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
346 (match_namelist_name): New implemention
347 * io/lock.c (ionml): New global variable
348 (library_end): Free memory in ionml
349 * io/open.c (st_open): Variable initializtion
350 * io/read.c (max_value): 64 bits interger support
351 (convert_precsion_real): New procedure to replace "strtod" with more
353 (read_f, read_radix): Input bug fix
354 * io/transfer.c: (sf_seen_eor): New static variable
355 (read_sf): Zeroize base buffer; fix bugs: single read statement can
356 not get input in mutli line when read from stdin
357 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
359 (data_transfer_init): Clear internal buffer for Internel File I/O.
360 Internal File now worked. Detect some error condition for namelist.
362 (next_record_w): Internal file and Namelist I/O support.
363 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
364 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
365 * io/unit.c (implicit_unit): Deletion
366 (get_unit): Now cannot open a unit implicitly.
367 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
369 (mem_alloc_r_at): Internal file I/O support added
370 (empty_internal_buffer): New function
371 * io/write.c (extract_int): Support 64 bits interger processing
372 (output_float): Varibale initialization
373 (write_float): Infinite real number detection.
374 (write_int): 64 bits integer I/O support
375 (write_decimal): New function to output decimal number
376 (otoa, btoa): Better implemention and 64 bits interger support
377 (namelist_write): New function
378 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
381 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
383 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
384 get_mem ): Add attribute.
385 * intrinsics/spread_generic.c (__spread): Fix spelling.
386 * io/inquire.c (inquire_via_filename): Add const.
387 * io/io.h (sys_exit): Add attribute.
388 * io/io.h (move_pos_offset): Add move_pos_offset.
389 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
390 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
391 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
392 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
394 * io/read.c (convert_real): Add const.
395 * io/transfer.c (type_name): Add const.
396 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
397 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
398 inquire_read, inquire_write, inquire_readwrite): Add const.
399 * io/write.c (output_float): Remove unused variable.
400 * io/write.c (write_a, extract_int, extract_real, output_float,
401 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
402 write_e, write_f, write_en, write_es, write_logical, write_integer,
403 write_character, write_real, write_complex): Add const.
404 * runtime/error.c (rtoa): Remove unused variable.
405 * runtime/select.c (select_string): Add const.
406 * runtime/stop.c (stop_string): Add const.
408 2003-08-10 Paul Brook <paul@nowt.org>
410 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
411 (FFLAGS): Add -fno-underscoring.
412 * Makefile.in: Regenerate.
413 * intrinsics/abort.c: New file.
415 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
417 * fmain.c (main): Do not call init and cleanup; call set_args instead.
418 * libgfortran.h (init, cleanup): Remove declarations.
419 (set_args): Add declaration.
420 * runtime/main.c (init, cleanup): Make them static, and give them
421 the constructor and destructor attributes.
422 (set_args): New function.
424 2003-08-10 Paul Brook <paul@nowt.org>
426 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
427 on which string is longest.
429 2003-08-10 Paul Brook <paul@nowt.org>
431 * Makefile.am (EXTRA_DIST): Remove old files.
432 * Makefile.in: Regenerate.
434 2003-07-26 Paul Brook <paul@nowt.org>
436 Rename library to libgfortran.
437 * libgfortran.h: Change prefix to _libgfortran_.
439 2003-07-24 Paul Brook <paul@nowt.org>
441 * configure.in: Don't pull in system libtool. Use toplevel
444 2003-07-22 Paul Brook <paul@nowt.org>
446 Regenerate all configury files.
448 2003-07-09 Chun Huang <compiler@sohu.com>
450 * intrinsics/string_intrinsic.c (string_scan): New function.
451 (string_verify): New function.
453 2003-06-25 Paul Brook <paul@nowt.org>
455 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
456 (mem_seek): Don't bother setting physical_offset.
458 2003-06-20 Paul Brook <paul@nowt.org>
460 * libgfor.h (stop_numeric): Declare.
461 * runtime/pause.c: New file.
462 * Makefile.am: Add it.
464 2003-06-08 Paul Brook <paul@nowt.org>
466 * m4/cexp.m4 (cabs): Use correct typed version.
467 (csqrt): New function.
469 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
471 Spotted by Benjamin and Tobias:
472 * io/list_read.c: Add Separator '\t'.
473 (parse_real, read_real): Accept real values starting with an optional
474 sign follows a decimal point.
476 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
478 * Makefile.am: Don't put cmath objects in subdir.
479 * configure.in: Rename MATHOBJ to MATH_OBJ.
481 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
483 * intrinsics/associated.c: New file.
484 * Makefile.am: Add it. Regenerate Makefile.in.
485 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
486 G95_DESCRIPTOR_DTYPE.
488 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
490 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
491 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
492 the scale_factor to 0 for F editing.
494 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
496 * libgfor.h: Only include stdint.h if it exists.
498 2003-05-07 Paul Brook <paul@nowt.org>
500 * libgfor.h: Use stdint.h types.
501 * intrinsics/ishift.c: Ditto.
502 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
504 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
506 * libgfor.h (offsetof): Define if nobody else does.
507 * runtime/memory.c (HEADER_SIZE): Use it.
509 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
511 * configure.in: Require autoconf 2.54.
513 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
514 Paul Brook <paul@nowt.org>
516 * intrinsics/reshape_generic.c: Copy the whole element, not just the
518 * m4/transpose.m4: New file.
519 * Makefile.am: Add them.
520 Regenerate generated files.
522 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
524 * io/format.c (parse_format_list): Allow 'X' without integer
525 prefix. This is an extension. Interpretation is '1X'.
527 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
529 * io/format.c (parse_format_list): Allow '0P'.
531 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
533 * Makefile.in: Re-regenerate for automake 1.7.3.
535 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
537 Port implementation for CHARACTER SELECT from Andy's tree.
538 * runtime/select.c: New file
539 * Makefile.am: Add it.
540 * Makefile.in: Regenerate.
542 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
544 * io/transfer.c (formatted_transfer): Modified
545 * io/unix.c (move_pos_offset): New Function.
546 * io/format.c (parse_format_list): Modified.
548 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
550 * io/write.c (write_float,write_real): New implemention of
551 FMT_G and default float editing.
552 (calculate_exp,calculate_G_format,output_float): New Function.
553 (write_float,write_real,write_logical): Modified
554 * libgfor.h (default_rtoa): Remove Declaration.
555 * runtime/error.c (default_rtoa): Remove Function.
557 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
560 * io/write.c (extract_real): Add missing break statement.
562 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
564 * cpu_time.c: Make sure we have a definition of HZ. Don't
565 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
567 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
568 Paul Brook <paul@nowt.org>
570 * configure.in: Check for process time headers and GETTIMEOFDAY.
571 * makefile.am: Add intrinsics/cpu_time.c.
572 * acinclude.m4: New file.
573 * intrinsics/cpu_time.c: New file.
574 * m4/dotprodl.m4: Fix typo.
575 Regenerate generated files.
577 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
579 * io/write.c (extract_real): Ouput floating point value.
580 (write_float): New Function.
581 (write_e, write_f, write_en, write_es): Modified
582 * io/transfer.c (formatted_transfer): Modified.
583 * libgfor.h (default_rtoa): Declaration.
585 * runtime/error.c (default_rtoa): New Function.
586 (rtoa): New Function.
588 2003-04-05 Paul Brook <paul@nowt.org>
590 * intrinsics/spread_generic.c: New file.
591 * Makefile.am: Add it. Regenerate Makefile.in.
593 2003-03-29 Paul Brook <paul@nowt.org>
595 * intrinsics/pack_generic.c: New file.
596 * intrinsics/unpack_generic.c: New file.
597 * Makefile.am: Add them. Regenerate Makefile.in.
599 2003-03-25 Paul Brook <paul@nowt.org>
601 * intrinsics/eoshift0.c: New file.
602 * intrinsics/eoshift2.c: New file.
603 * m4/eoshift1.m4: New file.
604 * m4/eoshift3.m4: New file.
605 * Makefile.am: Add them.
606 * in_unpack_generic.c: Initialize src.
607 Regenerate generated files.
609 2003-03-14 Paul Brook <paul@nowt.org>
611 * m4/shape.m4: Work properly with array temporaries.
612 * m4/in_pack.m4: Skip redundant checks for array temporaries.
613 * runtime/in_pack_generic.c: Ditto.
615 2003-03-12 Paul Brook <paul@nowt.org>
617 * m4/shape.m4: Work properly with noncontiguous arrays.
619 2003-03-08 Paul Brook <paul@nowt.org>
621 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
622 * runtime/in_pack_generic.c: Ditto.
624 2003-02-08 Paul Brook <paul@nowt.org>
626 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
627 * io/close.c (st_close): Return void.
628 * io/open.c (st_open): Return void.
629 * libgfor.h (g95_array_char): Declare.
630 (internal_malloc_size): Ditto.
631 (internal_pack*, internal_unpack*): Ditto.
632 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
634 * m4/in_unpack.m4: Include file fixes.
635 * m4/reshape.m4: Increment the correct source pointer.
636 * Makefile.am (maxloc): Fix typo.
637 * runtime/in_pack_generic.c: Call optimized functions. Allocate
638 storage if neccessary. Fix logic for packed arrays.
639 * runtime/in_unpack_generic.c: Call optimized functions.
640 * runtime/main.c: Use runtime_error to report errors.
641 * memory.c (internal_malloc_size): Make non-static.
643 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
645 * reshape_packed.c, lock.c: Add #include <string.h>.
646 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
647 environ.c, error.c, memory.c, string.c: Add const.
648 * error.c (show_locus): Add void.
650 2003-02-21 Paul Brook <paul@nowt.org>
652 * m4/in_pack.m4: Avoid returning const * parameter.
653 * Makefile.am: Only regenerate files in maintainer mode.
655 2003-02-20 Paul Brook <paul@nowt.org>
657 Add array repacking support functions.
658 * m4/in_pack.m4, m4/in_unpack.m4: New files.
659 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
660 * Makefile.am: Build them. Regenerate configury files.
661 * generated/: New directory for generated files (need to move
662 everything else there).
664 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
666 * m4/cexp.m4: Fix typo.
668 2003-01-26 Paul Brook <paul@nowt.org>
670 * intrinsics/: Add missing generated files.
672 2003-01-26 Paul Brook <paul@nowt.org>
674 * Makefile.am: Put -I before the filename.
676 2003-01-24 Paul Brook <paul@nowt.org>
678 * configure.in: Add AM_MAINTAINER_MODE.
680 2003-01-23 Paul Brook <paul@nowt.org>
682 * configure.in, Makefile.am: Modify to work with unmodified autoconf
684 Also regenerate other configury files.
686 2003-01-21 Paul Brook <paul@nowt.org>
688 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
690 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
692 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
693 Don't include "alloca.h".
695 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
697 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
698 * Makefile.am: Adjust file name.
699 * Makefile.in: Regenerate.
700 * gfortypes.h: Kill, include everything in...
701 * libgfor.h: ...here. Include config.h
702 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
703 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
704 intrinsics/reshape_packed.c, intrinsics/size.c,
705 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
706 for prefix for all functions instead of hardcoded.
708 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
710 * io/lock.c (library_end): Propagate library return
713 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
715 Port fixes from Andy's tree:
716 * io/read.c (read_decimal): Reverse sense of overflow
717 comparison during integer reads.
718 * io/format.c (revert): Fix comment.
719 (next_format): Fix format revision.
720 * io/unix.c: Fix and simplify mmap version of stream
723 2003-01-11 Paul Brook <paul@nowt.org>
725 * configure, Makefile.in: Regenerate.
727 2003-01-11 Paul Brook <paul@nowt.org>
729 * runtime/stop.c: Rewrite.
731 2003-01-08 Paul Brook <paul@nowt.org>
733 * configure, Makefile.in: Regenerate.
735 2003-01-05 Paul Brook <paul@nowt.org>
737 * (*.m4) Move to m4/.
738 * intrinsics/string.c (_gfor_string_index): New Function.
740 2002-12-29 Paul Brook <paul@nowt.org>
742 * intrinsics/reshape.*: New files.
743 * gcc_config.patch: Update to new GCC configure system.
745 2002-10-10 Paul Brook <paul@nowt.org>
747 * intrinsics/size.c: New file.
748 * intrinsics/shape.m4: New file.
749 * Makefile.am: Add above files.
751 2002-10-02 Paul Brook <paul@nowt.org>
753 * fmain.c (main): Move here.
754 * libgfor.c: From here.
755 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
756 * Makefile.am: Build libgforbegin.
757 * gcc_config.patch: Remove stray -march=athlon.
758 * dotprodl.m4: Fix use of L8_TO_L4 macro.
759 * ifunction.m4: Move variable declarations to allow compilation with
761 * specific.m4, specific4.m4: Fix typo typecode->type_code.
762 * README: Document use of patch -p1.
764 2002-09-12 Paul Brook <paul@nowt.org>
766 * math/*: Add complex math library functions.
767 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
768 * Makefile.am: Add details for above.
769 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
771 2002-09-09 Paul Brook <paul@nowt.org>
773 * libgfor.c (determine_endianness): Use an array rather than a struct.
774 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
776 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
778 * libgfor.c: Add fatal signal handler.
779 Romove superfluous abort() calls.
781 2002-09-07 Paul Brook <paul@nowt.org>
783 * Makefile.am, intrinsics: Major rewrite.
785 2002-09-02 Paul Brook <paul@nowt.org>
787 * Makefile.am: Added -I$(srcdir) to m4 rule.
789 2002-08-30 Paul Brook <paul@nowt.org>
791 * io/*: Integrated libgforio.
792 * Makefile.am, configure.in: Make compatable with GCC. Build code for
793 intrinsics in the intrisics directory.
794 * intrinsics/intrinsics.m4: Move here. Strip directories from the
795 filename. Add 'and' and 'all' intrinsics.
797 2002-08-17 Paul Brook <paul@nowt.org>
799 * ALL: First release as more than just a single file