1 2004-06-09 Bud Davis <bdavis9659@comcast.net>
4 * io/backspace.c(st_backspace): call correct routine for
5 formatted and un-formatted units.
7 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
10 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
11 (lib_LTLIBRARIES): Rename to ...
12 (toolexeclib_LTLIBRARIES): this for multilib support.
13 * configure.in: Rename to ...
14 * configure.ac: this. Update to modern autoconf style, enable
15 multilibs, support --enable-version-specific-runtime-libs.
16 * Makefile.in: Regenerated.
17 * configure: Regenerated.
18 * aclocal.m4: Regenerated.
20 2004-05-30 Steven G. Kargl <kargls@comcast.net>
22 * libgfortran.h (random_seed): Update prototype.
23 * intrinsics/random.c: Disable old implementation and add new one.
25 2004-05-30 Andreas Jaeger <aj@suse.de>
27 * intrinsics/random.c: Include unistd.h for close and read
28 prototypes, remove unneeded inclusion of assert.h.
30 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
31 unneeded inclusion of assert.h.
33 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
36 * intrinsics/associated.c: Remove enum.
37 (associated): Replace TRUE/FALSE by 1/0.
39 2004-05-23 Steven G. Kargl <kargls@comcast.net>
41 * random.c (random_seed): Use correct variable.
43 2004-05-22 Steven G. Kargl <kargls@comcast.net>
45 * intrinsics/system_clock: New file.
46 * Makefile.am: Add intrinsics/system_clock.c.
47 * Makefile.in: Regenerate.
49 2004-05-21 Roger Sayle <roger@eyesopen.com>
51 * io/format.c (parse_format_list): Allow the comma after a string
52 literal to be optional.
54 2004-05-18 Paul Brook <paul@codesourcery.com>
55 Feng Wang <fengwang@nudt.edu.cn>
57 * Makefile.am (i_pow_c): Set it. Add build rule.
58 (gfor_built_src): Use it.
59 (m4_files): add m4/pow.m4.
60 * Makefile.in: Regenerate.
61 * m4/pow.m4: New file.
62 * generated/pow_*.c: Regenerate.
64 2004-05-18 Paul Brook <paul@codesourcery.com>
66 * Makefile.am: Remove references to types.m4.
67 * m4/iparm.m4: Merge with types.m4.
68 * m4/types.m4: Remove.
69 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
70 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
71 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
72 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
73 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
74 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
75 Update to use new iparm.m4.
76 * generated/*.c: Regenerate.
78 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
81 * gfortran.h (offset_t): Rename to ...
82 (gfc_offset): ... this.
83 * io/backspace.c (formatted_backspace, unformatted_backspace),
84 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
85 transfer.c (us_read, us_write, next_record_r, next_record_w),
86 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
87 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
88 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
89 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
90 occurences of offset_t by gfc_offset.
92 2004-05-16 Paul Brook <paul@codesourcery.com>
94 * io/format.c (write_real): Don't include padding in format.
96 2004-05-16 Paul Brook <paul@codesourcery.com>
98 * io/format.c (format_lex): Make c an int.
100 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
101 Paul Brook <paul@codesourcery.com>
103 * io/write.c (write_logical): Don't print extra blank.
104 (write_integer): Base field width on kind.
105 (list_formatted_write): Output initial blank.
107 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
109 * io/io.h (flush): Add prototype.
110 * io/transfer.c (finalize_transfer): Flush partial records.
111 * io/unix.c (flush): New function.
113 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
116 * io/io.h (unit_t): Rename to ...
118 (unit_root, current_unit, find_file, find_unit, get_unit): Now
120 (delete_file, insert_unit, close_unit): Argument now of type
122 * backspace.c (st_backspace), close.c (st_close), endfile.c
123 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
124 (test_endfile, edit_modes, new_unit, already_open, st_open),
125 rewind.c (st_rewind), transfer.c (current_unit), unit.c
126 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
127 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
128 get_unit, init_units, close_unit), unix.c (find_file0,
129 find_file, delete_file): Replace all occurences of unit_t by
132 2004-05-15 Bud Davis <bdavis9659@comcast.net>
135 * io/write.c (write_a): right justify A edit output.
137 2004-05-14 Bud Davis <bdavis9659@comcast.net>
140 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
141 * runtime/main.c(init): Call random_seed as part of MAIN init.
143 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
145 * io/format.c: (parse_format_list): No comma is required after
148 2004-05-13 Bud Davis <bdavis9659@comcast.net>
151 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
153 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
154 Steven Bosscher <stevenb@suse.de>
157 * libgfortran.h: Include <inttypes.h> if available.
159 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
161 * io/unix.c (MAP_FAILED): Define if missing.
162 (mmap_alloc): Cast MAP_FAILED to char *.
163 (mmap_open): Likewise.
165 2004-04-26 Bud Davis <bdavis9659@comcast.net>
167 * generated/_abs_i8.f90: New file.
168 * generated/_abs_c4.f90: New file.
169 * generated/_abs_c8.f90: New file.
170 * Makefile.am: Add them.
171 * Makefile.in: Regenerate.
173 2004-04-26 Bud Davis <bdavis9659@comcast.net>
176 * generated/_abs_i4.f90: New file.
177 * Makefile.am: Add it.
178 * Makefile.in: Regenerate.
180 2004-04-25 Bud Davis <bdavis9659@comcast.net>
183 * io/list_read.c(list_formatted_read): finish consuming the
184 spaces and seperators at eoln to get ready for next item.
186 2004-04-23 Bud Davis <bdavis9659@comcast.net>
189 * io/read.c(read_a): Handle field width > destination and no field width.
191 2004-04-22 Bud Davis <bdavis9659@comcast.net>
194 * io/format.c (format_item): gracefully handle a ')'
195 when it is the first character encountered in the string.
197 2004-04-11 Bud Davis <bdavis9659@comcast.net>
200 * io/transfer.c (next_record): Update last_record when
201 more than one record is written to a direct access file
202 with one write statement.
204 2004-04-11 Bud Davis <bdavis9659@comcast.net>
207 * io/transfer.c (next_record_w) : No '\n' if internal.
208 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
210 2004-04-11 Bud Davis <bdavis9659@comcast.net>
212 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
213 Will need to change this later to support direct access files > 2gb.
215 2004-04-03 Bud Davis <bdavis9659@comcast.net>
218 * io/transfer.c (next_record_r) : Skip to next record.
220 2004-04-03 Bud Davis <bdavis9659@comcast.net>
223 * io/transfer.c (next_record): Update last_record for DIRECT
225 2004-04-03 Bud Davis <bdavis9659@comcast.net>
228 * io/unix.c (find_file0): Use fd field of struct
230 2004-04-03 Bud Davis <bdavis9659@comcast.net>
233 * io/inquire.c (inquire_via_unit): Changed return string for
234 BLANK=NULL. Use correct variable for ACTION.
236 2004-04-01 Bud Davis <bdavis9659@comcast.net>
239 * io/read.c (read_f): Allow a decimal without a leading digit.
240 * io/write.c (output_float): remove a leading '0' to keep from
241 overflowing the field (F edit descriptor).
243 2004-04-01 Bud Davis <bdavis9659@comcast.net>
246 * io/open.c (new_unit),
247 * io/io.h : new_unit is now visible
248 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
249 * io/transfer.c (data_transfer_init): remove compile warnings.
250 * io/rewind.c (st_rewind): ftruncate if writing.
252 2004-03-24 Bud Davis <bdavis9659@comcast.net>
254 * write.c (write_l): Use extract_int for 'L' edit descriptor.
256 2004-03-24 Bud Davis <bdavis9659@comcast.net>
259 * io/io.h (global_t):
260 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
261 Move eof_jmp to a global structure.
262 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
264 2004-03-24 Bud Davis <bdavis9659@comcast.net>
266 * m4/cexp.m4 (csqrt): Actually use the passed value.
267 * generated/exp_c?.c: Regenerate.
269 2004-03-24 Bud Davis <bdavis9659@comcast.net>
272 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
273 * open.c (new_unit): Moved test for positioned direct access error.
274 (init_units): Corrected calculation of max records.
276 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
278 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
279 * Makefile.in: Regenerate.
280 * m4/dotprodc.m4: New file. Implement complex dot_product.
281 * m4/dotprod.m4: Delete the complex implementation.
282 * generated/dotprod_*: Update.
284 2004-02-07 Bud Davis <bdavis9659@comcast.net>
286 * transfer.c (write_constant_string): Do not delete H's in hollerith
289 2004-01-05 Andrew Pinski <apinski@apple.com>
291 * configure.in: Check for csin in -lmx also.
292 * configure: Regenerate.
294 2004-01-01 Paul Brook <paul@codesourcery.com>
296 * io/list_read.c (find_nml_node): Make static.
297 (match_namelist_name): Ditto.
298 * io/read.c (convert_precision_real): Make static, fix spelling.
299 * io/transfer.c (extract_real): Remove unused prototype.
300 (st_set_nml_var): Make static.
301 * io/write.c (extract_real): Make static.
303 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
305 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
307 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
309 * io/transfer.c (data_transfer_init): Give a runtime error for list
310 formatted reads and writes from/to files opened for unformatted IO.
312 2003-11-30 Paul Brook <paul@nowt.org>
314 * runtime/memory.c (push_context): Remove.
315 (pop_context): Remove.
316 * libgfortran.h: Remove prototypes.
318 2003-11-27 Paul Brook <paul@nowt.org>
320 * runtime/memory.c (deallocate): Nullify pointer after freeing.
322 2003-11-27 Paul Brook <paul@nowt.org>
324 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
325 * libgfortran.h: Ditto.
326 * m4/in_pack.m4: Ditto.
327 * runtime/in_pack_generic.c: Ditto.
328 * runtime/memory.c: Ditto.
330 2003-11-26 Richard Henderson <rth@redhat.com>
332 * m4/exponent.m4, m4/fraction.m4: New.
333 * m4/nearest.m4, m4/set_exponent.m4: New.
334 * generated/*: Update.
335 * Makefile.am: Add them.
336 (AM_CFLAGS): New. Use -std=gnu99.
337 * Makefile.in: Regenerate.
339 2003-11-08 Paul Brook <paul@nowt.org>
342 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
343 * m4/maxloc1.m4: Ditto.
344 * m4/minloc0.m4: Ditto.
345 * m4/minloc1.m4: Ditto.
346 * m4/ifunction.m4: Set return value for zero sized arrays.
347 * m4/iforeach.m4: Ditto.
348 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
349 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
350 * generated/*: Update.
352 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
355 * io/list_read.c (eat_spaces): Treat tab as space.
357 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
359 * intrinsics/random.c: Add reference to paper containing algorithm.
360 (random_seed): Extra error checking and proper handling of arrays.
361 (arandom_r4, arandom_r8): Implement.
363 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
366 * runtime/memory.c (allocate_size): Allow allocation
367 of zero-sized objects.
369 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
372 * open.c (new_unit): Open without a file name opens
373 a file with name fort.<unit>.
375 2003-10-12 Feng Wang <wf_cs@yahoo.com>
377 * intrinsics/cshift0.c: New file.
378 * m4/cshift1.m4: New file
379 * generated/cshift*.c: New files.
380 * Makefile.am: Add them.
381 * Makefile.in: Regenerate.
383 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
385 * io/list_read.c (read_character): Remove unwanted call to free_saved.
387 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
389 * intrinsics/string_intrinsics.c (string_trim): New function.
390 (string_repeat): New function.
392 2003-10-11 Paul Brook <paul@nowt.org>
394 * intrinsics/dprod_r8.f90: New file.
395 * Makefile.am (gfor_specific_src): Add it.
396 (gfor_built_specific_src): Rename from gfor_build_specific_c.
398 (gfor_specific2_src): Rename from gfor_built_specific2_c.
400 * Makefile.in: Regenerate.
401 * generated/_aint_*.f90: New files.
402 * generated/_anint*.f90: New files.
403 * generated/_atan2*.f90: New files.
404 * generated/_mod*.f90: New files.
406 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
408 * intrinsics/selected_kind.f90: New file.
409 * Makefile.am: Add it.
410 * Makefile.in: regenerate.
412 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
413 Paul Brook <paul@nowt.org>
415 * intrinsics/random.c: New file.
416 * Makefile.am (gfor_hemper_src): Add it.
417 (gfor_specific_c): Fix typo.
419 2003-09-19 Paul Brook <paul@nowt.org>
421 * All: rename g95->gfc.
423 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
425 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
427 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
429 * io/write.c (write_float): Dectection of positive infinite number,
430 Not a Number(NaN) and negative infinite number.
431 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
432 output a very_very small number ( < 0.1e-100 ).
434 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
436 * libgfortran.h (xtoa, itoa): Parameter modified.
437 * io/io.h (namelist_info): Declaration to support namelist I/O
438 (st_parameter): Add namelist related component
439 (ionml, empty_internal_buffer, st_set_nml_var_int,
440 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
441 st_set_nml_var_log): Declaration
442 (set_integer, set_integer): Parameter changed
443 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
445 (parse_format_list): Fix bug about FMT_SLASH
446 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
447 newly allocated saved_string
448 (next_char): Add detection of End_Of_Line support
449 (convert_integer): Now can process 64 bits interger
450 (read_real): Bug fixed
451 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
452 (match_namelist_name): New implemention
453 * io/lock.c (ionml): New global variable
454 (library_end): Free memory in ionml
455 * io/open.c (st_open): Variable initializtion
456 * io/read.c (max_value): 64 bits interger support
457 (convert_precsion_real): New procedure to replace "strtod" with more
459 (read_f, read_radix): Input bug fix
460 * io/transfer.c: (sf_seen_eor): New static variable
461 (read_sf): Zeroize base buffer; fix bugs: single read statement can
462 not get input in mutli line when read from stdin
463 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
465 (data_transfer_init): Clear internal buffer for Internel File I/O.
466 Internal File now worked. Detect some error condition for namelist.
468 (next_record_w): Internal file and Namelist I/O support.
469 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
470 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
471 * io/unit.c (implicit_unit): Deletion
472 (get_unit): Now cannot open a unit implicitly.
473 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
475 (mem_alloc_r_at): Internal file I/O support added
476 (empty_internal_buffer): New function
477 * io/write.c (extract_int): Support 64 bits interger processing
478 (output_float): Varibale initialization
479 (write_float): Infinite real number detection.
480 (write_int): 64 bits integer I/O support
481 (write_decimal): New function to output decimal number
482 (otoa, btoa): Better implemention and 64 bits interger support
483 (namelist_write): New function
484 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
487 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
489 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
490 get_mem ): Add attribute.
491 * intrinsics/spread_generic.c (__spread): Fix spelling.
492 * io/inquire.c (inquire_via_filename): Add const.
493 * io/io.h (sys_exit): Add attribute.
494 * io/io.h (move_pos_offset): Add move_pos_offset.
495 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
496 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
497 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
498 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
500 * io/read.c (convert_real): Add const.
501 * io/transfer.c (type_name): Add const.
502 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
503 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
504 inquire_read, inquire_write, inquire_readwrite): Add const.
505 * io/write.c (output_float): Remove unused variable.
506 * io/write.c (write_a, extract_int, extract_real, output_float,
507 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
508 write_e, write_f, write_en, write_es, write_logical, write_integer,
509 write_character, write_real, write_complex): Add const.
510 * runtime/error.c (rtoa): Remove unused variable.
511 * runtime/select.c (select_string): Add const.
512 * runtime/stop.c (stop_string): Add const.
514 2003-08-10 Paul Brook <paul@nowt.org>
516 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
517 (FFLAGS): Add -fno-underscoring.
518 * Makefile.in: Regenerate.
519 * intrinsics/abort.c: New file.
521 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
523 * fmain.c (main): Do not call init and cleanup; call set_args instead.
524 * libgfortran.h (init, cleanup): Remove declarations.
525 (set_args): Add declaration.
526 * runtime/main.c (init, cleanup): Make them static, and give them
527 the constructor and destructor attributes.
528 (set_args): New function.
530 2003-08-10 Paul Brook <paul@nowt.org>
532 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
533 on which string is longest.
535 2003-08-10 Paul Brook <paul@nowt.org>
537 * Makefile.am (EXTRA_DIST): Remove old files.
538 * Makefile.in: Regenerate.
540 2003-07-26 Paul Brook <paul@nowt.org>
542 Rename library to libgfortran.
543 * libgfortran.h: Change prefix to _libgfortran_.
545 2003-07-24 Paul Brook <paul@nowt.org>
547 * configure.in: Don't pull in system libtool. Use toplevel
550 2003-07-22 Paul Brook <paul@nowt.org>
552 Regenerate all configury files.
554 2003-07-09 Chun Huang <compiler@sohu.com>
556 * intrinsics/string_intrinsic.c (string_scan): New function.
557 (string_verify): New function.
559 2003-06-25 Paul Brook <paul@nowt.org>
561 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
562 (mem_seek): Don't bother setting physical_offset.
564 2003-06-20 Paul Brook <paul@nowt.org>
566 * libgfor.h (stop_numeric): Declare.
567 * runtime/pause.c: New file.
568 * Makefile.am: Add it.
570 2003-06-08 Paul Brook <paul@nowt.org>
572 * m4/cexp.m4 (cabs): Use correct typed version.
573 (csqrt): New function.
575 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
577 Spotted by Benjamin and Tobias:
578 * io/list_read.c: Add Separator '\t'.
579 (parse_real, read_real): Accept real values starting with an optional
580 sign follows a decimal point.
582 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
584 * Makefile.am: Don't put cmath objects in subdir.
585 * configure.in: Rename MATHOBJ to MATH_OBJ.
587 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
589 * intrinsics/associated.c: New file.
590 * Makefile.am: Add it. Regenerate Makefile.in.
591 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
592 G95_DESCRIPTOR_DTYPE.
594 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
596 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
597 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
598 the scale_factor to 0 for F editing.
600 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
602 * libgfor.h: Only include stdint.h if it exists.
604 2003-05-07 Paul Brook <paul@nowt.org>
606 * libgfor.h: Use stdint.h types.
607 * intrinsics/ishift.c: Ditto.
608 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
610 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
612 * libgfor.h (offsetof): Define if nobody else does.
613 * runtime/memory.c (HEADER_SIZE): Use it.
615 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
617 * configure.in: Require autoconf 2.54.
619 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
620 Paul Brook <paul@nowt.org>
622 * intrinsics/reshape_generic.c: Copy the whole element, not just the
624 * m4/transpose.m4: New file.
625 * Makefile.am: Add them.
626 Regenerate generated files.
628 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
630 * io/format.c (parse_format_list): Allow 'X' without integer
631 prefix. This is an extension. Interpretation is '1X'.
633 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
635 * io/format.c (parse_format_list): Allow '0P'.
637 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
639 * Makefile.in: Re-regenerate for automake 1.7.3.
641 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
643 Port implementation for CHARACTER SELECT from Andy's tree.
644 * runtime/select.c: New file
645 * Makefile.am: Add it.
646 * Makefile.in: Regenerate.
648 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
650 * io/transfer.c (formatted_transfer): Modified
651 * io/unix.c (move_pos_offset): New Function.
652 * io/format.c (parse_format_list): Modified.
654 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
656 * io/write.c (write_float,write_real): New implemention of
657 FMT_G and default float editing.
658 (calculate_exp,calculate_G_format,output_float): New Function.
659 (write_float,write_real,write_logical): Modified
660 * libgfor.h (default_rtoa): Remove Declaration.
661 * runtime/error.c (default_rtoa): Remove Function.
663 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
666 * io/write.c (extract_real): Add missing break statement.
668 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
670 * cpu_time.c: Make sure we have a definition of HZ. Don't
671 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
673 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
674 Paul Brook <paul@nowt.org>
676 * configure.in: Check for process time headers and GETTIMEOFDAY.
677 * makefile.am: Add intrinsics/cpu_time.c.
678 * acinclude.m4: New file.
679 * intrinsics/cpu_time.c: New file.
680 * m4/dotprodl.m4: Fix typo.
681 Regenerate generated files.
683 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
685 * io/write.c (extract_real): Ouput floating point value.
686 (write_float): New Function.
687 (write_e, write_f, write_en, write_es): Modified
688 * io/transfer.c (formatted_transfer): Modified.
689 * libgfor.h (default_rtoa): Declaration.
691 * runtime/error.c (default_rtoa): New Function.
692 (rtoa): New Function.
694 2003-04-05 Paul Brook <paul@nowt.org>
696 * intrinsics/spread_generic.c: New file.
697 * Makefile.am: Add it. Regenerate Makefile.in.
699 2003-03-29 Paul Brook <paul@nowt.org>
701 * intrinsics/pack_generic.c: New file.
702 * intrinsics/unpack_generic.c: New file.
703 * Makefile.am: Add them. Regenerate Makefile.in.
705 2003-03-25 Paul Brook <paul@nowt.org>
707 * intrinsics/eoshift0.c: New file.
708 * intrinsics/eoshift2.c: New file.
709 * m4/eoshift1.m4: New file.
710 * m4/eoshift3.m4: New file.
711 * Makefile.am: Add them.
712 * in_unpack_generic.c: Initialize src.
713 Regenerate generated files.
715 2003-03-14 Paul Brook <paul@nowt.org>
717 * m4/shape.m4: Work properly with array temporaries.
718 * m4/in_pack.m4: Skip redundant checks for array temporaries.
719 * runtime/in_pack_generic.c: Ditto.
721 2003-03-12 Paul Brook <paul@nowt.org>
723 * m4/shape.m4: Work properly with noncontiguous arrays.
725 2003-03-08 Paul Brook <paul@nowt.org>
727 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
728 * runtime/in_pack_generic.c: Ditto.
730 2003-02-08 Paul Brook <paul@nowt.org>
732 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
733 * io/close.c (st_close): Return void.
734 * io/open.c (st_open): Return void.
735 * libgfor.h (g95_array_char): Declare.
736 (internal_malloc_size): Ditto.
737 (internal_pack*, internal_unpack*): Ditto.
738 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
740 * m4/in_unpack.m4: Include file fixes.
741 * m4/reshape.m4: Increment the correct source pointer.
742 * Makefile.am (maxloc): Fix typo.
743 * runtime/in_pack_generic.c: Call optimized functions. Allocate
744 storage if neccessary. Fix logic for packed arrays.
745 * runtime/in_unpack_generic.c: Call optimized functions.
746 * runtime/main.c: Use runtime_error to report errors.
747 * memory.c (internal_malloc_size): Make non-static.
749 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
751 * reshape_packed.c, lock.c: Add #include <string.h>.
752 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
753 environ.c, error.c, memory.c, string.c: Add const.
754 * error.c (show_locus): Add void.
756 2003-02-21 Paul Brook <paul@nowt.org>
758 * m4/in_pack.m4: Avoid returning const * parameter.
759 * Makefile.am: Only regenerate files in maintainer mode.
761 2003-02-20 Paul Brook <paul@nowt.org>
763 Add array repacking support functions.
764 * m4/in_pack.m4, m4/in_unpack.m4: New files.
765 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
766 * Makefile.am: Build them. Regenerate configury files.
767 * generated/: New directory for generated files (need to move
768 everything else there).
770 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
772 * m4/cexp.m4: Fix typo.
774 2003-01-26 Paul Brook <paul@nowt.org>
776 * intrinsics/: Add missing generated files.
778 2003-01-26 Paul Brook <paul@nowt.org>
780 * Makefile.am: Put -I before the filename.
782 2003-01-24 Paul Brook <paul@nowt.org>
784 * configure.in: Add AM_MAINTAINER_MODE.
786 2003-01-23 Paul Brook <paul@nowt.org>
788 * configure.in, Makefile.am: Modify to work with unmodified autoconf
790 Also regenerate other configury files.
792 2003-01-21 Paul Brook <paul@nowt.org>
794 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
796 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
798 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
799 Don't include "alloca.h".
801 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
803 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
804 * Makefile.am: Adjust file name.
805 * Makefile.in: Regenerate.
806 * gfortypes.h: Kill, include everything in...
807 * libgfor.h: ...here. Include config.h
808 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
809 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
810 intrinsics/reshape_packed.c, intrinsics/size.c,
811 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
812 for prefix for all functions instead of hardcoded.
814 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
816 * io/lock.c (library_end): Propagate library return
819 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
821 Port fixes from Andy's tree:
822 * io/read.c (read_decimal): Reverse sense of overflow
823 comparison during integer reads.
824 * io/format.c (revert): Fix comment.
825 (next_format): Fix format revision.
826 * io/unix.c: Fix and simplify mmap version of stream
829 2003-01-11 Paul Brook <paul@nowt.org>
831 * configure, Makefile.in: Regenerate.
833 2003-01-11 Paul Brook <paul@nowt.org>
835 * runtime/stop.c: Rewrite.
837 2003-01-08 Paul Brook <paul@nowt.org>
839 * configure, Makefile.in: Regenerate.
841 2003-01-05 Paul Brook <paul@nowt.org>
843 * (*.m4) Move to m4/.
844 * intrinsics/string.c (_gfor_string_index): New Function.
846 2002-12-29 Paul Brook <paul@nowt.org>
848 * intrinsics/reshape.*: New files.
849 * gcc_config.patch: Update to new GCC configure system.
851 2002-10-10 Paul Brook <paul@nowt.org>
853 * intrinsics/size.c: New file.
854 * intrinsics/shape.m4: New file.
855 * Makefile.am: Add above files.
857 2002-10-02 Paul Brook <paul@nowt.org>
859 * fmain.c (main): Move here.
860 * libgfor.c: From here.
861 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
862 * Makefile.am: Build libgforbegin.
863 * gcc_config.patch: Remove stray -march=athlon.
864 * dotprodl.m4: Fix use of L8_TO_L4 macro.
865 * ifunction.m4: Move variable declarations to allow compilation with
867 * specific.m4, specific4.m4: Fix typo typecode->type_code.
868 * README: Document use of patch -p1.
870 2002-09-12 Paul Brook <paul@nowt.org>
872 * math/*: Add complex math library functions.
873 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
874 * Makefile.am: Add details for above.
875 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
877 2002-09-09 Paul Brook <paul@nowt.org>
879 * libgfor.c (determine_endianness): Use an array rather than a struct.
880 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
882 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
884 * libgfor.c: Add fatal signal handler.
885 Romove superfluous abort() calls.
887 2002-09-07 Paul Brook <paul@nowt.org>
889 * Makefile.am, intrinsics: Major rewrite.
891 2002-09-02 Paul Brook <paul@nowt.org>
893 * Makefile.am: Added -I$(srcdir) to m4 rule.
895 2002-08-30 Paul Brook <paul@nowt.org>
897 * io/*: Integrated libgforio.
898 * Makefile.am, configure.in: Make compatable with GCC. Build code for
899 intrinsics in the intrisics directory.
900 * intrinsics/intrinsics.m4: Move here. Strip directories from the
901 filename. Add 'and' and 'all' intrinsics.
903 2002-08-17 Paul Brook <paul@nowt.org>
905 * ALL: First release as more than just a single file