1 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
4 * inquire.c (st_inquire): Add comment
5 * io.h (st_parameter): Add iolength.
6 (st_iolength, st_iolength_done): Declare.
7 * transfer.c (iolength_transfer, iolength_transfer_init,
8 st_iolength, st_iolength_done): New functions.
10 2004-06-21 Steven G. Kargl <kargls@comcast.net>
12 * etime.c (etime_sub): Remove array rank check;
13 Add check for sufficient space.
15 2004-06-19 Bud Davis <bdavis9659@comcast.net>
18 * io/list_read.c(set_value): fixed spelling.
20 2004-06-19 Bud Davis <bdavis9659@comcast.net>
23 * io/list_read.c(set_value): don't copy if the string is null.
25 2004-06-14 Bud Davis <bdavis9659@comcast.net>
28 * intrinsics/c99_functions.c: Use fpclassify if it exists.
30 2004-06-13 Paul Brook <paul@codesourcery.com>
32 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
33 * configure.ac: Add checks for nextafter and nextafterf.
34 * Makefile.in, config.h.in, configure: Regenerate.
35 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
36 * intrinsics/rand.c (rand): Use normalize_r4_i4.
37 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
38 (random_r8): Use normalize_r8_i8.
39 * runtime/normalize.c: New file.
41 2004-06-13 Steven G. Kargl <kargls@comcast.net>
42 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
44 * random.c: Fix several spelling and formatting mistakes in
46 (random_r8): Fix loop to make random numbers range in [0,1(.
49 2004-06-13 Steven G. Kargl <kargls@comcast.net>
51 * random.c (random_r4): Burn a random number.
52 (random_r8): fix infinite loop.
54 2004-06-12 Bud Davis <bdavis9659@comcast.net>
55 Steve Kargl <sgk@troutmask.apl.washington.edu>
58 * intrinsics/c99_functions.c: New file.
59 * Makefile.am: Add new file.
60 * configure.ac: Added test for round/roundf.
61 * Makefile.in: Regenerate.
62 * configure: Regenerate.
63 * configure.h.in: Regenerate.
65 2004-06-12 Steven G. Kargl <kargls@comcast.net>
67 * Makefile.am: Add rand.c and etime.c
68 * Makefile.in: Regenerated.
69 * aclocal.in: Regenerated.
70 * cpu_time.c (second_sub, second): New functions.
71 * rand.c (irand, rand, srand): New file.
72 * etime.c (etime_sub, etime): New file.
74 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
75 Steven Bosscher <stevenb@suse.de>
78 * intrinsics/date_and_time.c: New file.
79 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
80 * Makefile.in, aclocal.m4: Regenerate.
81 * libgfortran.h: Prototype date_and_time().
83 2004-06-12 Bud Davis <bdavis9659@comcast.net>
86 * intrinsics/args.c: Implement GETARG and IARGC.
87 * Makefile.am: Add it.
88 * Makefile.in: Regenerate.
90 2004-06-12 Bud Davis <bdavis9659@comcast.net>
93 * io/write.c(write_float): Format inf and nan IAW F2003.
95 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
98 * io/transfer.c (formatted_transfer): position is unique
99 for T and TL edit descriptors.
100 (data_transfer_init): set record length to size of internal
103 2004-06-09 Bud Davis <bdavis9659@comcast.net>
106 * io/backspace.c(st_backspace): call correct routine for
107 formatted and un-formatted units.
109 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
112 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
113 (lib_LTLIBRARIES): Rename to ...
114 (toolexeclib_LTLIBRARIES): this for multilib support.
115 * configure.in: Rename to ...
116 * configure.ac: this. Update to modern autoconf style, enable
117 multilibs, support --enable-version-specific-runtime-libs.
118 * Makefile.in: Regenerated.
119 * configure: Regenerated.
120 * aclocal.m4: Regenerated.
122 2004-05-30 Steven G. Kargl <kargls@comcast.net>
124 * libgfortran.h (random_seed): Update prototype.
125 * intrinsics/random.c: Disable old implementation and add new one.
127 2004-05-30 Andreas Jaeger <aj@suse.de>
129 * intrinsics/random.c: Include unistd.h for close and read
130 prototypes, remove unneeded inclusion of assert.h.
132 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
133 unneeded inclusion of assert.h.
135 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
138 * intrinsics/associated.c: Remove enum.
139 (associated): Replace TRUE/FALSE by 1/0.
141 2004-05-23 Steven G. Kargl <kargls@comcast.net>
143 * random.c (random_seed): Use correct variable.
145 2004-05-22 Steven G. Kargl <kargls@comcast.net>
147 * intrinsics/system_clock: New file.
148 * Makefile.am: Add intrinsics/system_clock.c.
149 * Makefile.in: Regenerate.
151 2004-05-21 Roger Sayle <roger@eyesopen.com>
153 * io/format.c (parse_format_list): Allow the comma after a string
154 literal to be optional.
156 2004-05-18 Paul Brook <paul@codesourcery.com>
157 Feng Wang <fengwang@nudt.edu.cn>
159 * Makefile.am (i_pow_c): Set it. Add build rule.
160 (gfor_built_src): Use it.
161 (m4_files): add m4/pow.m4.
162 * Makefile.in: Regenerate.
163 * m4/pow.m4: New file.
164 * generated/pow_*.c: Regenerate.
166 2004-05-18 Paul Brook <paul@codesourcery.com>
168 * Makefile.am: Remove references to types.m4.
169 * m4/iparm.m4: Merge with types.m4.
170 * m4/types.m4: Remove.
171 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
172 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
173 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
174 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
175 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
176 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
177 Update to use new iparm.m4.
178 * generated/*.c: Regenerate.
180 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
183 * gfortran.h (offset_t): Rename to ...
184 (gfc_offset): ... this.
185 * io/backspace.c (formatted_backspace, unformatted_backspace),
186 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
187 transfer.c (us_read, us_write, next_record_r, next_record_w),
188 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
189 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
190 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
191 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
192 occurences of offset_t by gfc_offset.
194 2004-05-16 Paul Brook <paul@codesourcery.com>
196 * io/format.c (write_real): Don't include padding in format.
198 2004-05-16 Paul Brook <paul@codesourcery.com>
200 * io/format.c (format_lex): Make c an int.
202 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
203 Paul Brook <paul@codesourcery.com>
205 * io/write.c (write_logical): Don't print extra blank.
206 (write_integer): Base field width on kind.
207 (list_formatted_write): Output initial blank.
209 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
211 * io/io.h (flush): Add prototype.
212 * io/transfer.c (finalize_transfer): Flush partial records.
213 * io/unix.c (flush): New function.
215 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
218 * io/io.h (unit_t): Rename to ...
220 (unit_root, current_unit, find_file, find_unit, get_unit): Now
222 (delete_file, insert_unit, close_unit): Argument now of type
224 * backspace.c (st_backspace), close.c (st_close), endfile.c
225 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
226 (test_endfile, edit_modes, new_unit, already_open, st_open),
227 rewind.c (st_rewind), transfer.c (current_unit), unit.c
228 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
229 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
230 get_unit, init_units, close_unit), unix.c (find_file0,
231 find_file, delete_file): Replace all occurences of unit_t by
234 2004-05-15 Bud Davis <bdavis9659@comcast.net>
237 * io/write.c (write_a): right justify A edit output.
239 2004-05-14 Bud Davis <bdavis9659@comcast.net>
242 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
243 * runtime/main.c(init): Call random_seed as part of MAIN init.
245 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
247 * io/format.c: (parse_format_list): No comma is required after
250 2004-05-13 Bud Davis <bdavis9659@comcast.net>
253 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
255 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
256 Steven Bosscher <stevenb@suse.de>
259 * libgfortran.h: Include <inttypes.h> if available.
261 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
263 * io/unix.c (MAP_FAILED): Define if missing.
264 (mmap_alloc): Cast MAP_FAILED to char *.
265 (mmap_open): Likewise.
267 2004-04-26 Bud Davis <bdavis9659@comcast.net>
269 * generated/_abs_i8.f90: New file.
270 * generated/_abs_c4.f90: New file.
271 * generated/_abs_c8.f90: New file.
272 * Makefile.am: Add them.
273 * Makefile.in: Regenerate.
275 2004-04-26 Bud Davis <bdavis9659@comcast.net>
278 * generated/_abs_i4.f90: New file.
279 * Makefile.am: Add it.
280 * Makefile.in: Regenerate.
282 2004-04-25 Bud Davis <bdavis9659@comcast.net>
285 * io/list_read.c(list_formatted_read): finish consuming the
286 spaces and seperators at eoln to get ready for next item.
288 2004-04-23 Bud Davis <bdavis9659@comcast.net>
291 * io/read.c(read_a): Handle field width > destination and no field width.
293 2004-04-22 Bud Davis <bdavis9659@comcast.net>
296 * io/format.c (format_item): gracefully handle a ')'
297 when it is the first character encountered in the string.
299 2004-04-11 Bud Davis <bdavis9659@comcast.net>
302 * io/transfer.c (next_record): Update last_record when
303 more than one record is written to a direct access file
304 with one write statement.
306 2004-04-11 Bud Davis <bdavis9659@comcast.net>
309 * io/transfer.c (next_record_w) : No '\n' if internal.
310 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
312 2004-04-11 Bud Davis <bdavis9659@comcast.net>
314 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
315 Will need to change this later to support direct access files > 2gb.
317 2004-04-03 Bud Davis <bdavis9659@comcast.net>
320 * io/transfer.c (next_record_r) : Skip to next record.
322 2004-04-03 Bud Davis <bdavis9659@comcast.net>
325 * io/transfer.c (next_record): Update last_record for DIRECT
327 2004-04-03 Bud Davis <bdavis9659@comcast.net>
330 * io/unix.c (find_file0): Use fd field of struct
332 2004-04-03 Bud Davis <bdavis9659@comcast.net>
335 * io/inquire.c (inquire_via_unit): Changed return string for
336 BLANK=NULL. Use correct variable for ACTION.
338 2004-04-01 Bud Davis <bdavis9659@comcast.net>
341 * io/read.c (read_f): Allow a decimal without a leading digit.
342 * io/write.c (output_float): remove a leading '0' to keep from
343 overflowing the field (F edit descriptor).
345 2004-04-01 Bud Davis <bdavis9659@comcast.net>
348 * io/open.c (new_unit),
349 * io/io.h : new_unit is now visible
350 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
351 * io/transfer.c (data_transfer_init): remove compile warnings.
352 * io/rewind.c (st_rewind): ftruncate if writing.
354 2004-03-24 Bud Davis <bdavis9659@comcast.net>
356 * write.c (write_l): Use extract_int for 'L' edit descriptor.
358 2004-03-24 Bud Davis <bdavis9659@comcast.net>
361 * io/io.h (global_t):
362 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
363 Move eof_jmp to a global structure.
364 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
366 2004-03-24 Bud Davis <bdavis9659@comcast.net>
368 * m4/cexp.m4 (csqrt): Actually use the passed value.
369 * generated/exp_c?.c: Regenerate.
371 2004-03-24 Bud Davis <bdavis9659@comcast.net>
374 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
375 * open.c (new_unit): Moved test for positioned direct access error.
376 (init_units): Corrected calculation of max records.
378 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
380 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
381 * Makefile.in: Regenerate.
382 * m4/dotprodc.m4: New file. Implement complex dot_product.
383 * m4/dotprod.m4: Delete the complex implementation.
384 * generated/dotprod_*: Update.
386 2004-02-07 Bud Davis <bdavis9659@comcast.net>
388 * transfer.c (write_constant_string): Do not delete H's in hollerith
391 2004-01-05 Andrew Pinski <apinski@apple.com>
393 * configure.in: Check for csin in -lmx also.
394 * configure: Regenerate.
396 2004-01-01 Paul Brook <paul@codesourcery.com>
398 * io/list_read.c (find_nml_node): Make static.
399 (match_namelist_name): Ditto.
400 * io/read.c (convert_precision_real): Make static, fix spelling.
401 * io/transfer.c (extract_real): Remove unused prototype.
402 (st_set_nml_var): Make static.
403 * io/write.c (extract_real): Make static.
405 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
407 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
409 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
411 * io/transfer.c (data_transfer_init): Give a runtime error for list
412 formatted reads and writes from/to files opened for unformatted IO.
414 2003-11-30 Paul Brook <paul@nowt.org>
416 * runtime/memory.c (push_context): Remove.
417 (pop_context): Remove.
418 * libgfortran.h: Remove prototypes.
420 2003-11-27 Paul Brook <paul@nowt.org>
422 * runtime/memory.c (deallocate): Nullify pointer after freeing.
424 2003-11-27 Paul Brook <paul@nowt.org>
426 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
427 * libgfortran.h: Ditto.
428 * m4/in_pack.m4: Ditto.
429 * runtime/in_pack_generic.c: Ditto.
430 * runtime/memory.c: Ditto.
432 2003-11-26 Richard Henderson <rth@redhat.com>
434 * m4/exponent.m4, m4/fraction.m4: New.
435 * m4/nearest.m4, m4/set_exponent.m4: New.
436 * generated/*: Update.
437 * Makefile.am: Add them.
438 (AM_CFLAGS): New. Use -std=gnu99.
439 * Makefile.in: Regenerate.
441 2003-11-08 Paul Brook <paul@nowt.org>
444 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
445 * m4/maxloc1.m4: Ditto.
446 * m4/minloc0.m4: Ditto.
447 * m4/minloc1.m4: Ditto.
448 * m4/ifunction.m4: Set return value for zero sized arrays.
449 * m4/iforeach.m4: Ditto.
450 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
451 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
452 * generated/*: Update.
454 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
457 * io/list_read.c (eat_spaces): Treat tab as space.
459 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
461 * intrinsics/random.c: Add reference to paper containing algorithm.
462 (random_seed): Extra error checking and proper handling of arrays.
463 (arandom_r4, arandom_r8): Implement.
465 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
468 * runtime/memory.c (allocate_size): Allow allocation
469 of zero-sized objects.
471 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
474 * open.c (new_unit): Open without a file name opens
475 a file with name fort.<unit>.
477 2003-10-12 Feng Wang <wf_cs@yahoo.com>
479 * intrinsics/cshift0.c: New file.
480 * m4/cshift1.m4: New file
481 * generated/cshift*.c: New files.
482 * Makefile.am: Add them.
483 * Makefile.in: Regenerate.
485 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
487 * io/list_read.c (read_character): Remove unwanted call to free_saved.
489 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
491 * intrinsics/string_intrinsics.c (string_trim): New function.
492 (string_repeat): New function.
494 2003-10-11 Paul Brook <paul@nowt.org>
496 * intrinsics/dprod_r8.f90: New file.
497 * Makefile.am (gfor_specific_src): Add it.
498 (gfor_built_specific_src): Rename from gfor_build_specific_c.
500 (gfor_specific2_src): Rename from gfor_built_specific2_c.
502 * Makefile.in: Regenerate.
503 * generated/_aint_*.f90: New files.
504 * generated/_anint*.f90: New files.
505 * generated/_atan2*.f90: New files.
506 * generated/_mod*.f90: New files.
508 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
510 * intrinsics/selected_kind.f90: New file.
511 * Makefile.am: Add it.
512 * Makefile.in: regenerate.
514 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
515 Paul Brook <paul@nowt.org>
517 * intrinsics/random.c: New file.
518 * Makefile.am (gfor_hemper_src): Add it.
519 (gfor_specific_c): Fix typo.
521 2003-09-19 Paul Brook <paul@nowt.org>
523 * All: rename g95->gfc.
525 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
527 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
529 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
531 * io/write.c (write_float): Dectection of positive infinite number,
532 Not a Number(NaN) and negative infinite number.
533 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
534 output a very_very small number ( < 0.1e-100 ).
536 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
538 * libgfortran.h (xtoa, itoa): Parameter modified.
539 * io/io.h (namelist_info): Declaration to support namelist I/O
540 (st_parameter): Add namelist related component
541 (ionml, empty_internal_buffer, st_set_nml_var_int,
542 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
543 st_set_nml_var_log): Declaration
544 (set_integer, set_integer): Parameter changed
545 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
547 (parse_format_list): Fix bug about FMT_SLASH
548 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
549 newly allocated saved_string
550 (next_char): Add detection of End_Of_Line support
551 (convert_integer): Now can process 64 bits interger
552 (read_real): Bug fixed
553 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
554 (match_namelist_name): New implemention
555 * io/lock.c (ionml): New global variable
556 (library_end): Free memory in ionml
557 * io/open.c (st_open): Variable initializtion
558 * io/read.c (max_value): 64 bits interger support
559 (convert_precsion_real): New procedure to replace "strtod" with more
561 (read_f, read_radix): Input bug fix
562 * io/transfer.c: (sf_seen_eor): New static variable
563 (read_sf): Zeroize base buffer; fix bugs: single read statement can
564 not get input in mutli line when read from stdin
565 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
567 (data_transfer_init): Clear internal buffer for Internel File I/O.
568 Internal File now worked. Detect some error condition for namelist.
570 (next_record_w): Internal file and Namelist I/O support.
571 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
572 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
573 * io/unit.c (implicit_unit): Deletion
574 (get_unit): Now cannot open a unit implicitly.
575 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
577 (mem_alloc_r_at): Internal file I/O support added
578 (empty_internal_buffer): New function
579 * io/write.c (extract_int): Support 64 bits interger processing
580 (output_float): Varibale initialization
581 (write_float): Infinite real number detection.
582 (write_int): 64 bits integer I/O support
583 (write_decimal): New function to output decimal number
584 (otoa, btoa): Better implemention and 64 bits interger support
585 (namelist_write): New function
586 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
589 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
591 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
592 get_mem ): Add attribute.
593 * intrinsics/spread_generic.c (__spread): Fix spelling.
594 * io/inquire.c (inquire_via_filename): Add const.
595 * io/io.h (sys_exit): Add attribute.
596 * io/io.h (move_pos_offset): Add move_pos_offset.
597 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
598 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
599 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
600 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
602 * io/read.c (convert_real): Add const.
603 * io/transfer.c (type_name): Add const.
604 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
605 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
606 inquire_read, inquire_write, inquire_readwrite): Add const.
607 * io/write.c (output_float): Remove unused variable.
608 * io/write.c (write_a, extract_int, extract_real, output_float,
609 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
610 write_e, write_f, write_en, write_es, write_logical, write_integer,
611 write_character, write_real, write_complex): Add const.
612 * runtime/error.c (rtoa): Remove unused variable.
613 * runtime/select.c (select_string): Add const.
614 * runtime/stop.c (stop_string): Add const.
616 2003-08-10 Paul Brook <paul@nowt.org>
618 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
619 (FFLAGS): Add -fno-underscoring.
620 * Makefile.in: Regenerate.
621 * intrinsics/abort.c: New file.
623 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
625 * fmain.c (main): Do not call init and cleanup; call set_args instead.
626 * libgfortran.h (init, cleanup): Remove declarations.
627 (set_args): Add declaration.
628 * runtime/main.c (init, cleanup): Make them static, and give them
629 the constructor and destructor attributes.
630 (set_args): New function.
632 2003-08-10 Paul Brook <paul@nowt.org>
634 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
635 on which string is longest.
637 2003-08-10 Paul Brook <paul@nowt.org>
639 * Makefile.am (EXTRA_DIST): Remove old files.
640 * Makefile.in: Regenerate.
642 2003-07-26 Paul Brook <paul@nowt.org>
644 Rename library to libgfortran.
645 * libgfortran.h: Change prefix to _libgfortran_.
647 2003-07-24 Paul Brook <paul@nowt.org>
649 * configure.in: Don't pull in system libtool. Use toplevel
652 2003-07-22 Paul Brook <paul@nowt.org>
654 Regenerate all configury files.
656 2003-07-09 Chun Huang <compiler@sohu.com>
658 * intrinsics/string_intrinsic.c (string_scan): New function.
659 (string_verify): New function.
661 2003-06-25 Paul Brook <paul@nowt.org>
663 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
664 (mem_seek): Don't bother setting physical_offset.
666 2003-06-20 Paul Brook <paul@nowt.org>
668 * libgfor.h (stop_numeric): Declare.
669 * runtime/pause.c: New file.
670 * Makefile.am: Add it.
672 2003-06-08 Paul Brook <paul@nowt.org>
674 * m4/cexp.m4 (cabs): Use correct typed version.
675 (csqrt): New function.
677 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
679 Spotted by Benjamin and Tobias:
680 * io/list_read.c: Add Separator '\t'.
681 (parse_real, read_real): Accept real values starting with an optional
682 sign follows a decimal point.
684 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
686 * Makefile.am: Don't put cmath objects in subdir.
687 * configure.in: Rename MATHOBJ to MATH_OBJ.
689 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
691 * intrinsics/associated.c: New file.
692 * Makefile.am: Add it. Regenerate Makefile.in.
693 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
694 G95_DESCRIPTOR_DTYPE.
696 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
698 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
699 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
700 the scale_factor to 0 for F editing.
702 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
704 * libgfor.h: Only include stdint.h if it exists.
706 2003-05-07 Paul Brook <paul@nowt.org>
708 * libgfor.h: Use stdint.h types.
709 * intrinsics/ishift.c: Ditto.
710 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
712 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
714 * libgfor.h (offsetof): Define if nobody else does.
715 * runtime/memory.c (HEADER_SIZE): Use it.
717 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
719 * configure.in: Require autoconf 2.54.
721 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
722 Paul Brook <paul@nowt.org>
724 * intrinsics/reshape_generic.c: Copy the whole element, not just the
726 * m4/transpose.m4: New file.
727 * Makefile.am: Add them.
728 Regenerate generated files.
730 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
732 * io/format.c (parse_format_list): Allow 'X' without integer
733 prefix. This is an extension. Interpretation is '1X'.
735 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
737 * io/format.c (parse_format_list): Allow '0P'.
739 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
741 * Makefile.in: Re-regenerate for automake 1.7.3.
743 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
745 Port implementation for CHARACTER SELECT from Andy's tree.
746 * runtime/select.c: New file
747 * Makefile.am: Add it.
748 * Makefile.in: Regenerate.
750 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
752 * io/transfer.c (formatted_transfer): Modified
753 * io/unix.c (move_pos_offset): New Function.
754 * io/format.c (parse_format_list): Modified.
756 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
758 * io/write.c (write_float,write_real): New implemention of
759 FMT_G and default float editing.
760 (calculate_exp,calculate_G_format,output_float): New Function.
761 (write_float,write_real,write_logical): Modified
762 * libgfor.h (default_rtoa): Remove Declaration.
763 * runtime/error.c (default_rtoa): Remove Function.
765 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
768 * io/write.c (extract_real): Add missing break statement.
770 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
772 * cpu_time.c: Make sure we have a definition of HZ. Don't
773 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
775 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
776 Paul Brook <paul@nowt.org>
778 * configure.in: Check for process time headers and GETTIMEOFDAY.
779 * makefile.am: Add intrinsics/cpu_time.c.
780 * acinclude.m4: New file.
781 * intrinsics/cpu_time.c: New file.
782 * m4/dotprodl.m4: Fix typo.
783 Regenerate generated files.
785 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
787 * io/write.c (extract_real): Ouput floating point value.
788 (write_float): New Function.
789 (write_e, write_f, write_en, write_es): Modified
790 * io/transfer.c (formatted_transfer): Modified.
791 * libgfor.h (default_rtoa): Declaration.
793 * runtime/error.c (default_rtoa): New Function.
794 (rtoa): New Function.
796 2003-04-05 Paul Brook <paul@nowt.org>
798 * intrinsics/spread_generic.c: New file.
799 * Makefile.am: Add it. Regenerate Makefile.in.
801 2003-03-29 Paul Brook <paul@nowt.org>
803 * intrinsics/pack_generic.c: New file.
804 * intrinsics/unpack_generic.c: New file.
805 * Makefile.am: Add them. Regenerate Makefile.in.
807 2003-03-25 Paul Brook <paul@nowt.org>
809 * intrinsics/eoshift0.c: New file.
810 * intrinsics/eoshift2.c: New file.
811 * m4/eoshift1.m4: New file.
812 * m4/eoshift3.m4: New file.
813 * Makefile.am: Add them.
814 * in_unpack_generic.c: Initialize src.
815 Regenerate generated files.
817 2003-03-14 Paul Brook <paul@nowt.org>
819 * m4/shape.m4: Work properly with array temporaries.
820 * m4/in_pack.m4: Skip redundant checks for array temporaries.
821 * runtime/in_pack_generic.c: Ditto.
823 2003-03-12 Paul Brook <paul@nowt.org>
825 * m4/shape.m4: Work properly with noncontiguous arrays.
827 2003-03-08 Paul Brook <paul@nowt.org>
829 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
830 * runtime/in_pack_generic.c: Ditto.
832 2003-02-08 Paul Brook <paul@nowt.org>
834 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
835 * io/close.c (st_close): Return void.
836 * io/open.c (st_open): Return void.
837 * libgfor.h (g95_array_char): Declare.
838 (internal_malloc_size): Ditto.
839 (internal_pack*, internal_unpack*): Ditto.
840 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
842 * m4/in_unpack.m4: Include file fixes.
843 * m4/reshape.m4: Increment the correct source pointer.
844 * Makefile.am (maxloc): Fix typo.
845 * runtime/in_pack_generic.c: Call optimized functions. Allocate
846 storage if neccessary. Fix logic for packed arrays.
847 * runtime/in_unpack_generic.c: Call optimized functions.
848 * runtime/main.c: Use runtime_error to report errors.
849 * memory.c (internal_malloc_size): Make non-static.
851 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
853 * reshape_packed.c, lock.c: Add #include <string.h>.
854 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
855 environ.c, error.c, memory.c, string.c: Add const.
856 * error.c (show_locus): Add void.
858 2003-02-21 Paul Brook <paul@nowt.org>
860 * m4/in_pack.m4: Avoid returning const * parameter.
861 * Makefile.am: Only regenerate files in maintainer mode.
863 2003-02-20 Paul Brook <paul@nowt.org>
865 Add array repacking support functions.
866 * m4/in_pack.m4, m4/in_unpack.m4: New files.
867 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
868 * Makefile.am: Build them. Regenerate configury files.
869 * generated/: New directory for generated files (need to move
870 everything else there).
872 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
874 * m4/cexp.m4: Fix typo.
876 2003-01-26 Paul Brook <paul@nowt.org>
878 * intrinsics/: Add missing generated files.
880 2003-01-26 Paul Brook <paul@nowt.org>
882 * Makefile.am: Put -I before the filename.
884 2003-01-24 Paul Brook <paul@nowt.org>
886 * configure.in: Add AM_MAINTAINER_MODE.
888 2003-01-23 Paul Brook <paul@nowt.org>
890 * configure.in, Makefile.am: Modify to work with unmodified autoconf
892 Also regenerate other configury files.
894 2003-01-21 Paul Brook <paul@nowt.org>
896 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
898 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
900 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
901 Don't include "alloca.h".
903 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
905 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
906 * Makefile.am: Adjust file name.
907 * Makefile.in: Regenerate.
908 * gfortypes.h: Kill, include everything in...
909 * libgfor.h: ...here. Include config.h
910 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
911 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
912 intrinsics/reshape_packed.c, intrinsics/size.c,
913 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
914 for prefix for all functions instead of hardcoded.
916 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
918 * io/lock.c (library_end): Propagate library return
921 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
923 Port fixes from Andy's tree:
924 * io/read.c (read_decimal): Reverse sense of overflow
925 comparison during integer reads.
926 * io/format.c (revert): Fix comment.
927 (next_format): Fix format revision.
928 * io/unix.c: Fix and simplify mmap version of stream
931 2003-01-11 Paul Brook <paul@nowt.org>
933 * configure, Makefile.in: Regenerate.
935 2003-01-11 Paul Brook <paul@nowt.org>
937 * runtime/stop.c: Rewrite.
939 2003-01-08 Paul Brook <paul@nowt.org>
941 * configure, Makefile.in: Regenerate.
943 2003-01-05 Paul Brook <paul@nowt.org>
945 * (*.m4) Move to m4/.
946 * intrinsics/string.c (_gfor_string_index): New Function.
948 2002-12-29 Paul Brook <paul@nowt.org>
950 * intrinsics/reshape.*: New files.
951 * gcc_config.patch: Update to new GCC configure system.
953 2002-10-10 Paul Brook <paul@nowt.org>
955 * intrinsics/size.c: New file.
956 * intrinsics/shape.m4: New file.
957 * Makefile.am: Add above files.
959 2002-10-02 Paul Brook <paul@nowt.org>
961 * fmain.c (main): Move here.
962 * libgfor.c: From here.
963 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
964 * Makefile.am: Build libgforbegin.
965 * gcc_config.patch: Remove stray -march=athlon.
966 * dotprodl.m4: Fix use of L8_TO_L4 macro.
967 * ifunction.m4: Move variable declarations to allow compilation with
969 * specific.m4, specific4.m4: Fix typo typecode->type_code.
970 * README: Document use of patch -p1.
972 2002-09-12 Paul Brook <paul@nowt.org>
974 * math/*: Add complex math library functions.
975 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
976 * Makefile.am: Add details for above.
977 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
979 2002-09-09 Paul Brook <paul@nowt.org>
981 * libgfor.c (determine_endianness): Use an array rather than a struct.
982 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
984 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
986 * libgfor.c: Add fatal signal handler.
987 Romove superfluous abort() calls.
989 2002-09-07 Paul Brook <paul@nowt.org>
991 * Makefile.am, intrinsics: Major rewrite.
993 2002-09-02 Paul Brook <paul@nowt.org>
995 * Makefile.am: Added -I$(srcdir) to m4 rule.
997 2002-08-30 Paul Brook <paul@nowt.org>
999 * io/*: Integrated libgforio.
1000 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1001 intrinsics in the intrisics directory.
1002 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1003 filename. Add 'and' and 'all' intrinsics.
1005 2002-08-17 Paul Brook <paul@nowt.org>
1007 * ALL: First release as more than just a single file