1 2004-05-21 Roger Sayle <roger@eyesopen.com>
3 * io/format.c (parse_format_list): Allow the comma after a string
4 literal to be optional.
6 2004-05-18 Paul Brook <paul@codesourcery.com>
7 Feng Wang <fengwang@nudt.edu.cn>
9 * Makefile.am (i_pow_c): Set it. Add build rule.
10 (gfor_built_src): Use it.
11 (m4_files): add m4/pow.m4.
12 * Makefile.in: Regenerate.
13 * m4/pow.m4: New file.
14 * generated/pow_*.c: Regenerate.
16 2004-05-18 Paul Brook <paul@codesourcery.com>
18 * Makefile.am: Remove references to types.m4.
19 * m4/iparm.m4: Merge with types.m4.
20 * m4/types.m4: Remove.
21 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
22 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
23 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
24 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
25 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
26 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
27 Update to use new iparm.m4.
28 * generated/*.c: Regenerate.
30 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
33 * gfortran.h (offset_t): Rename to ...
34 (gfc_offset): ... this.
35 * io/backspace.c (formatted_backspace, unformatted_backspace),
36 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
37 transfer.c (us_read, us_write, next_record_r, next_record_w),
38 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
39 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
40 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
41 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
42 occurences of offset_t by gfc_offset.
44 2004-05-16 Paul Brook <paul@codesourcery.com>
46 * io/format.c (write_real): Don't include padding in format.
48 2004-05-16 Paul Brook <paul@codesourcery.com>
50 * io/format.c (format_lex): Make c an int.
52 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
53 Paul Brook <paul@codesourcery.com>
55 * io/write.c (write_logical): Don't print extra blank.
56 (write_integer): Base field width on kind.
57 (list_formatted_write): Output initial blank.
59 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
61 * io/io.h (flush): Add prototype.
62 * io/transfer.c (finalize_transfer): Flush partial records.
63 * io/unix.c (flush): New function.
65 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
68 * io/io.h (unit_t): Rename to ...
70 (unit_root, current_unit, find_file, find_unit, get_unit): Now
72 (delete_file, insert_unit, close_unit): Argument now of type
74 * backspace.c (st_backspace), close.c (st_close), endfile.c
75 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
76 (test_endfile, edit_modes, new_unit, already_open, st_open),
77 rewind.c (st_rewind), transfer.c (current_unit), unit.c
78 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
79 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
80 get_unit, init_units, close_unit), unix.c (find_file0,
81 find_file, delete_file): Replace all occurences of unit_t by
84 2004-05-15 Bud Davis <bdavis9659@comcast.net>
87 * io/write.c (write_a): right justify A edit output.
89 2004-05-14 Bud Davis <bdavis9659@comcast.net>
92 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
93 * runtime/main.c(init): Call random_seed as part of MAIN init.
95 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
97 * io/format.c: (parse_format_list): No comma is required after
100 2004-05-13 Bud Davis <bdavis9659@comcast.net>
103 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
105 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
106 Steven Bosscher <stevenb@suse.de>
109 * libgfortran.h: Include <inttypes.h> if available.
111 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
113 * io/unix.c (MAP_FAILED): Define if missing.
114 (mmap_alloc): Cast MAP_FAILED to char *.
115 (mmap_open): Likewise.
117 2004-04-26 Bud Davis <bdavis9659@comcast.net>
119 * generated/_abs_i8.f90: New file.
120 * generated/_abs_c4.f90: New file.
121 * generated/_abs_c8.f90: New file.
122 * Makefile.am: Add them.
123 * Makefile.in: Regenerate.
125 2004-04-26 Bud Davis <bdavis9659@comcast.net>
128 * generated/_abs_i4.f90: New file.
129 * Makefile.am: Add it.
130 * Makefile.in: Regenerate.
132 2004-04-25 Bud Davis <bdavis9659@comcast.net>
135 * io/list_read.c(list_formatted_read): finish consuming the
136 spaces and seperators at eoln to get ready for next item.
138 2004-04-23 Bud Davis <bdavis9659@comcast.net>
141 * io/read.c(read_a): Handle field width > destination and no field width.
143 2004-04-22 Bud Davis <bdavis9659@comcast.net>
146 * io/format.c (format_item): gracefully handle a ')'
147 when it is the first character encountered in the string.
149 2004-04-11 Bud Davis <bdavis9659@comcast.net>
152 * io/transfer.c (next_record): Update last_record when
153 more than one record is written to a direct access file
154 with one write statement.
156 2004-04-11 Bud Davis <bdavis9659@comcast.net>
159 * io/transfer.c (next_record_w) : No '\n' if internal.
160 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
162 2004-04-11 Bud Davis <bdavis9659@comcast.net>
164 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
165 Will need to change this later to support direct access files > 2gb.
167 2004-04-03 Bud Davis <bdavis9659@comcast.net>
170 * io/transfer.c (next_record_r) : Skip to next record.
172 2004-04-03 Bud Davis <bdavis9659@comcast.net>
175 * io/transfer.c (next_record): Update last_record for DIRECT
177 2004-04-03 Bud Davis <bdavis9659@comcast.net>
180 * io/unix.c (find_file0): Use fd field of struct
182 2004-04-03 Bud Davis <bdavis9659@comcast.net>
185 * io/inquire.c (inquire_via_unit): Changed return string for
186 BLANK=NULL. Use correct variable for ACTION.
188 2004-04-01 Bud Davis <bdavis9659@comcast.net>
191 * io/read.c (read_f): Allow a decimal without a leading digit.
192 * io/write.c (output_float): remove a leading '0' to keep from
193 overflowing the field (F edit descriptor).
195 2004-04-01 Bud Davis <bdavis9659@comcast.net>
198 * io/open.c (new_unit),
199 * io/io.h : new_unit is now visible
200 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
201 * io/transfer.c (data_transfer_init): remove compile warnings.
202 * io/rewind.c (st_rewind): ftruncate if writing.
204 2004-03-24 Bud Davis <bdavis9659@comcast.net>
206 * write.c (write_l): Use extract_int for 'L' edit descriptor.
208 2004-03-24 Bud Davis <bdavis9659@comcast.net>
211 * io/io.h (global_t):
212 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
213 Move eof_jmp to a global structure.
214 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
216 2004-03-24 Bud Davis <bdavis9659@comcast.net>
218 * m4/cexp.m4 (csqrt): Actually use the passed value.
219 * generated/exp_c?.c: Regenerate.
221 2004-03-24 Bud Davis <bdavis9659@comcast.net>
224 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
225 * open.c (new_unit): Moved test for positioned direct access error.
226 (init_units): Corrected calculation of max records.
228 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
230 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
231 * Makefile.in: Regenerate.
232 * m4/dotprodc.m4: New file. Implement complex dot_product.
233 * m4/dotprod.m4: Delete the complex implementation.
234 * generated/dotprod_*: Update.
236 2004-02-07 Bud Davis <bdavis9659@comcast.net>
238 * transfer.c (write_constant_string): Do not delete H's in hollerith
241 2004-01-05 Andrew Pinski <apinski@apple.com>
243 * configure.in: Check for csin in -lmx also.
244 * configure: Regenerate.
246 2004-01-01 Paul Brook <paul@codesourcery.com>
248 * io/list_read.c (find_nml_node): Make static.
249 (match_namelist_name): Ditto.
250 * io/read.c (convert_precision_real): Make static, fix spelling.
251 * io/transfer.c (extract_real): Remove unused prototype.
252 (st_set_nml_var): Make static.
253 * io/write.c (extract_real): Make static.
255 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
257 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
259 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
261 * io/transfer.c (data_transfer_init): Give a runtime error for list
262 formatted reads and writes from/to files opened for unformatted IO.
264 2003-11-30 Paul Brook <paul@nowt.org>
266 * runtime/memory.c (push_context): Remove.
267 (pop_context): Remove.
268 * libgfortran.h: Remove prototypes.
270 2003-11-27 Paul Brook <paul@nowt.org>
272 * runtime/memory.c (deallocate): Nullify pointer after freeing.
274 2003-11-27 Paul Brook <paul@nowt.org>
276 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
277 * libgfortran.h: Ditto.
278 * m4/in_pack.m4: Ditto.
279 * runtime/in_pack_generic.c: Ditto.
280 * runtime/memory.c: Ditto.
282 2003-11-26 Richard Henderson <rth@redhat.com>
284 * m4/exponent.m4, m4/fraction.m4: New.
285 * m4/nearest.m4, m4/set_exponent.m4: New.
286 * generated/*: Update.
287 * Makefile.am: Add them.
288 (AM_CFLAGS): New. Use -std=gnu99.
289 * Makefile.in: Regenerate.
291 2003-11-08 Paul Brook <paul@nowt.org>
294 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
295 * m4/maxloc1.m4: Ditto.
296 * m4/minloc0.m4: Ditto.
297 * m4/minloc1.m4: Ditto.
298 * m4/ifunction.m4: Set return value for zero sized arrays.
299 * m4/iforeach.m4: Ditto.
300 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
301 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
302 * generated/*: Update.
304 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
307 * io/list_read.c (eat_spaces): Treat tab as space.
309 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
311 * intrinsics/random.c: Add reference to paper containing algorithm.
312 (random_seed): Extra error checking and proper handling of arrays.
313 (arandom_r4, arandom_r8): Implement.
315 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
318 * runtime/memory.c (allocate_size): Allow allocation
319 of zero-sized objects.
321 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
324 * open.c (new_unit): Open without a file name opens
325 a file with name fort.<unit>.
327 2003-10-12 Feng Wang <wf_cs@yahoo.com>
329 * intrinsics/cshift0.c: New file.
330 * m4/cshift1.m4: New file
331 * generated/cshift*.c: New files.
332 * Makefile.am: Add them.
333 * Makefile.in: Regenerate.
335 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
337 * io/list_read.c (read_character): Remove unwanted call to free_saved.
339 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
341 * intrinsics/string_intrinsics.c (string_trim): New function.
342 (string_repeat): New function.
344 2003-10-11 Paul Brook <paul@nowt.org>
346 * intrinsics/dprod_r8.f90: New file.
347 * Makefile.am (gfor_specific_src): Add it.
348 (gfor_built_specific_src): Rename from gfor_build_specific_c.
350 (gfor_specific2_src): Rename from gfor_built_specific2_c.
352 * Makefile.in: Regenerate.
353 * generated/_aint_*.f90: New files.
354 * generated/_anint*.f90: New files.
355 * generated/_atan2*.f90: New files.
356 * generated/_mod*.f90: New files.
358 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
360 * intrinsics/selected_kind.f90: New file.
361 * Makefile.am: Add it.
362 * Makefile.in: regenerate.
364 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
365 Paul Brook <paul@nowt.org>
367 * intrinsics/random.c: New file.
368 * Makefile.am (gfor_hemper_src): Add it.
369 (gfor_specific_c): Fix typo.
371 2003-09-19 Paul Brook <paul@nowt.org>
373 * All: rename g95->gfc.
375 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
377 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
379 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
381 * io/write.c (write_float): Dectection of positive infinite number,
382 Not a Number(NaN) and negative infinite number.
383 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
384 output a very_very small number ( < 0.1e-100 ).
386 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
388 * libgfortran.h (xtoa, itoa): Parameter modified.
389 * io/io.h (namelist_info): Declaration to support namelist I/O
390 (st_parameter): Add namelist related component
391 (ionml, empty_internal_buffer, st_set_nml_var_int,
392 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
393 st_set_nml_var_log): Declaration
394 (set_integer, set_integer): Parameter changed
395 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
397 (parse_format_list): Fix bug about FMT_SLASH
398 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
399 newly allocated saved_string
400 (next_char): Add detection of End_Of_Line support
401 (convert_integer): Now can process 64 bits interger
402 (read_real): Bug fixed
403 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
404 (match_namelist_name): New implemention
405 * io/lock.c (ionml): New global variable
406 (library_end): Free memory in ionml
407 * io/open.c (st_open): Variable initializtion
408 * io/read.c (max_value): 64 bits interger support
409 (convert_precsion_real): New procedure to replace "strtod" with more
411 (read_f, read_radix): Input bug fix
412 * io/transfer.c: (sf_seen_eor): New static variable
413 (read_sf): Zeroize base buffer; fix bugs: single read statement can
414 not get input in mutli line when read from stdin
415 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
417 (data_transfer_init): Clear internal buffer for Internel File I/O.
418 Internal File now worked. Detect some error condition for namelist.
420 (next_record_w): Internal file and Namelist I/O support.
421 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
422 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
423 * io/unit.c (implicit_unit): Deletion
424 (get_unit): Now cannot open a unit implicitly.
425 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
427 (mem_alloc_r_at): Internal file I/O support added
428 (empty_internal_buffer): New function
429 * io/write.c (extract_int): Support 64 bits interger processing
430 (output_float): Varibale initialization
431 (write_float): Infinite real number detection.
432 (write_int): 64 bits integer I/O support
433 (write_decimal): New function to output decimal number
434 (otoa, btoa): Better implemention and 64 bits interger support
435 (namelist_write): New function
436 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
439 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
441 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
442 get_mem ): Add attribute.
443 * intrinsics/spread_generic.c (__spread): Fix spelling.
444 * io/inquire.c (inquire_via_filename): Add const.
445 * io/io.h (sys_exit): Add attribute.
446 * io/io.h (move_pos_offset): Add move_pos_offset.
447 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
448 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
449 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
450 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
452 * io/read.c (convert_real): Add const.
453 * io/transfer.c (type_name): Add const.
454 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
455 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
456 inquire_read, inquire_write, inquire_readwrite): Add const.
457 * io/write.c (output_float): Remove unused variable.
458 * io/write.c (write_a, extract_int, extract_real, output_float,
459 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
460 write_e, write_f, write_en, write_es, write_logical, write_integer,
461 write_character, write_real, write_complex): Add const.
462 * runtime/error.c (rtoa): Remove unused variable.
463 * runtime/select.c (select_string): Add const.
464 * runtime/stop.c (stop_string): Add const.
466 2003-08-10 Paul Brook <paul@nowt.org>
468 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
469 (FFLAGS): Add -fno-underscoring.
470 * Makefile.in: Regenerate.
471 * intrinsics/abort.c: New file.
473 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
475 * fmain.c (main): Do not call init and cleanup; call set_args instead.
476 * libgfortran.h (init, cleanup): Remove declarations.
477 (set_args): Add declaration.
478 * runtime/main.c (init, cleanup): Make them static, and give them
479 the constructor and destructor attributes.
480 (set_args): New function.
482 2003-08-10 Paul Brook <paul@nowt.org>
484 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
485 on which string is longest.
487 2003-08-10 Paul Brook <paul@nowt.org>
489 * Makefile.am (EXTRA_DIST): Remove old files.
490 * Makefile.in: Regenerate.
492 2003-07-26 Paul Brook <paul@nowt.org>
494 Rename library to libgfortran.
495 * libgfortran.h: Change prefix to _libgfortran_.
497 2003-07-24 Paul Brook <paul@nowt.org>
499 * configure.in: Don't pull in system libtool. Use toplevel
502 2003-07-22 Paul Brook <paul@nowt.org>
504 Regenerate all configury files.
506 2003-07-09 Chun Huang <compiler@sohu.com>
508 * intrinsics/string_intrinsic.c (string_scan): New function.
509 (string_verify): New function.
511 2003-06-25 Paul Brook <paul@nowt.org>
513 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
514 (mem_seek): Don't bother setting physical_offset.
516 2003-06-20 Paul Brook <paul@nowt.org>
518 * libgfor.h (stop_numeric): Declare.
519 * runtime/pause.c: New file.
520 * Makefile.am: Add it.
522 2003-06-08 Paul Brook <paul@nowt.org>
524 * m4/cexp.m4 (cabs): Use correct typed version.
525 (csqrt): New function.
527 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
529 Spotted by Benjamin and Tobias:
530 * io/list_read.c: Add Separator '\t'.
531 (parse_real, read_real): Accept real values starting with an optional
532 sign follows a decimal point.
534 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
536 * Makefile.am: Don't put cmath objects in subdir.
537 * configure.in: Rename MATHOBJ to MATH_OBJ.
539 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
541 * intrinsics/associated.c: New file.
542 * Makefile.am: Add it. Regenerate Makefile.in.
543 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
544 G95_DESCRIPTOR_DTYPE.
546 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
548 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
549 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
550 the scale_factor to 0 for F editing.
552 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
554 * libgfor.h: Only include stdint.h if it exists.
556 2003-05-07 Paul Brook <paul@nowt.org>
558 * libgfor.h: Use stdint.h types.
559 * intrinsics/ishift.c: Ditto.
560 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
562 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
564 * libgfor.h (offsetof): Define if nobody else does.
565 * runtime/memory.c (HEADER_SIZE): Use it.
567 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
569 * configure.in: Require autoconf 2.54.
571 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
572 Paul Brook <paul@nowt.org>
574 * intrinsics/reshape_generic.c: Copy the whole element, not just the
576 * m4/transpose.m4: New file.
577 * Makefile.am: Add them.
578 Regenerate generated files.
580 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
582 * io/format.c (parse_format_list): Allow 'X' without integer
583 prefix. This is an extension. Interpretation is '1X'.
585 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
587 * io/format.c (parse_format_list): Allow '0P'.
589 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
591 * Makefile.in: Re-regenerate for automake 1.7.3.
593 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
595 Port implementation for CHARACTER SELECT from Andy's tree.
596 * runtime/select.c: New file
597 * Makefile.am: Add it.
598 * Makefile.in: Regenerate.
600 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
602 * io/transfer.c (formatted_transfer): Modified
603 * io/unix.c (move_pos_offset): New Function.
604 * io/format.c (parse_format_list): Modified.
606 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
608 * io/write.c (write_float,write_real): New implemention of
609 FMT_G and default float editing.
610 (calculate_exp,calculate_G_format,output_float): New Function.
611 (write_float,write_real,write_logical): Modified
612 * libgfor.h (default_rtoa): Remove Declaration.
613 * runtime/error.c (default_rtoa): Remove Function.
615 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
618 * io/write.c (extract_real): Add missing break statement.
620 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
622 * cpu_time.c: Make sure we have a definition of HZ. Don't
623 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
625 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
626 Paul Brook <paul@nowt.org>
628 * configure.in: Check for process time headers and GETTIMEOFDAY.
629 * makefile.am: Add intrinsics/cpu_time.c.
630 * acinclude.m4: New file.
631 * intrinsics/cpu_time.c: New file.
632 * m4/dotprodl.m4: Fix typo.
633 Regenerate generated files.
635 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
637 * io/write.c (extract_real): Ouput floating point value.
638 (write_float): New Function.
639 (write_e, write_f, write_en, write_es): Modified
640 * io/transfer.c (formatted_transfer): Modified.
641 * libgfor.h (default_rtoa): Declaration.
643 * runtime/error.c (default_rtoa): New Function.
644 (rtoa): New Function.
646 2003-04-05 Paul Brook <paul@nowt.org>
648 * intrinsics/spread_generic.c: New file.
649 * Makefile.am: Add it. Regenerate Makefile.in.
651 2003-03-29 Paul Brook <paul@nowt.org>
653 * intrinsics/pack_generic.c: New file.
654 * intrinsics/unpack_generic.c: New file.
655 * Makefile.am: Add them. Regenerate Makefile.in.
657 2003-03-25 Paul Brook <paul@nowt.org>
659 * intrinsics/eoshift0.c: New file.
660 * intrinsics/eoshift2.c: New file.
661 * m4/eoshift1.m4: New file.
662 * m4/eoshift3.m4: New file.
663 * Makefile.am: Add them.
664 * in_unpack_generic.c: Initialize src.
665 Regenerate generated files.
667 2003-03-14 Paul Brook <paul@nowt.org>
669 * m4/shape.m4: Work properly with array temporaries.
670 * m4/in_pack.m4: Skip redundant checks for array temporaries.
671 * runtime/in_pack_generic.c: Ditto.
673 2003-03-12 Paul Brook <paul@nowt.org>
675 * m4/shape.m4: Work properly with noncontiguous arrays.
677 2003-03-08 Paul Brook <paul@nowt.org>
679 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
680 * runtime/in_pack_generic.c: Ditto.
682 2003-02-08 Paul Brook <paul@nowt.org>
684 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
685 * io/close.c (st_close): Return void.
686 * io/open.c (st_open): Return void.
687 * libgfor.h (g95_array_char): Declare.
688 (internal_malloc_size): Ditto.
689 (internal_pack*, internal_unpack*): Ditto.
690 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
692 * m4/in_unpack.m4: Include file fixes.
693 * m4/reshape.m4: Increment the correct source pointer.
694 * Makefile.am (maxloc): Fix typo.
695 * runtime/in_pack_generic.c: Call optimized functions. Allocate
696 storage if neccessary. Fix logic for packed arrays.
697 * runtime/in_unpack_generic.c: Call optimized functions.
698 * runtime/main.c: Use runtime_error to report errors.
699 * memory.c (internal_malloc_size): Make non-static.
701 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
703 * reshape_packed.c, lock.c: Add #include <string.h>.
704 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
705 environ.c, error.c, memory.c, string.c: Add const.
706 * error.c (show_locus): Add void.
708 2003-02-21 Paul Brook <paul@nowt.org>
710 * m4/in_pack.m4: Avoid returning const * parameter.
711 * Makefile.am: Only regenerate files in maintainer mode.
713 2003-02-20 Paul Brook <paul@nowt.org>
715 Add array repacking support functions.
716 * m4/in_pack.m4, m4/in_unpack.m4: New files.
717 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
718 * Makefile.am: Build them. Regenerate configury files.
719 * generated/: New directory for generated files (need to move
720 everything else there).
722 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
724 * m4/cexp.m4: Fix typo.
726 2003-01-26 Paul Brook <paul@nowt.org>
728 * intrinsics/: Add missing generated files.
730 2003-01-26 Paul Brook <paul@nowt.org>
732 * Makefile.am: Put -I before the filename.
734 2003-01-24 Paul Brook <paul@nowt.org>
736 * configure.in: Add AM_MAINTAINER_MODE.
738 2003-01-23 Paul Brook <paul@nowt.org>
740 * configure.in, Makefile.am: Modify to work with unmodified autoconf
742 Also regenerate other configury files.
744 2003-01-21 Paul Brook <paul@nowt.org>
746 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
748 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
750 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
751 Don't include "alloca.h".
753 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
755 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
756 * Makefile.am: Adjust file name.
757 * Makefile.in: Regenerate.
758 * gfortypes.h: Kill, include everything in...
759 * libgfor.h: ...here. Include config.h
760 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
761 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
762 intrinsics/reshape_packed.c, intrinsics/size.c,
763 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
764 for prefix for all functions instead of hardcoded.
766 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
768 * io/lock.c (library_end): Propagate library return
771 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
773 Port fixes from Andy's tree:
774 * io/read.c (read_decimal): Reverse sense of overflow
775 comparison during integer reads.
776 * io/format.c (revert): Fix comment.
777 (next_format): Fix format revision.
778 * io/unix.c: Fix and simplify mmap version of stream
781 2003-01-11 Paul Brook <paul@nowt.org>
783 * configure, Makefile.in: Regenerate.
785 2003-01-11 Paul Brook <paul@nowt.org>
787 * runtime/stop.c: Rewrite.
789 2003-01-08 Paul Brook <paul@nowt.org>
791 * configure, Makefile.in: Regenerate.
793 2003-01-05 Paul Brook <paul@nowt.org>
795 * (*.m4) Move to m4/.
796 * intrinsics/string.c (_gfor_string_index): New Function.
798 2002-12-29 Paul Brook <paul@nowt.org>
800 * intrinsics/reshape.*: New files.
801 * gcc_config.patch: Update to new GCC configure system.
803 2002-10-10 Paul Brook <paul@nowt.org>
805 * intrinsics/size.c: New file.
806 * intrinsics/shape.m4: New file.
807 * Makefile.am: Add above files.
809 2002-10-02 Paul Brook <paul@nowt.org>
811 * fmain.c (main): Move here.
812 * libgfor.c: From here.
813 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
814 * Makefile.am: Build libgforbegin.
815 * gcc_config.patch: Remove stray -march=athlon.
816 * dotprodl.m4: Fix use of L8_TO_L4 macro.
817 * ifunction.m4: Move variable declarations to allow compilation with
819 * specific.m4, specific4.m4: Fix typo typecode->type_code.
820 * README: Document use of patch -p1.
822 2002-09-12 Paul Brook <paul@nowt.org>
824 * math/*: Add complex math library functions.
825 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
826 * Makefile.am: Add details for above.
827 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
829 2002-09-09 Paul Brook <paul@nowt.org>
831 * libgfor.c (determine_endianness): Use an array rather than a struct.
832 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
834 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
836 * libgfor.c: Add fatal signal handler.
837 Romove superfluous abort() calls.
839 2002-09-07 Paul Brook <paul@nowt.org>
841 * Makefile.am, intrinsics: Major rewrite.
843 2002-09-02 Paul Brook <paul@nowt.org>
845 * Makefile.am: Added -I$(srcdir) to m4 rule.
847 2002-08-30 Paul Brook <paul@nowt.org>
849 * io/*: Integrated libgforio.
850 * Makefile.am, configure.in: Make compatable with GCC. Build code for
851 intrinsics in the intrisics directory.
852 * intrinsics/intrinsics.m4: Move here. Strip directories from the
853 filename. Add 'and' and 'all' intrinsics.
855 2002-08-17 Paul Brook <paul@nowt.org>
857 * ALL: First release as more than just a single file