1 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
4 * io/transfer.c (formatted_transfer): position is unique
5 for T and TL edit descriptors.
6 (data_transfer_init): set record length to size of internal
9 2004-06-09 Bud Davis <bdavis9659@comcast.net>
12 * io/backspace.c(st_backspace): call correct routine for
13 formatted and un-formatted units.
15 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
18 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
19 (lib_LTLIBRARIES): Rename to ...
20 (toolexeclib_LTLIBRARIES): this for multilib support.
21 * configure.in: Rename to ...
22 * configure.ac: this. Update to modern autoconf style, enable
23 multilibs, support --enable-version-specific-runtime-libs.
24 * Makefile.in: Regenerated.
25 * configure: Regenerated.
26 * aclocal.m4: Regenerated.
28 2004-05-30 Steven G. Kargl <kargls@comcast.net>
30 * libgfortran.h (random_seed): Update prototype.
31 * intrinsics/random.c: Disable old implementation and add new one.
33 2004-05-30 Andreas Jaeger <aj@suse.de>
35 * intrinsics/random.c: Include unistd.h for close and read
36 prototypes, remove unneeded inclusion of assert.h.
38 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
39 unneeded inclusion of assert.h.
41 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
44 * intrinsics/associated.c: Remove enum.
45 (associated): Replace TRUE/FALSE by 1/0.
47 2004-05-23 Steven G. Kargl <kargls@comcast.net>
49 * random.c (random_seed): Use correct variable.
51 2004-05-22 Steven G. Kargl <kargls@comcast.net>
53 * intrinsics/system_clock: New file.
54 * Makefile.am: Add intrinsics/system_clock.c.
55 * Makefile.in: Regenerate.
57 2004-05-21 Roger Sayle <roger@eyesopen.com>
59 * io/format.c (parse_format_list): Allow the comma after a string
60 literal to be optional.
62 2004-05-18 Paul Brook <paul@codesourcery.com>
63 Feng Wang <fengwang@nudt.edu.cn>
65 * Makefile.am (i_pow_c): Set it. Add build rule.
66 (gfor_built_src): Use it.
67 (m4_files): add m4/pow.m4.
68 * Makefile.in: Regenerate.
69 * m4/pow.m4: New file.
70 * generated/pow_*.c: Regenerate.
72 2004-05-18 Paul Brook <paul@codesourcery.com>
74 * Makefile.am: Remove references to types.m4.
75 * m4/iparm.m4: Merge with types.m4.
76 * m4/types.m4: Remove.
77 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
78 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
79 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
80 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
81 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
82 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
83 Update to use new iparm.m4.
84 * generated/*.c: Regenerate.
86 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
89 * gfortran.h (offset_t): Rename to ...
90 (gfc_offset): ... this.
91 * io/backspace.c (formatted_backspace, unformatted_backspace),
92 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
93 transfer.c (us_read, us_write, next_record_r, next_record_w),
94 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
95 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
96 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
97 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
98 occurences of offset_t by gfc_offset.
100 2004-05-16 Paul Brook <paul@codesourcery.com>
102 * io/format.c (write_real): Don't include padding in format.
104 2004-05-16 Paul Brook <paul@codesourcery.com>
106 * io/format.c (format_lex): Make c an int.
108 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
109 Paul Brook <paul@codesourcery.com>
111 * io/write.c (write_logical): Don't print extra blank.
112 (write_integer): Base field width on kind.
113 (list_formatted_write): Output initial blank.
115 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
117 * io/io.h (flush): Add prototype.
118 * io/transfer.c (finalize_transfer): Flush partial records.
119 * io/unix.c (flush): New function.
121 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
124 * io/io.h (unit_t): Rename to ...
126 (unit_root, current_unit, find_file, find_unit, get_unit): Now
128 (delete_file, insert_unit, close_unit): Argument now of type
130 * backspace.c (st_backspace), close.c (st_close), endfile.c
131 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
132 (test_endfile, edit_modes, new_unit, already_open, st_open),
133 rewind.c (st_rewind), transfer.c (current_unit), unit.c
134 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
135 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
136 get_unit, init_units, close_unit), unix.c (find_file0,
137 find_file, delete_file): Replace all occurences of unit_t by
140 2004-05-15 Bud Davis <bdavis9659@comcast.net>
143 * io/write.c (write_a): right justify A edit output.
145 2004-05-14 Bud Davis <bdavis9659@comcast.net>
148 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
149 * runtime/main.c(init): Call random_seed as part of MAIN init.
151 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
153 * io/format.c: (parse_format_list): No comma is required after
156 2004-05-13 Bud Davis <bdavis9659@comcast.net>
159 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
161 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
162 Steven Bosscher <stevenb@suse.de>
165 * libgfortran.h: Include <inttypes.h> if available.
167 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
169 * io/unix.c (MAP_FAILED): Define if missing.
170 (mmap_alloc): Cast MAP_FAILED to char *.
171 (mmap_open): Likewise.
173 2004-04-26 Bud Davis <bdavis9659@comcast.net>
175 * generated/_abs_i8.f90: New file.
176 * generated/_abs_c4.f90: New file.
177 * generated/_abs_c8.f90: New file.
178 * Makefile.am: Add them.
179 * Makefile.in: Regenerate.
181 2004-04-26 Bud Davis <bdavis9659@comcast.net>
184 * generated/_abs_i4.f90: New file.
185 * Makefile.am: Add it.
186 * Makefile.in: Regenerate.
188 2004-04-25 Bud Davis <bdavis9659@comcast.net>
191 * io/list_read.c(list_formatted_read): finish consuming the
192 spaces and seperators at eoln to get ready for next item.
194 2004-04-23 Bud Davis <bdavis9659@comcast.net>
197 * io/read.c(read_a): Handle field width > destination and no field width.
199 2004-04-22 Bud Davis <bdavis9659@comcast.net>
202 * io/format.c (format_item): gracefully handle a ')'
203 when it is the first character encountered in the string.
205 2004-04-11 Bud Davis <bdavis9659@comcast.net>
208 * io/transfer.c (next_record): Update last_record when
209 more than one record is written to a direct access file
210 with one write statement.
212 2004-04-11 Bud Davis <bdavis9659@comcast.net>
215 * io/transfer.c (next_record_w) : No '\n' if internal.
216 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
218 2004-04-11 Bud Davis <bdavis9659@comcast.net>
220 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
221 Will need to change this later to support direct access files > 2gb.
223 2004-04-03 Bud Davis <bdavis9659@comcast.net>
226 * io/transfer.c (next_record_r) : Skip to next record.
228 2004-04-03 Bud Davis <bdavis9659@comcast.net>
231 * io/transfer.c (next_record): Update last_record for DIRECT
233 2004-04-03 Bud Davis <bdavis9659@comcast.net>
236 * io/unix.c (find_file0): Use fd field of struct
238 2004-04-03 Bud Davis <bdavis9659@comcast.net>
241 * io/inquire.c (inquire_via_unit): Changed return string for
242 BLANK=NULL. Use correct variable for ACTION.
244 2004-04-01 Bud Davis <bdavis9659@comcast.net>
247 * io/read.c (read_f): Allow a decimal without a leading digit.
248 * io/write.c (output_float): remove a leading '0' to keep from
249 overflowing the field (F edit descriptor).
251 2004-04-01 Bud Davis <bdavis9659@comcast.net>
254 * io/open.c (new_unit),
255 * io/io.h : new_unit is now visible
256 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
257 * io/transfer.c (data_transfer_init): remove compile warnings.
258 * io/rewind.c (st_rewind): ftruncate if writing.
260 2004-03-24 Bud Davis <bdavis9659@comcast.net>
262 * write.c (write_l): Use extract_int for 'L' edit descriptor.
264 2004-03-24 Bud Davis <bdavis9659@comcast.net>
267 * io/io.h (global_t):
268 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
269 Move eof_jmp to a global structure.
270 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
272 2004-03-24 Bud Davis <bdavis9659@comcast.net>
274 * m4/cexp.m4 (csqrt): Actually use the passed value.
275 * generated/exp_c?.c: Regenerate.
277 2004-03-24 Bud Davis <bdavis9659@comcast.net>
280 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
281 * open.c (new_unit): Moved test for positioned direct access error.
282 (init_units): Corrected calculation of max records.
284 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
286 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
287 * Makefile.in: Regenerate.
288 * m4/dotprodc.m4: New file. Implement complex dot_product.
289 * m4/dotprod.m4: Delete the complex implementation.
290 * generated/dotprod_*: Update.
292 2004-02-07 Bud Davis <bdavis9659@comcast.net>
294 * transfer.c (write_constant_string): Do not delete H's in hollerith
297 2004-01-05 Andrew Pinski <apinski@apple.com>
299 * configure.in: Check for csin in -lmx also.
300 * configure: Regenerate.
302 2004-01-01 Paul Brook <paul@codesourcery.com>
304 * io/list_read.c (find_nml_node): Make static.
305 (match_namelist_name): Ditto.
306 * io/read.c (convert_precision_real): Make static, fix spelling.
307 * io/transfer.c (extract_real): Remove unused prototype.
308 (st_set_nml_var): Make static.
309 * io/write.c (extract_real): Make static.
311 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
313 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
315 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
317 * io/transfer.c (data_transfer_init): Give a runtime error for list
318 formatted reads and writes from/to files opened for unformatted IO.
320 2003-11-30 Paul Brook <paul@nowt.org>
322 * runtime/memory.c (push_context): Remove.
323 (pop_context): Remove.
324 * libgfortran.h: Remove prototypes.
326 2003-11-27 Paul Brook <paul@nowt.org>
328 * runtime/memory.c (deallocate): Nullify pointer after freeing.
330 2003-11-27 Paul Brook <paul@nowt.org>
332 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
333 * libgfortran.h: Ditto.
334 * m4/in_pack.m4: Ditto.
335 * runtime/in_pack_generic.c: Ditto.
336 * runtime/memory.c: Ditto.
338 2003-11-26 Richard Henderson <rth@redhat.com>
340 * m4/exponent.m4, m4/fraction.m4: New.
341 * m4/nearest.m4, m4/set_exponent.m4: New.
342 * generated/*: Update.
343 * Makefile.am: Add them.
344 (AM_CFLAGS): New. Use -std=gnu99.
345 * Makefile.in: Regenerate.
347 2003-11-08 Paul Brook <paul@nowt.org>
350 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
351 * m4/maxloc1.m4: Ditto.
352 * m4/minloc0.m4: Ditto.
353 * m4/minloc1.m4: Ditto.
354 * m4/ifunction.m4: Set return value for zero sized arrays.
355 * m4/iforeach.m4: Ditto.
356 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
357 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
358 * generated/*: Update.
360 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
363 * io/list_read.c (eat_spaces): Treat tab as space.
365 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
367 * intrinsics/random.c: Add reference to paper containing algorithm.
368 (random_seed): Extra error checking and proper handling of arrays.
369 (arandom_r4, arandom_r8): Implement.
371 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
374 * runtime/memory.c (allocate_size): Allow allocation
375 of zero-sized objects.
377 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
380 * open.c (new_unit): Open without a file name opens
381 a file with name fort.<unit>.
383 2003-10-12 Feng Wang <wf_cs@yahoo.com>
385 * intrinsics/cshift0.c: New file.
386 * m4/cshift1.m4: New file
387 * generated/cshift*.c: New files.
388 * Makefile.am: Add them.
389 * Makefile.in: Regenerate.
391 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
393 * io/list_read.c (read_character): Remove unwanted call to free_saved.
395 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
397 * intrinsics/string_intrinsics.c (string_trim): New function.
398 (string_repeat): New function.
400 2003-10-11 Paul Brook <paul@nowt.org>
402 * intrinsics/dprod_r8.f90: New file.
403 * Makefile.am (gfor_specific_src): Add it.
404 (gfor_built_specific_src): Rename from gfor_build_specific_c.
406 (gfor_specific2_src): Rename from gfor_built_specific2_c.
408 * Makefile.in: Regenerate.
409 * generated/_aint_*.f90: New files.
410 * generated/_anint*.f90: New files.
411 * generated/_atan2*.f90: New files.
412 * generated/_mod*.f90: New files.
414 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
416 * intrinsics/selected_kind.f90: New file.
417 * Makefile.am: Add it.
418 * Makefile.in: regenerate.
420 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
421 Paul Brook <paul@nowt.org>
423 * intrinsics/random.c: New file.
424 * Makefile.am (gfor_hemper_src): Add it.
425 (gfor_specific_c): Fix typo.
427 2003-09-19 Paul Brook <paul@nowt.org>
429 * All: rename g95->gfc.
431 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
433 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
435 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
437 * io/write.c (write_float): Dectection of positive infinite number,
438 Not a Number(NaN) and negative infinite number.
439 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
440 output a very_very small number ( < 0.1e-100 ).
442 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
444 * libgfortran.h (xtoa, itoa): Parameter modified.
445 * io/io.h (namelist_info): Declaration to support namelist I/O
446 (st_parameter): Add namelist related component
447 (ionml, empty_internal_buffer, st_set_nml_var_int,
448 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
449 st_set_nml_var_log): Declaration
450 (set_integer, set_integer): Parameter changed
451 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
453 (parse_format_list): Fix bug about FMT_SLASH
454 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
455 newly allocated saved_string
456 (next_char): Add detection of End_Of_Line support
457 (convert_integer): Now can process 64 bits interger
458 (read_real): Bug fixed
459 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
460 (match_namelist_name): New implemention
461 * io/lock.c (ionml): New global variable
462 (library_end): Free memory in ionml
463 * io/open.c (st_open): Variable initializtion
464 * io/read.c (max_value): 64 bits interger support
465 (convert_precsion_real): New procedure to replace "strtod" with more
467 (read_f, read_radix): Input bug fix
468 * io/transfer.c: (sf_seen_eor): New static variable
469 (read_sf): Zeroize base buffer; fix bugs: single read statement can
470 not get input in mutli line when read from stdin
471 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
473 (data_transfer_init): Clear internal buffer for Internel File I/O.
474 Internal File now worked. Detect some error condition for namelist.
476 (next_record_w): Internal file and Namelist I/O support.
477 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
478 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
479 * io/unit.c (implicit_unit): Deletion
480 (get_unit): Now cannot open a unit implicitly.
481 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
483 (mem_alloc_r_at): Internal file I/O support added
484 (empty_internal_buffer): New function
485 * io/write.c (extract_int): Support 64 bits interger processing
486 (output_float): Varibale initialization
487 (write_float): Infinite real number detection.
488 (write_int): 64 bits integer I/O support
489 (write_decimal): New function to output decimal number
490 (otoa, btoa): Better implemention and 64 bits interger support
491 (namelist_write): New function
492 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
495 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
497 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
498 get_mem ): Add attribute.
499 * intrinsics/spread_generic.c (__spread): Fix spelling.
500 * io/inquire.c (inquire_via_filename): Add const.
501 * io/io.h (sys_exit): Add attribute.
502 * io/io.h (move_pos_offset): Add move_pos_offset.
503 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
504 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
505 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
506 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
508 * io/read.c (convert_real): Add const.
509 * io/transfer.c (type_name): Add const.
510 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
511 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
512 inquire_read, inquire_write, inquire_readwrite): Add const.
513 * io/write.c (output_float): Remove unused variable.
514 * io/write.c (write_a, extract_int, extract_real, output_float,
515 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
516 write_e, write_f, write_en, write_es, write_logical, write_integer,
517 write_character, write_real, write_complex): Add const.
518 * runtime/error.c (rtoa): Remove unused variable.
519 * runtime/select.c (select_string): Add const.
520 * runtime/stop.c (stop_string): Add const.
522 2003-08-10 Paul Brook <paul@nowt.org>
524 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
525 (FFLAGS): Add -fno-underscoring.
526 * Makefile.in: Regenerate.
527 * intrinsics/abort.c: New file.
529 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
531 * fmain.c (main): Do not call init and cleanup; call set_args instead.
532 * libgfortran.h (init, cleanup): Remove declarations.
533 (set_args): Add declaration.
534 * runtime/main.c (init, cleanup): Make them static, and give them
535 the constructor and destructor attributes.
536 (set_args): New function.
538 2003-08-10 Paul Brook <paul@nowt.org>
540 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
541 on which string is longest.
543 2003-08-10 Paul Brook <paul@nowt.org>
545 * Makefile.am (EXTRA_DIST): Remove old files.
546 * Makefile.in: Regenerate.
548 2003-07-26 Paul Brook <paul@nowt.org>
550 Rename library to libgfortran.
551 * libgfortran.h: Change prefix to _libgfortran_.
553 2003-07-24 Paul Brook <paul@nowt.org>
555 * configure.in: Don't pull in system libtool. Use toplevel
558 2003-07-22 Paul Brook <paul@nowt.org>
560 Regenerate all configury files.
562 2003-07-09 Chun Huang <compiler@sohu.com>
564 * intrinsics/string_intrinsic.c (string_scan): New function.
565 (string_verify): New function.
567 2003-06-25 Paul Brook <paul@nowt.org>
569 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
570 (mem_seek): Don't bother setting physical_offset.
572 2003-06-20 Paul Brook <paul@nowt.org>
574 * libgfor.h (stop_numeric): Declare.
575 * runtime/pause.c: New file.
576 * Makefile.am: Add it.
578 2003-06-08 Paul Brook <paul@nowt.org>
580 * m4/cexp.m4 (cabs): Use correct typed version.
581 (csqrt): New function.
583 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
585 Spotted by Benjamin and Tobias:
586 * io/list_read.c: Add Separator '\t'.
587 (parse_real, read_real): Accept real values starting with an optional
588 sign follows a decimal point.
590 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
592 * Makefile.am: Don't put cmath objects in subdir.
593 * configure.in: Rename MATHOBJ to MATH_OBJ.
595 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
597 * intrinsics/associated.c: New file.
598 * Makefile.am: Add it. Regenerate Makefile.in.
599 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
600 G95_DESCRIPTOR_DTYPE.
602 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
604 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
605 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
606 the scale_factor to 0 for F editing.
608 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
610 * libgfor.h: Only include stdint.h if it exists.
612 2003-05-07 Paul Brook <paul@nowt.org>
614 * libgfor.h: Use stdint.h types.
615 * intrinsics/ishift.c: Ditto.
616 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
618 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
620 * libgfor.h (offsetof): Define if nobody else does.
621 * runtime/memory.c (HEADER_SIZE): Use it.
623 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
625 * configure.in: Require autoconf 2.54.
627 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
628 Paul Brook <paul@nowt.org>
630 * intrinsics/reshape_generic.c: Copy the whole element, not just the
632 * m4/transpose.m4: New file.
633 * Makefile.am: Add them.
634 Regenerate generated files.
636 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
638 * io/format.c (parse_format_list): Allow 'X' without integer
639 prefix. This is an extension. Interpretation is '1X'.
641 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
643 * io/format.c (parse_format_list): Allow '0P'.
645 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
647 * Makefile.in: Re-regenerate for automake 1.7.3.
649 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
651 Port implementation for CHARACTER SELECT from Andy's tree.
652 * runtime/select.c: New file
653 * Makefile.am: Add it.
654 * Makefile.in: Regenerate.
656 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
658 * io/transfer.c (formatted_transfer): Modified
659 * io/unix.c (move_pos_offset): New Function.
660 * io/format.c (parse_format_list): Modified.
662 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
664 * io/write.c (write_float,write_real): New implemention of
665 FMT_G and default float editing.
666 (calculate_exp,calculate_G_format,output_float): New Function.
667 (write_float,write_real,write_logical): Modified
668 * libgfor.h (default_rtoa): Remove Declaration.
669 * runtime/error.c (default_rtoa): Remove Function.
671 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
674 * io/write.c (extract_real): Add missing break statement.
676 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
678 * cpu_time.c: Make sure we have a definition of HZ. Don't
679 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
681 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
682 Paul Brook <paul@nowt.org>
684 * configure.in: Check for process time headers and GETTIMEOFDAY.
685 * makefile.am: Add intrinsics/cpu_time.c.
686 * acinclude.m4: New file.
687 * intrinsics/cpu_time.c: New file.
688 * m4/dotprodl.m4: Fix typo.
689 Regenerate generated files.
691 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
693 * io/write.c (extract_real): Ouput floating point value.
694 (write_float): New Function.
695 (write_e, write_f, write_en, write_es): Modified
696 * io/transfer.c (formatted_transfer): Modified.
697 * libgfor.h (default_rtoa): Declaration.
699 * runtime/error.c (default_rtoa): New Function.
700 (rtoa): New Function.
702 2003-04-05 Paul Brook <paul@nowt.org>
704 * intrinsics/spread_generic.c: New file.
705 * Makefile.am: Add it. Regenerate Makefile.in.
707 2003-03-29 Paul Brook <paul@nowt.org>
709 * intrinsics/pack_generic.c: New file.
710 * intrinsics/unpack_generic.c: New file.
711 * Makefile.am: Add them. Regenerate Makefile.in.
713 2003-03-25 Paul Brook <paul@nowt.org>
715 * intrinsics/eoshift0.c: New file.
716 * intrinsics/eoshift2.c: New file.
717 * m4/eoshift1.m4: New file.
718 * m4/eoshift3.m4: New file.
719 * Makefile.am: Add them.
720 * in_unpack_generic.c: Initialize src.
721 Regenerate generated files.
723 2003-03-14 Paul Brook <paul@nowt.org>
725 * m4/shape.m4: Work properly with array temporaries.
726 * m4/in_pack.m4: Skip redundant checks for array temporaries.
727 * runtime/in_pack_generic.c: Ditto.
729 2003-03-12 Paul Brook <paul@nowt.org>
731 * m4/shape.m4: Work properly with noncontiguous arrays.
733 2003-03-08 Paul Brook <paul@nowt.org>
735 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
736 * runtime/in_pack_generic.c: Ditto.
738 2003-02-08 Paul Brook <paul@nowt.org>
740 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
741 * io/close.c (st_close): Return void.
742 * io/open.c (st_open): Return void.
743 * libgfor.h (g95_array_char): Declare.
744 (internal_malloc_size): Ditto.
745 (internal_pack*, internal_unpack*): Ditto.
746 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
748 * m4/in_unpack.m4: Include file fixes.
749 * m4/reshape.m4: Increment the correct source pointer.
750 * Makefile.am (maxloc): Fix typo.
751 * runtime/in_pack_generic.c: Call optimized functions. Allocate
752 storage if neccessary. Fix logic for packed arrays.
753 * runtime/in_unpack_generic.c: Call optimized functions.
754 * runtime/main.c: Use runtime_error to report errors.
755 * memory.c (internal_malloc_size): Make non-static.
757 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
759 * reshape_packed.c, lock.c: Add #include <string.h>.
760 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
761 environ.c, error.c, memory.c, string.c: Add const.
762 * error.c (show_locus): Add void.
764 2003-02-21 Paul Brook <paul@nowt.org>
766 * m4/in_pack.m4: Avoid returning const * parameter.
767 * Makefile.am: Only regenerate files in maintainer mode.
769 2003-02-20 Paul Brook <paul@nowt.org>
771 Add array repacking support functions.
772 * m4/in_pack.m4, m4/in_unpack.m4: New files.
773 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
774 * Makefile.am: Build them. Regenerate configury files.
775 * generated/: New directory for generated files (need to move
776 everything else there).
778 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
780 * m4/cexp.m4: Fix typo.
782 2003-01-26 Paul Brook <paul@nowt.org>
784 * intrinsics/: Add missing generated files.
786 2003-01-26 Paul Brook <paul@nowt.org>
788 * Makefile.am: Put -I before the filename.
790 2003-01-24 Paul Brook <paul@nowt.org>
792 * configure.in: Add AM_MAINTAINER_MODE.
794 2003-01-23 Paul Brook <paul@nowt.org>
796 * configure.in, Makefile.am: Modify to work with unmodified autoconf
798 Also regenerate other configury files.
800 2003-01-21 Paul Brook <paul@nowt.org>
802 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
804 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
806 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
807 Don't include "alloca.h".
809 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
811 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
812 * Makefile.am: Adjust file name.
813 * Makefile.in: Regenerate.
814 * gfortypes.h: Kill, include everything in...
815 * libgfor.h: ...here. Include config.h
816 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
817 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
818 intrinsics/reshape_packed.c, intrinsics/size.c,
819 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
820 for prefix for all functions instead of hardcoded.
822 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
824 * io/lock.c (library_end): Propagate library return
827 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
829 Port fixes from Andy's tree:
830 * io/read.c (read_decimal): Reverse sense of overflow
831 comparison during integer reads.
832 * io/format.c (revert): Fix comment.
833 (next_format): Fix format revision.
834 * io/unix.c: Fix and simplify mmap version of stream
837 2003-01-11 Paul Brook <paul@nowt.org>
839 * configure, Makefile.in: Regenerate.
841 2003-01-11 Paul Brook <paul@nowt.org>
843 * runtime/stop.c: Rewrite.
845 2003-01-08 Paul Brook <paul@nowt.org>
847 * configure, Makefile.in: Regenerate.
849 2003-01-05 Paul Brook <paul@nowt.org>
851 * (*.m4) Move to m4/.
852 * intrinsics/string.c (_gfor_string_index): New Function.
854 2002-12-29 Paul Brook <paul@nowt.org>
856 * intrinsics/reshape.*: New files.
857 * gcc_config.patch: Update to new GCC configure system.
859 2002-10-10 Paul Brook <paul@nowt.org>
861 * intrinsics/size.c: New file.
862 * intrinsics/shape.m4: New file.
863 * Makefile.am: Add above files.
865 2002-10-02 Paul Brook <paul@nowt.org>
867 * fmain.c (main): Move here.
868 * libgfor.c: From here.
869 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
870 * Makefile.am: Build libgforbegin.
871 * gcc_config.patch: Remove stray -march=athlon.
872 * dotprodl.m4: Fix use of L8_TO_L4 macro.
873 * ifunction.m4: Move variable declarations to allow compilation with
875 * specific.m4, specific4.m4: Fix typo typecode->type_code.
876 * README: Document use of patch -p1.
878 2002-09-12 Paul Brook <paul@nowt.org>
880 * math/*: Add complex math library functions.
881 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
882 * Makefile.am: Add details for above.
883 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
885 2002-09-09 Paul Brook <paul@nowt.org>
887 * libgfor.c (determine_endianness): Use an array rather than a struct.
888 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
890 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
892 * libgfor.c: Add fatal signal handler.
893 Romove superfluous abort() calls.
895 2002-09-07 Paul Brook <paul@nowt.org>
897 * Makefile.am, intrinsics: Major rewrite.
899 2002-09-02 Paul Brook <paul@nowt.org>
901 * Makefile.am: Added -I$(srcdir) to m4 rule.
903 2002-08-30 Paul Brook <paul@nowt.org>
905 * io/*: Integrated libgforio.
906 * Makefile.am, configure.in: Make compatable with GCC. Build code for
907 intrinsics in the intrisics directory.
908 * intrinsics/intrinsics.m4: Move here. Strip directories from the
909 filename. Add 'and' and 'all' intrinsics.
911 2002-08-17 Paul Brook <paul@nowt.org>
913 * ALL: First release as more than just a single file