1 2004-05-23 Steven G. Kargl <kargls@comcast.net>
3 * random.c (random_seed): Use correct variable.
5 2004-05-22 Steven G. Kargl <kargls@comcast.net>
7 * intrinsics/system_clock: New file.
8 * Makefile.am: Add intrinsics/system_clock.c.
9 * Makefile.in: Regenerate.
11 2004-05-21 Roger Sayle <roger@eyesopen.com>
13 * io/format.c (parse_format_list): Allow the comma after a string
14 literal to be optional.
16 2004-05-18 Paul Brook <paul@codesourcery.com>
17 Feng Wang <fengwang@nudt.edu.cn>
19 * Makefile.am (i_pow_c): Set it. Add build rule.
20 (gfor_built_src): Use it.
21 (m4_files): add m4/pow.m4.
22 * Makefile.in: Regenerate.
23 * m4/pow.m4: New file.
24 * generated/pow_*.c: Regenerate.
26 2004-05-18 Paul Brook <paul@codesourcery.com>
28 * Makefile.am: Remove references to types.m4.
29 * m4/iparm.m4: Merge with types.m4.
30 * m4/types.m4: Remove.
31 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
32 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
33 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
34 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
35 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
36 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
37 Update to use new iparm.m4.
38 * generated/*.c: Regenerate.
40 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
43 * gfortran.h (offset_t): Rename to ...
44 (gfc_offset): ... this.
45 * io/backspace.c (formatted_backspace, unformatted_backspace),
46 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
47 transfer.c (us_read, us_write, next_record_r, next_record_w),
48 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
49 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
50 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
51 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
52 occurences of offset_t by gfc_offset.
54 2004-05-16 Paul Brook <paul@codesourcery.com>
56 * io/format.c (write_real): Don't include padding in format.
58 2004-05-16 Paul Brook <paul@codesourcery.com>
60 * io/format.c (format_lex): Make c an int.
62 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
63 Paul Brook <paul@codesourcery.com>
65 * io/write.c (write_logical): Don't print extra blank.
66 (write_integer): Base field width on kind.
67 (list_formatted_write): Output initial blank.
69 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
71 * io/io.h (flush): Add prototype.
72 * io/transfer.c (finalize_transfer): Flush partial records.
73 * io/unix.c (flush): New function.
75 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
78 * io/io.h (unit_t): Rename to ...
80 (unit_root, current_unit, find_file, find_unit, get_unit): Now
82 (delete_file, insert_unit, close_unit): Argument now of type
84 * backspace.c (st_backspace), close.c (st_close), endfile.c
85 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
86 (test_endfile, edit_modes, new_unit, already_open, st_open),
87 rewind.c (st_rewind), transfer.c (current_unit), unit.c
88 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
89 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
90 get_unit, init_units, close_unit), unix.c (find_file0,
91 find_file, delete_file): Replace all occurences of unit_t by
94 2004-05-15 Bud Davis <bdavis9659@comcast.net>
97 * io/write.c (write_a): right justify A edit output.
99 2004-05-14 Bud Davis <bdavis9659@comcast.net>
102 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
103 * runtime/main.c(init): Call random_seed as part of MAIN init.
105 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
107 * io/format.c: (parse_format_list): No comma is required after
110 2004-05-13 Bud Davis <bdavis9659@comcast.net>
113 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
115 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
116 Steven Bosscher <stevenb@suse.de>
119 * libgfortran.h: Include <inttypes.h> if available.
121 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
123 * io/unix.c (MAP_FAILED): Define if missing.
124 (mmap_alloc): Cast MAP_FAILED to char *.
125 (mmap_open): Likewise.
127 2004-04-26 Bud Davis <bdavis9659@comcast.net>
129 * generated/_abs_i8.f90: New file.
130 * generated/_abs_c4.f90: New file.
131 * generated/_abs_c8.f90: New file.
132 * Makefile.am: Add them.
133 * Makefile.in: Regenerate.
135 2004-04-26 Bud Davis <bdavis9659@comcast.net>
138 * generated/_abs_i4.f90: New file.
139 * Makefile.am: Add it.
140 * Makefile.in: Regenerate.
142 2004-04-25 Bud Davis <bdavis9659@comcast.net>
145 * io/list_read.c(list_formatted_read): finish consuming the
146 spaces and seperators at eoln to get ready for next item.
148 2004-04-23 Bud Davis <bdavis9659@comcast.net>
151 * io/read.c(read_a): Handle field width > destination and no field width.
153 2004-04-22 Bud Davis <bdavis9659@comcast.net>
156 * io/format.c (format_item): gracefully handle a ')'
157 when it is the first character encountered in the string.
159 2004-04-11 Bud Davis <bdavis9659@comcast.net>
162 * io/transfer.c (next_record): Update last_record when
163 more than one record is written to a direct access file
164 with one write statement.
166 2004-04-11 Bud Davis <bdavis9659@comcast.net>
169 * io/transfer.c (next_record_w) : No '\n' if internal.
170 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
172 2004-04-11 Bud Davis <bdavis9659@comcast.net>
174 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
175 Will need to change this later to support direct access files > 2gb.
177 2004-04-03 Bud Davis <bdavis9659@comcast.net>
180 * io/transfer.c (next_record_r) : Skip to next record.
182 2004-04-03 Bud Davis <bdavis9659@comcast.net>
185 * io/transfer.c (next_record): Update last_record for DIRECT
187 2004-04-03 Bud Davis <bdavis9659@comcast.net>
190 * io/unix.c (find_file0): Use fd field of struct
192 2004-04-03 Bud Davis <bdavis9659@comcast.net>
195 * io/inquire.c (inquire_via_unit): Changed return string for
196 BLANK=NULL. Use correct variable for ACTION.
198 2004-04-01 Bud Davis <bdavis9659@comcast.net>
201 * io/read.c (read_f): Allow a decimal without a leading digit.
202 * io/write.c (output_float): remove a leading '0' to keep from
203 overflowing the field (F edit descriptor).
205 2004-04-01 Bud Davis <bdavis9659@comcast.net>
208 * io/open.c (new_unit),
209 * io/io.h : new_unit is now visible
210 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
211 * io/transfer.c (data_transfer_init): remove compile warnings.
212 * io/rewind.c (st_rewind): ftruncate if writing.
214 2004-03-24 Bud Davis <bdavis9659@comcast.net>
216 * write.c (write_l): Use extract_int for 'L' edit descriptor.
218 2004-03-24 Bud Davis <bdavis9659@comcast.net>
221 * io/io.h (global_t):
222 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
223 Move eof_jmp to a global structure.
224 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
226 2004-03-24 Bud Davis <bdavis9659@comcast.net>
228 * m4/cexp.m4 (csqrt): Actually use the passed value.
229 * generated/exp_c?.c: Regenerate.
231 2004-03-24 Bud Davis <bdavis9659@comcast.net>
234 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
235 * open.c (new_unit): Moved test for positioned direct access error.
236 (init_units): Corrected calculation of max records.
238 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
240 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
241 * Makefile.in: Regenerate.
242 * m4/dotprodc.m4: New file. Implement complex dot_product.
243 * m4/dotprod.m4: Delete the complex implementation.
244 * generated/dotprod_*: Update.
246 2004-02-07 Bud Davis <bdavis9659@comcast.net>
248 * transfer.c (write_constant_string): Do not delete H's in hollerith
251 2004-01-05 Andrew Pinski <apinski@apple.com>
253 * configure.in: Check for csin in -lmx also.
254 * configure: Regenerate.
256 2004-01-01 Paul Brook <paul@codesourcery.com>
258 * io/list_read.c (find_nml_node): Make static.
259 (match_namelist_name): Ditto.
260 * io/read.c (convert_precision_real): Make static, fix spelling.
261 * io/transfer.c (extract_real): Remove unused prototype.
262 (st_set_nml_var): Make static.
263 * io/write.c (extract_real): Make static.
265 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
267 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
269 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
271 * io/transfer.c (data_transfer_init): Give a runtime error for list
272 formatted reads and writes from/to files opened for unformatted IO.
274 2003-11-30 Paul Brook <paul@nowt.org>
276 * runtime/memory.c (push_context): Remove.
277 (pop_context): Remove.
278 * libgfortran.h: Remove prototypes.
280 2003-11-27 Paul Brook <paul@nowt.org>
282 * runtime/memory.c (deallocate): Nullify pointer after freeing.
284 2003-11-27 Paul Brook <paul@nowt.org>
286 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
287 * libgfortran.h: Ditto.
288 * m4/in_pack.m4: Ditto.
289 * runtime/in_pack_generic.c: Ditto.
290 * runtime/memory.c: Ditto.
292 2003-11-26 Richard Henderson <rth@redhat.com>
294 * m4/exponent.m4, m4/fraction.m4: New.
295 * m4/nearest.m4, m4/set_exponent.m4: New.
296 * generated/*: Update.
297 * Makefile.am: Add them.
298 (AM_CFLAGS): New. Use -std=gnu99.
299 * Makefile.in: Regenerate.
301 2003-11-08 Paul Brook <paul@nowt.org>
304 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
305 * m4/maxloc1.m4: Ditto.
306 * m4/minloc0.m4: Ditto.
307 * m4/minloc1.m4: Ditto.
308 * m4/ifunction.m4: Set return value for zero sized arrays.
309 * m4/iforeach.m4: Ditto.
310 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
311 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
312 * generated/*: Update.
314 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
317 * io/list_read.c (eat_spaces): Treat tab as space.
319 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
321 * intrinsics/random.c: Add reference to paper containing algorithm.
322 (random_seed): Extra error checking and proper handling of arrays.
323 (arandom_r4, arandom_r8): Implement.
325 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
328 * runtime/memory.c (allocate_size): Allow allocation
329 of zero-sized objects.
331 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
334 * open.c (new_unit): Open without a file name opens
335 a file with name fort.<unit>.
337 2003-10-12 Feng Wang <wf_cs@yahoo.com>
339 * intrinsics/cshift0.c: New file.
340 * m4/cshift1.m4: New file
341 * generated/cshift*.c: New files.
342 * Makefile.am: Add them.
343 * Makefile.in: Regenerate.
345 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
347 * io/list_read.c (read_character): Remove unwanted call to free_saved.
349 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
351 * intrinsics/string_intrinsics.c (string_trim): New function.
352 (string_repeat): New function.
354 2003-10-11 Paul Brook <paul@nowt.org>
356 * intrinsics/dprod_r8.f90: New file.
357 * Makefile.am (gfor_specific_src): Add it.
358 (gfor_built_specific_src): Rename from gfor_build_specific_c.
360 (gfor_specific2_src): Rename from gfor_built_specific2_c.
362 * Makefile.in: Regenerate.
363 * generated/_aint_*.f90: New files.
364 * generated/_anint*.f90: New files.
365 * generated/_atan2*.f90: New files.
366 * generated/_mod*.f90: New files.
368 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
370 * intrinsics/selected_kind.f90: New file.
371 * Makefile.am: Add it.
372 * Makefile.in: regenerate.
374 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
375 Paul Brook <paul@nowt.org>
377 * intrinsics/random.c: New file.
378 * Makefile.am (gfor_hemper_src): Add it.
379 (gfor_specific_c): Fix typo.
381 2003-09-19 Paul Brook <paul@nowt.org>
383 * All: rename g95->gfc.
385 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
387 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
389 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
391 * io/write.c (write_float): Dectection of positive infinite number,
392 Not a Number(NaN) and negative infinite number.
393 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
394 output a very_very small number ( < 0.1e-100 ).
396 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
398 * libgfortran.h (xtoa, itoa): Parameter modified.
399 * io/io.h (namelist_info): Declaration to support namelist I/O
400 (st_parameter): Add namelist related component
401 (ionml, empty_internal_buffer, st_set_nml_var_int,
402 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
403 st_set_nml_var_log): Declaration
404 (set_integer, set_integer): Parameter changed
405 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
407 (parse_format_list): Fix bug about FMT_SLASH
408 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
409 newly allocated saved_string
410 (next_char): Add detection of End_Of_Line support
411 (convert_integer): Now can process 64 bits interger
412 (read_real): Bug fixed
413 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
414 (match_namelist_name): New implemention
415 * io/lock.c (ionml): New global variable
416 (library_end): Free memory in ionml
417 * io/open.c (st_open): Variable initializtion
418 * io/read.c (max_value): 64 bits interger support
419 (convert_precsion_real): New procedure to replace "strtod" with more
421 (read_f, read_radix): Input bug fix
422 * io/transfer.c: (sf_seen_eor): New static variable
423 (read_sf): Zeroize base buffer; fix bugs: single read statement can
424 not get input in mutli line when read from stdin
425 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
427 (data_transfer_init): Clear internal buffer for Internel File I/O.
428 Internal File now worked. Detect some error condition for namelist.
430 (next_record_w): Internal file and Namelist I/O support.
431 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
432 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
433 * io/unit.c (implicit_unit): Deletion
434 (get_unit): Now cannot open a unit implicitly.
435 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
437 (mem_alloc_r_at): Internal file I/O support added
438 (empty_internal_buffer): New function
439 * io/write.c (extract_int): Support 64 bits interger processing
440 (output_float): Varibale initialization
441 (write_float): Infinite real number detection.
442 (write_int): 64 bits integer I/O support
443 (write_decimal): New function to output decimal number
444 (otoa, btoa): Better implemention and 64 bits interger support
445 (namelist_write): New function
446 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
449 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
451 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
452 get_mem ): Add attribute.
453 * intrinsics/spread_generic.c (__spread): Fix spelling.
454 * io/inquire.c (inquire_via_filename): Add const.
455 * io/io.h (sys_exit): Add attribute.
456 * io/io.h (move_pos_offset): Add move_pos_offset.
457 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
458 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
459 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
460 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
462 * io/read.c (convert_real): Add const.
463 * io/transfer.c (type_name): Add const.
464 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
465 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
466 inquire_read, inquire_write, inquire_readwrite): Add const.
467 * io/write.c (output_float): Remove unused variable.
468 * io/write.c (write_a, extract_int, extract_real, output_float,
469 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
470 write_e, write_f, write_en, write_es, write_logical, write_integer,
471 write_character, write_real, write_complex): Add const.
472 * runtime/error.c (rtoa): Remove unused variable.
473 * runtime/select.c (select_string): Add const.
474 * runtime/stop.c (stop_string): Add const.
476 2003-08-10 Paul Brook <paul@nowt.org>
478 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
479 (FFLAGS): Add -fno-underscoring.
480 * Makefile.in: Regenerate.
481 * intrinsics/abort.c: New file.
483 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
485 * fmain.c (main): Do not call init and cleanup; call set_args instead.
486 * libgfortran.h (init, cleanup): Remove declarations.
487 (set_args): Add declaration.
488 * runtime/main.c (init, cleanup): Make them static, and give them
489 the constructor and destructor attributes.
490 (set_args): New function.
492 2003-08-10 Paul Brook <paul@nowt.org>
494 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
495 on which string is longest.
497 2003-08-10 Paul Brook <paul@nowt.org>
499 * Makefile.am (EXTRA_DIST): Remove old files.
500 * Makefile.in: Regenerate.
502 2003-07-26 Paul Brook <paul@nowt.org>
504 Rename library to libgfortran.
505 * libgfortran.h: Change prefix to _libgfortran_.
507 2003-07-24 Paul Brook <paul@nowt.org>
509 * configure.in: Don't pull in system libtool. Use toplevel
512 2003-07-22 Paul Brook <paul@nowt.org>
514 Regenerate all configury files.
516 2003-07-09 Chun Huang <compiler@sohu.com>
518 * intrinsics/string_intrinsic.c (string_scan): New function.
519 (string_verify): New function.
521 2003-06-25 Paul Brook <paul@nowt.org>
523 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
524 (mem_seek): Don't bother setting physical_offset.
526 2003-06-20 Paul Brook <paul@nowt.org>
528 * libgfor.h (stop_numeric): Declare.
529 * runtime/pause.c: New file.
530 * Makefile.am: Add it.
532 2003-06-08 Paul Brook <paul@nowt.org>
534 * m4/cexp.m4 (cabs): Use correct typed version.
535 (csqrt): New function.
537 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
539 Spotted by Benjamin and Tobias:
540 * io/list_read.c: Add Separator '\t'.
541 (parse_real, read_real): Accept real values starting with an optional
542 sign follows a decimal point.
544 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
546 * Makefile.am: Don't put cmath objects in subdir.
547 * configure.in: Rename MATHOBJ to MATH_OBJ.
549 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
551 * intrinsics/associated.c: New file.
552 * Makefile.am: Add it. Regenerate Makefile.in.
553 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
554 G95_DESCRIPTOR_DTYPE.
556 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
558 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
559 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
560 the scale_factor to 0 for F editing.
562 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
564 * libgfor.h: Only include stdint.h if it exists.
566 2003-05-07 Paul Brook <paul@nowt.org>
568 * libgfor.h: Use stdint.h types.
569 * intrinsics/ishift.c: Ditto.
570 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
572 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
574 * libgfor.h (offsetof): Define if nobody else does.
575 * runtime/memory.c (HEADER_SIZE): Use it.
577 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
579 * configure.in: Require autoconf 2.54.
581 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
582 Paul Brook <paul@nowt.org>
584 * intrinsics/reshape_generic.c: Copy the whole element, not just the
586 * m4/transpose.m4: New file.
587 * Makefile.am: Add them.
588 Regenerate generated files.
590 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
592 * io/format.c (parse_format_list): Allow 'X' without integer
593 prefix. This is an extension. Interpretation is '1X'.
595 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
597 * io/format.c (parse_format_list): Allow '0P'.
599 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
601 * Makefile.in: Re-regenerate for automake 1.7.3.
603 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
605 Port implementation for CHARACTER SELECT from Andy's tree.
606 * runtime/select.c: New file
607 * Makefile.am: Add it.
608 * Makefile.in: Regenerate.
610 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
612 * io/transfer.c (formatted_transfer): Modified
613 * io/unix.c (move_pos_offset): New Function.
614 * io/format.c (parse_format_list): Modified.
616 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
618 * io/write.c (write_float,write_real): New implemention of
619 FMT_G and default float editing.
620 (calculate_exp,calculate_G_format,output_float): New Function.
621 (write_float,write_real,write_logical): Modified
622 * libgfor.h (default_rtoa): Remove Declaration.
623 * runtime/error.c (default_rtoa): Remove Function.
625 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
628 * io/write.c (extract_real): Add missing break statement.
630 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
632 * cpu_time.c: Make sure we have a definition of HZ. Don't
633 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
635 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
636 Paul Brook <paul@nowt.org>
638 * configure.in: Check for process time headers and GETTIMEOFDAY.
639 * makefile.am: Add intrinsics/cpu_time.c.
640 * acinclude.m4: New file.
641 * intrinsics/cpu_time.c: New file.
642 * m4/dotprodl.m4: Fix typo.
643 Regenerate generated files.
645 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
647 * io/write.c (extract_real): Ouput floating point value.
648 (write_float): New Function.
649 (write_e, write_f, write_en, write_es): Modified
650 * io/transfer.c (formatted_transfer): Modified.
651 * libgfor.h (default_rtoa): Declaration.
653 * runtime/error.c (default_rtoa): New Function.
654 (rtoa): New Function.
656 2003-04-05 Paul Brook <paul@nowt.org>
658 * intrinsics/spread_generic.c: New file.
659 * Makefile.am: Add it. Regenerate Makefile.in.
661 2003-03-29 Paul Brook <paul@nowt.org>
663 * intrinsics/pack_generic.c: New file.
664 * intrinsics/unpack_generic.c: New file.
665 * Makefile.am: Add them. Regenerate Makefile.in.
667 2003-03-25 Paul Brook <paul@nowt.org>
669 * intrinsics/eoshift0.c: New file.
670 * intrinsics/eoshift2.c: New file.
671 * m4/eoshift1.m4: New file.
672 * m4/eoshift3.m4: New file.
673 * Makefile.am: Add them.
674 * in_unpack_generic.c: Initialize src.
675 Regenerate generated files.
677 2003-03-14 Paul Brook <paul@nowt.org>
679 * m4/shape.m4: Work properly with array temporaries.
680 * m4/in_pack.m4: Skip redundant checks for array temporaries.
681 * runtime/in_pack_generic.c: Ditto.
683 2003-03-12 Paul Brook <paul@nowt.org>
685 * m4/shape.m4: Work properly with noncontiguous arrays.
687 2003-03-08 Paul Brook <paul@nowt.org>
689 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
690 * runtime/in_pack_generic.c: Ditto.
692 2003-02-08 Paul Brook <paul@nowt.org>
694 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
695 * io/close.c (st_close): Return void.
696 * io/open.c (st_open): Return void.
697 * libgfor.h (g95_array_char): Declare.
698 (internal_malloc_size): Ditto.
699 (internal_pack*, internal_unpack*): Ditto.
700 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
702 * m4/in_unpack.m4: Include file fixes.
703 * m4/reshape.m4: Increment the correct source pointer.
704 * Makefile.am (maxloc): Fix typo.
705 * runtime/in_pack_generic.c: Call optimized functions. Allocate
706 storage if neccessary. Fix logic for packed arrays.
707 * runtime/in_unpack_generic.c: Call optimized functions.
708 * runtime/main.c: Use runtime_error to report errors.
709 * memory.c (internal_malloc_size): Make non-static.
711 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
713 * reshape_packed.c, lock.c: Add #include <string.h>.
714 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
715 environ.c, error.c, memory.c, string.c: Add const.
716 * error.c (show_locus): Add void.
718 2003-02-21 Paul Brook <paul@nowt.org>
720 * m4/in_pack.m4: Avoid returning const * parameter.
721 * Makefile.am: Only regenerate files in maintainer mode.
723 2003-02-20 Paul Brook <paul@nowt.org>
725 Add array repacking support functions.
726 * m4/in_pack.m4, m4/in_unpack.m4: New files.
727 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
728 * Makefile.am: Build them. Regenerate configury files.
729 * generated/: New directory for generated files (need to move
730 everything else there).
732 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
734 * m4/cexp.m4: Fix typo.
736 2003-01-26 Paul Brook <paul@nowt.org>
738 * intrinsics/: Add missing generated files.
740 2003-01-26 Paul Brook <paul@nowt.org>
742 * Makefile.am: Put -I before the filename.
744 2003-01-24 Paul Brook <paul@nowt.org>
746 * configure.in: Add AM_MAINTAINER_MODE.
748 2003-01-23 Paul Brook <paul@nowt.org>
750 * configure.in, Makefile.am: Modify to work with unmodified autoconf
752 Also regenerate other configury files.
754 2003-01-21 Paul Brook <paul@nowt.org>
756 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
758 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
760 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
761 Don't include "alloca.h".
763 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
765 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
766 * Makefile.am: Adjust file name.
767 * Makefile.in: Regenerate.
768 * gfortypes.h: Kill, include everything in...
769 * libgfor.h: ...here. Include config.h
770 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
771 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
772 intrinsics/reshape_packed.c, intrinsics/size.c,
773 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
774 for prefix for all functions instead of hardcoded.
776 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
778 * io/lock.c (library_end): Propagate library return
781 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
783 Port fixes from Andy's tree:
784 * io/read.c (read_decimal): Reverse sense of overflow
785 comparison during integer reads.
786 * io/format.c (revert): Fix comment.
787 (next_format): Fix format revision.
788 * io/unix.c: Fix and simplify mmap version of stream
791 2003-01-11 Paul Brook <paul@nowt.org>
793 * configure, Makefile.in: Regenerate.
795 2003-01-11 Paul Brook <paul@nowt.org>
797 * runtime/stop.c: Rewrite.
799 2003-01-08 Paul Brook <paul@nowt.org>
801 * configure, Makefile.in: Regenerate.
803 2003-01-05 Paul Brook <paul@nowt.org>
805 * (*.m4) Move to m4/.
806 * intrinsics/string.c (_gfor_string_index): New Function.
808 2002-12-29 Paul Brook <paul@nowt.org>
810 * intrinsics/reshape.*: New files.
811 * gcc_config.patch: Update to new GCC configure system.
813 2002-10-10 Paul Brook <paul@nowt.org>
815 * intrinsics/size.c: New file.
816 * intrinsics/shape.m4: New file.
817 * Makefile.am: Add above files.
819 2002-10-02 Paul Brook <paul@nowt.org>
821 * fmain.c (main): Move here.
822 * libgfor.c: From here.
823 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
824 * Makefile.am: Build libgforbegin.
825 * gcc_config.patch: Remove stray -march=athlon.
826 * dotprodl.m4: Fix use of L8_TO_L4 macro.
827 * ifunction.m4: Move variable declarations to allow compilation with
829 * specific.m4, specific4.m4: Fix typo typecode->type_code.
830 * README: Document use of patch -p1.
832 2002-09-12 Paul Brook <paul@nowt.org>
834 * math/*: Add complex math library functions.
835 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
836 * Makefile.am: Add details for above.
837 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
839 2002-09-09 Paul Brook <paul@nowt.org>
841 * libgfor.c (determine_endianness): Use an array rather than a struct.
842 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
844 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
846 * libgfor.c: Add fatal signal handler.
847 Romove superfluous abort() calls.
849 2002-09-07 Paul Brook <paul@nowt.org>
851 * Makefile.am, intrinsics: Major rewrite.
853 2002-09-02 Paul Brook <paul@nowt.org>
855 * Makefile.am: Added -I$(srcdir) to m4 rule.
857 2002-08-30 Paul Brook <paul@nowt.org>
859 * io/*: Integrated libgforio.
860 * Makefile.am, configure.in: Make compatable with GCC. Build code for
861 intrinsics in the intrisics directory.
862 * intrinsics/intrinsics.m4: Move here. Strip directories from the
863 filename. Add 'and' and 'all' intrinsics.
865 2002-08-17 Paul Brook <paul@nowt.org>
867 * ALL: First release as more than just a single file