1 2004-05-18 Paul Brook <paul@codesourcery.com>
3 * Makefile.am: Remove references to types.m4.
4 * m4/iparm.m4: Merge with types.m4.
6 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
7 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
8 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
9 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
10 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
11 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
12 Update to use new iparm.m4.
13 * generated/*.c: Regenerate.
15 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
18 * gfortran.h (offset_t): Rename to ...
19 (gfc_offset): ... this.
20 * io/backspace.c (formatted_backspace, unformatted_backspace),
21 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
22 transfer.c (us_read, us_write, next_record_r, next_record_w),
23 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
24 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
25 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
26 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
27 occurences of offset_t by gfc_offset.
29 2004-05-16 Paul Brook <paul@codesourcery.com>
31 * io/format.c (write_real): Don't include padding in format.
33 2004-05-16 Paul Brook <paul@codesourcery.com>
35 * io/format.c (format_lex): Make c an int.
37 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
38 Paul Brook <paul@codesourcery.com>
40 * io/write.c (write_logical): Don't print extra blank.
41 (write_integer): Base field width on kind.
42 (list_formatted_write): Output initial blank.
44 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
46 * io/io.h (flush): Add prototype.
47 * io/transfer.c (finalize_transfer): Flush partial records.
48 * io/unix.c (flush): New function.
50 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
53 * io/io.h (unit_t): Rename to ...
55 (unit_root, current_unit, find_file, find_unit, get_unit): Now
57 (delete_file, insert_unit, close_unit): Argument now of type
59 * backspace.c (st_backspace), close.c (st_close), endfile.c
60 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
61 (test_endfile, edit_modes, new_unit, already_open, st_open),
62 rewind.c (st_rewind), transfer.c (current_unit), unit.c
63 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
64 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
65 get_unit, init_units, close_unit), unix.c (find_file0,
66 find_file, delete_file): Replace all occurences of unit_t by
69 2004-05-15 Bud Davis <bdavis9659@comcast.net>
72 * io/write.c (write_a): right justify A edit output.
74 2004-05-14 Bud Davis <bdavis9659@comcast.net>
77 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
78 * runtime/main.c(init): Call random_seed as part of MAIN init.
80 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
82 * io/format.c: (parse_format_list): No comma is required after
85 2004-05-13 Bud Davis <bdavis9659@comcast.net>
88 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
90 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
91 Steven Bosscher <stevenb@suse.de>
94 * libgfortran.h: Include <inttypes.h> if available.
96 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
98 * io/unix.c (MAP_FAILED): Define if missing.
99 (mmap_alloc): Cast MAP_FAILED to char *.
100 (mmap_open): Likewise.
102 2004-04-26 Bud Davis <bdavis9659@comcast.net>
104 * generated/_abs_i8.f90: New file.
105 * generated/_abs_c4.f90: New file.
106 * generated/_abs_c8.f90: New file.
107 * Makefile.am: Add them.
108 * Makefile.in: Regenerate.
110 2004-04-26 Bud Davis <bdavis9659@comcast.net>
113 * generated/_abs_i4.f90: New file.
114 * Makefile.am: Add it.
115 * Makefile.in: Regenerate.
117 2004-04-25 Bud Davis <bdavis9659@comcast.net>
120 * io/list_read.c(list_formatted_read): finish consuming the
121 spaces and seperators at eoln to get ready for next item.
123 2004-04-23 Bud Davis <bdavis9659@comcast.net>
126 * io/read.c(read_a): Handle field width > destination and no field width.
128 2004-04-22 Bud Davis <bdavis9659@comcast.net>
131 * io/format.c (format_item): gracefully handle a ')'
132 when it is the first character encountered in the string.
134 2004-04-11 Bud Davis <bdavis9659@comcast.net>
137 * io/transfer.c (next_record): Update last_record when
138 more than one record is written to a direct access file
139 with one write statement.
141 2004-04-11 Bud Davis <bdavis9659@comcast.net>
144 * io/transfer.c (next_record_w) : No '\n' if internal.
145 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
147 2004-04-11 Bud Davis <bdavis9659@comcast.net>
149 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
150 Will need to change this later to support direct access files > 2gb.
152 2004-04-03 Bud Davis <bdavis9659@comcast.net>
155 * io/transfer.c (next_record_r) : Skip to next record.
157 2004-04-03 Bud Davis <bdavis9659@comcast.net>
160 * io/transfer.c (next_record): Update last_record for DIRECT
162 2004-04-03 Bud Davis <bdavis9659@comcast.net>
165 * io/unix.c (find_file0): Use fd field of struct
167 2004-04-03 Bud Davis <bdavis9659@comcast.net>
170 * io/inquire.c (inquire_via_unit): Changed return string for
171 BLANK=NULL. Use correct variable for ACTION.
173 2004-04-01 Bud Davis <bdavis9659@comcast.net>
176 * io/read.c (read_f): Allow a decimal without a leading digit.
177 * io/write.c (output_float): remove a leading '0' to keep from
178 overflowing the field (F edit descriptor).
180 2004-04-01 Bud Davis <bdavis9659@comcast.net>
183 * io/open.c (new_unit),
184 * io/io.h : new_unit is now visible
185 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
186 * io/transfer.c (data_transfer_init): remove compile warnings.
187 * io/rewind.c (st_rewind): ftruncate if writing.
189 2004-03-24 Bud Davis <bdavis9659@comcast.net>
191 * write.c (write_l): Use extract_int for 'L' edit descriptor.
193 2004-03-24 Bud Davis <bdavis9659@comcast.net>
196 * io/io.h (global_t):
197 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
198 Move eof_jmp to a global structure.
199 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
201 2004-03-24 Bud Davis <bdavis9659@comcast.net>
203 * m4/cexp.m4 (csqrt): Actually use the passed value.
204 * generated/exp_c?.c: Regenerate.
206 2004-03-24 Bud Davis <bdavis9659@comcast.net>
209 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
210 * open.c (new_unit): Moved test for positioned direct access error.
211 (init_units): Corrected calculation of max records.
213 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
215 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
216 * Makefile.in: Regenerate.
217 * m4/dotprodc.m4: New file. Implement complex dot_product.
218 * m4/dotprod.m4: Delete the complex implementation.
219 * generated/dotprod_*: Update.
221 2004-02-07 Bud Davis <bdavis9659@comcast.net>
223 * transfer.c (write_constant_string): Do not delete H's in hollerith
226 2004-01-05 Andrew Pinski <apinski@apple.com>
228 * configure.in: Check for csin in -lmx also.
229 * configure: Regenerate.
231 2004-01-01 Paul Brook <paul@codesourcery.com>
233 * io/list_read.c (find_nml_node): Make static.
234 (match_namelist_name): Ditto.
235 * io/read.c (convert_precision_real): Make static, fix spelling.
236 * io/transfer.c (extract_real): Remove unused prototype.
237 (st_set_nml_var): Make static.
238 * io/write.c (extract_real): Make static.
240 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
242 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
244 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
246 * io/transfer.c (data_transfer_init): Give a runtime error for list
247 formatted reads and writes from/to files opened for unformatted IO.
249 2003-11-30 Paul Brook <paul@nowt.org>
251 * runtime/memory.c (push_context): Remove.
252 (pop_context): Remove.
253 * libgfortran.h: Remove prototypes.
255 2003-11-27 Paul Brook <paul@nowt.org>
257 * runtime/memory.c (deallocate): Nullify pointer after freeing.
259 2003-11-27 Paul Brook <paul@nowt.org>
261 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
262 * libgfortran.h: Ditto.
263 * m4/in_pack.m4: Ditto.
264 * runtime/in_pack_generic.c: Ditto.
265 * runtime/memory.c: Ditto.
267 2003-11-26 Richard Henderson <rth@redhat.com>
269 * m4/exponent.m4, m4/fraction.m4: New.
270 * m4/nearest.m4, m4/set_exponent.m4: New.
271 * generated/*: Update.
272 * Makefile.am: Add them.
273 (AM_CFLAGS): New. Use -std=gnu99.
274 * Makefile.in: Regenerate.
276 2003-11-08 Paul Brook <paul@nowt.org>
279 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
280 * m4/maxloc1.m4: Ditto.
281 * m4/minloc0.m4: Ditto.
282 * m4/minloc1.m4: Ditto.
283 * m4/ifunction.m4: Set return value for zero sized arrays.
284 * m4/iforeach.m4: Ditto.
285 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
286 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
287 * generated/*: Update.
289 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
292 * io/list_read.c (eat_spaces): Treat tab as space.
294 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
296 * intrinsics/random.c: Add reference to paper containing algorithm.
297 (random_seed): Extra error checking and proper handling of arrays.
298 (arandom_r4, arandom_r8): Implement.
300 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
303 * runtime/memory.c (allocate_size): Allow allocation
304 of zero-sized objects.
306 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
309 * open.c (new_unit): Open without a file name opens
310 a file with name fort.<unit>.
312 2003-10-12 Feng Wang <wf_cs@yahoo.com>
314 * intrinsics/cshift0.c: New file.
315 * m4/cshift1.m4: New file
316 * generated/cshift*.c: New files.
317 * Makefile.am: Add them.
318 * Makefile.in: Regenerate.
320 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
322 * io/list_read.c (read_character): Remove unwanted call to free_saved.
324 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
326 * intrinsics/string_intrinsics.c (string_trim): New function.
327 (string_repeat): New function.
329 2003-10-11 Paul Brook <paul@nowt.org>
331 * intrinsics/dprod_r8.f90: New file.
332 * Makefile.am (gfor_specific_src): Add it.
333 (gfor_built_specific_src): Rename from gfor_build_specific_c.
335 (gfor_specific2_src): Rename from gfor_built_specific2_c.
337 * Makefile.in: Regenerate.
338 * generated/_aint_*.f90: New files.
339 * generated/_anint*.f90: New files.
340 * generated/_atan2*.f90: New files.
341 * generated/_mod*.f90: New files.
343 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
345 * intrinsics/selected_kind.f90: New file.
346 * Makefile.am: Add it.
347 * Makefile.in: regenerate.
349 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
350 Paul Brook <paul@nowt.org>
352 * intrinsics/random.c: New file.
353 * Makefile.am (gfor_hemper_src): Add it.
354 (gfor_specific_c): Fix typo.
356 2003-09-19 Paul Brook <paul@nowt.org>
358 * All: rename g95->gfc.
360 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
362 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
364 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
366 * io/write.c (write_float): Dectection of positive infinite number,
367 Not a Number(NaN) and negative infinite number.
368 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
369 output a very_very small number ( < 0.1e-100 ).
371 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
373 * libgfortran.h (xtoa, itoa): Parameter modified.
374 * io/io.h (namelist_info): Declaration to support namelist I/O
375 (st_parameter): Add namelist related component
376 (ionml, empty_internal_buffer, st_set_nml_var_int,
377 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
378 st_set_nml_var_log): Declaration
379 (set_integer, set_integer): Parameter changed
380 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
382 (parse_format_list): Fix bug about FMT_SLASH
383 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
384 newly allocated saved_string
385 (next_char): Add detection of End_Of_Line support
386 (convert_integer): Now can process 64 bits interger
387 (read_real): Bug fixed
388 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
389 (match_namelist_name): New implemention
390 * io/lock.c (ionml): New global variable
391 (library_end): Free memory in ionml
392 * io/open.c (st_open): Variable initializtion
393 * io/read.c (max_value): 64 bits interger support
394 (convert_precsion_real): New procedure to replace "strtod" with more
396 (read_f, read_radix): Input bug fix
397 * io/transfer.c: (sf_seen_eor): New static variable
398 (read_sf): Zeroize base buffer; fix bugs: single read statement can
399 not get input in mutli line when read from stdin
400 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
402 (data_transfer_init): Clear internal buffer for Internel File I/O.
403 Internal File now worked. Detect some error condition for namelist.
405 (next_record_w): Internal file and Namelist I/O support.
406 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
407 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
408 * io/unit.c (implicit_unit): Deletion
409 (get_unit): Now cannot open a unit implicitly.
410 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
412 (mem_alloc_r_at): Internal file I/O support added
413 (empty_internal_buffer): New function
414 * io/write.c (extract_int): Support 64 bits interger processing
415 (output_float): Varibale initialization
416 (write_float): Infinite real number detection.
417 (write_int): 64 bits integer I/O support
418 (write_decimal): New function to output decimal number
419 (otoa, btoa): Better implemention and 64 bits interger support
420 (namelist_write): New function
421 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
424 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
426 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
427 get_mem ): Add attribute.
428 * intrinsics/spread_generic.c (__spread): Fix spelling.
429 * io/inquire.c (inquire_via_filename): Add const.
430 * io/io.h (sys_exit): Add attribute.
431 * io/io.h (move_pos_offset): Add move_pos_offset.
432 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
433 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
434 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
435 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
437 * io/read.c (convert_real): Add const.
438 * io/transfer.c (type_name): Add const.
439 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
440 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
441 inquire_read, inquire_write, inquire_readwrite): Add const.
442 * io/write.c (output_float): Remove unused variable.
443 * io/write.c (write_a, extract_int, extract_real, output_float,
444 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
445 write_e, write_f, write_en, write_es, write_logical, write_integer,
446 write_character, write_real, write_complex): Add const.
447 * runtime/error.c (rtoa): Remove unused variable.
448 * runtime/select.c (select_string): Add const.
449 * runtime/stop.c (stop_string): Add const.
451 2003-08-10 Paul Brook <paul@nowt.org>
453 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
454 (FFLAGS): Add -fno-underscoring.
455 * Makefile.in: Regenerate.
456 * intrinsics/abort.c: New file.
458 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
460 * fmain.c (main): Do not call init and cleanup; call set_args instead.
461 * libgfortran.h (init, cleanup): Remove declarations.
462 (set_args): Add declaration.
463 * runtime/main.c (init, cleanup): Make them static, and give them
464 the constructor and destructor attributes.
465 (set_args): New function.
467 2003-08-10 Paul Brook <paul@nowt.org>
469 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
470 on which string is longest.
472 2003-08-10 Paul Brook <paul@nowt.org>
474 * Makefile.am (EXTRA_DIST): Remove old files.
475 * Makefile.in: Regenerate.
477 2003-07-26 Paul Brook <paul@nowt.org>
479 Rename library to libgfortran.
480 * libgfortran.h: Change prefix to _libgfortran_.
482 2003-07-24 Paul Brook <paul@nowt.org>
484 * configure.in: Don't pull in system libtool. Use toplevel
487 2003-07-22 Paul Brook <paul@nowt.org>
489 Regenerate all configury files.
491 2003-07-09 Chun Huang <compiler@sohu.com>
493 * intrinsics/string_intrinsic.c (string_scan): New function.
494 (string_verify): New function.
496 2003-06-25 Paul Brook <paul@nowt.org>
498 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
499 (mem_seek): Don't bother setting physical_offset.
501 2003-06-20 Paul Brook <paul@nowt.org>
503 * libgfor.h (stop_numeric): Declare.
504 * runtime/pause.c: New file.
505 * Makefile.am: Add it.
507 2003-06-08 Paul Brook <paul@nowt.org>
509 * m4/cexp.m4 (cabs): Use correct typed version.
510 (csqrt): New function.
512 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
514 Spotted by Benjamin and Tobias:
515 * io/list_read.c: Add Separator '\t'.
516 (parse_real, read_real): Accept real values starting with an optional
517 sign follows a decimal point.
519 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
521 * Makefile.am: Don't put cmath objects in subdir.
522 * configure.in: Rename MATHOBJ to MATH_OBJ.
524 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
526 * intrinsics/associated.c: New file.
527 * Makefile.am: Add it. Regenerate Makefile.in.
528 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
529 G95_DESCRIPTOR_DTYPE.
531 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
533 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
534 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
535 the scale_factor to 0 for F editing.
537 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
539 * libgfor.h: Only include stdint.h if it exists.
541 2003-05-07 Paul Brook <paul@nowt.org>
543 * libgfor.h: Use stdint.h types.
544 * intrinsics/ishift.c: Ditto.
545 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
547 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
549 * libgfor.h (offsetof): Define if nobody else does.
550 * runtime/memory.c (HEADER_SIZE): Use it.
552 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
554 * configure.in: Require autoconf 2.54.
556 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
557 Paul Brook <paul@nowt.org>
559 * intrinsics/reshape_generic.c: Copy the whole element, not just the
561 * m4/transpose.m4: New file.
562 * Makefile.am: Add them.
563 Regenerate generated files.
565 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
567 * io/format.c (parse_format_list): Allow 'X' without integer
568 prefix. This is an extension. Interpretation is '1X'.
570 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
572 * io/format.c (parse_format_list): Allow '0P'.
574 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
576 * Makefile.in: Re-regenerate for automake 1.7.3.
578 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
580 Port implementation for CHARACTER SELECT from Andy's tree.
581 * runtime/select.c: New file
582 * Makefile.am: Add it.
583 * Makefile.in: Regenerate.
585 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
587 * io/transfer.c (formatted_transfer): Modified
588 * io/unix.c (move_pos_offset): New Function.
589 * io/format.c (parse_format_list): Modified.
591 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
593 * io/write.c (write_float,write_real): New implemention of
594 FMT_G and default float editing.
595 (calculate_exp,calculate_G_format,output_float): New Function.
596 (write_float,write_real,write_logical): Modified
597 * libgfor.h (default_rtoa): Remove Declaration.
598 * runtime/error.c (default_rtoa): Remove Function.
600 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
603 * io/write.c (extract_real): Add missing break statement.
605 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
607 * cpu_time.c: Make sure we have a definition of HZ. Don't
608 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
610 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
611 Paul Brook <paul@nowt.org>
613 * configure.in: Check for process time headers and GETTIMEOFDAY.
614 * makefile.am: Add intrinsics/cpu_time.c.
615 * acinclude.m4: New file.
616 * intrinsics/cpu_time.c: New file.
617 * m4/dotprodl.m4: Fix typo.
618 Regenerate generated files.
620 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
622 * io/write.c (extract_real): Ouput floating point value.
623 (write_float): New Function.
624 (write_e, write_f, write_en, write_es): Modified
625 * io/transfer.c (formatted_transfer): Modified.
626 * libgfor.h (default_rtoa): Declaration.
628 * runtime/error.c (default_rtoa): New Function.
629 (rtoa): New Function.
631 2003-04-05 Paul Brook <paul@nowt.org>
633 * intrinsics/spread_generic.c: New file.
634 * Makefile.am: Add it. Regenerate Makefile.in.
636 2003-03-29 Paul Brook <paul@nowt.org>
638 * intrinsics/pack_generic.c: New file.
639 * intrinsics/unpack_generic.c: New file.
640 * Makefile.am: Add them. Regenerate Makefile.in.
642 2003-03-25 Paul Brook <paul@nowt.org>
644 * intrinsics/eoshift0.c: New file.
645 * intrinsics/eoshift2.c: New file.
646 * m4/eoshift1.m4: New file.
647 * m4/eoshift3.m4: New file.
648 * Makefile.am: Add them.
649 * in_unpack_generic.c: Initialize src.
650 Regenerate generated files.
652 2003-03-14 Paul Brook <paul@nowt.org>
654 * m4/shape.m4: Work properly with array temporaries.
655 * m4/in_pack.m4: Skip redundant checks for array temporaries.
656 * runtime/in_pack_generic.c: Ditto.
658 2003-03-12 Paul Brook <paul@nowt.org>
660 * m4/shape.m4: Work properly with noncontiguous arrays.
662 2003-03-08 Paul Brook <paul@nowt.org>
664 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
665 * runtime/in_pack_generic.c: Ditto.
667 2003-02-08 Paul Brook <paul@nowt.org>
669 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
670 * io/close.c (st_close): Return void.
671 * io/open.c (st_open): Return void.
672 * libgfor.h (g95_array_char): Declare.
673 (internal_malloc_size): Ditto.
674 (internal_pack*, internal_unpack*): Ditto.
675 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
677 * m4/in_unpack.m4: Include file fixes.
678 * m4/reshape.m4: Increment the correct source pointer.
679 * Makefile.am (maxloc): Fix typo.
680 * runtime/in_pack_generic.c: Call optimized functions. Allocate
681 storage if neccessary. Fix logic for packed arrays.
682 * runtime/in_unpack_generic.c: Call optimized functions.
683 * runtime/main.c: Use runtime_error to report errors.
684 * memory.c (internal_malloc_size): Make non-static.
686 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
688 * reshape_packed.c, lock.c: Add #include <string.h>.
689 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
690 environ.c, error.c, memory.c, string.c: Add const.
691 * error.c (show_locus): Add void.
693 2003-02-21 Paul Brook <paul@nowt.org>
695 * m4/in_pack.m4: Avoid returning const * parameter.
696 * Makefile.am: Only regenerate files in maintainer mode.
698 2003-02-20 Paul Brook <paul@nowt.org>
700 Add array repacking support functions.
701 * m4/in_pack.m4, m4/in_unpack.m4: New files.
702 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
703 * Makefile.am: Build them. Regenerate configury files.
704 * generated/: New directory for generated files (need to move
705 everything else there).
707 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
709 * m4/cexp.m4: Fix typo.
711 2003-01-26 Paul Brook <paul@nowt.org>
713 * intrinsics/: Add missing generated files.
715 2003-01-26 Paul Brook <paul@nowt.org>
717 * Makefile.am: Put -I before the filename.
719 2003-01-24 Paul Brook <paul@nowt.org>
721 * configure.in: Add AM_MAINTAINER_MODE.
723 2003-01-23 Paul Brook <paul@nowt.org>
725 * configure.in, Makefile.am: Modify to work with unmodified autoconf
727 Also regenerate other configury files.
729 2003-01-21 Paul Brook <paul@nowt.org>
731 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
733 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
735 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
736 Don't include "alloca.h".
738 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
740 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
741 * Makefile.am: Adjust file name.
742 * Makefile.in: Regenerate.
743 * gfortypes.h: Kill, include everything in...
744 * libgfor.h: ...here. Include config.h
745 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
746 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
747 intrinsics/reshape_packed.c, intrinsics/size.c,
748 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
749 for prefix for all functions instead of hardcoded.
751 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
753 * io/lock.c (library_end): Propagate library return
756 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
758 Port fixes from Andy's tree:
759 * io/read.c (read_decimal): Reverse sense of overflow
760 comparison during integer reads.
761 * io/format.c (revert): Fix comment.
762 (next_format): Fix format revision.
763 * io/unix.c: Fix and simplify mmap version of stream
766 2003-01-11 Paul Brook <paul@nowt.org>
768 * configure, Makefile.in: Regenerate.
770 2003-01-11 Paul Brook <paul@nowt.org>
772 * runtime/stop.c: Rewrite.
774 2003-01-08 Paul Brook <paul@nowt.org>
776 * configure, Makefile.in: Regenerate.
778 2003-01-05 Paul Brook <paul@nowt.org>
780 * (*.m4) Move to m4/.
781 * intrinsics/string.c (_gfor_string_index): New Function.
783 2002-12-29 Paul Brook <paul@nowt.org>
785 * intrinsics/reshape.*: New files.
786 * gcc_config.patch: Update to new GCC configure system.
788 2002-10-10 Paul Brook <paul@nowt.org>
790 * intrinsics/size.c: New file.
791 * intrinsics/shape.m4: New file.
792 * Makefile.am: Add above files.
794 2002-10-02 Paul Brook <paul@nowt.org>
796 * fmain.c (main): Move here.
797 * libgfor.c: From here.
798 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
799 * Makefile.am: Build libgforbegin.
800 * gcc_config.patch: Remove stray -march=athlon.
801 * dotprodl.m4: Fix use of L8_TO_L4 macro.
802 * ifunction.m4: Move variable declarations to allow compilation with
804 * specific.m4, specific4.m4: Fix typo typecode->type_code.
805 * README: Document use of patch -p1.
807 2002-09-12 Paul Brook <paul@nowt.org>
809 * math/*: Add complex math library functions.
810 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
811 * Makefile.am: Add details for above.
812 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
814 2002-09-09 Paul Brook <paul@nowt.org>
816 * libgfor.c (determine_endianness): Use an array rather than a struct.
817 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
819 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
821 * libgfor.c: Add fatal signal handler.
822 Romove superfluous abort() calls.
824 2002-09-07 Paul Brook <paul@nowt.org>
826 * Makefile.am, intrinsics: Major rewrite.
828 2002-09-02 Paul Brook <paul@nowt.org>
830 * Makefile.am: Added -I$(srcdir) to m4 rule.
832 2002-08-30 Paul Brook <paul@nowt.org>
834 * io/*: Integrated libgforio.
835 * Makefile.am, configure.in: Make compatable with GCC. Build code for
836 intrinsics in the intrisics directory.
837 * intrinsics/intrinsics.m4: Move here. Strip directories from the
838 filename. Add 'and' and 'all' intrinsics.
840 2002-08-17 Paul Brook <paul@nowt.org>
842 * ALL: First release as more than just a single file