1 2004-06-13 Paul Brook <paul@codesourcery.com>
3 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
4 * configure.ac: Add checks for nextafter and nextafterf.
5 * Makefile.in, config.h.in, configure: Regenerate.
6 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
7 * intrinsics/rand.c (rand): Use normalize_r4_i4.
8 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
9 (random_r8): Use normalize_r8_i8.
10 * runtime/normalize.c: New file.
12 2004-06-13 Steven G. Kargl <kargls@comcast.net>
13 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
15 * random.c: Fix several spelling and formatting mistakes in
17 (random_r8): Fix loop to make random numbers range in [0,1(.
20 2004-06-13 Steven G. Kargl <kargls@comcast.net>
22 * random.c (random_r4): Burn a random number.
23 (random_r8): fix infinite loop.
25 2004-06-12 Bud Davis <bdavis9659@comcast.net>
26 Steve Kargl <sgk@troutmask.apl.washington.edu>
29 * intrinsics/c99_functions.c: New file.
30 * Makefile.am: Add new file.
31 * configure.ac: Added test for round/roundf.
32 * Makefile.in: Regenerate.
33 * configure: Regenerate.
34 * configure.h.in: Regenerate.
36 2004-06-12 Steven G. Kargl <kargls@comcast.net>
38 * Makefile.am: Add rand.c and etime.c
39 * Makefile.in: Regenerated.
40 * aclocal.in: Regenerated.
41 * cpu_time.c (second_sub, second): New functions.
42 * rand.c (irand, rand, srand): New file.
43 * etime.c (etime_sub, etime): New file.
45 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
46 Steven Bosscher <stevenb@suse.de>
49 * intrinsics/date_and_time.c: New file.
50 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
51 * Makefile.in, aclocal.m4: Regenerate.
52 * libgfortran.h: Prototype date_and_time().
54 2004-06-12 Bud Davis <bdavis9659@comcast.net>
57 * intrinsics/args.c: Implement GETARG and IARGC.
58 * Makefile.am: Add it.
59 * Makefile.in: Regenerate.
61 2004-06-12 Bud Davis <bdavis9659@comcast.net>
64 * io/write.c(write_float): Format inf and nan IAW F2003.
66 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
69 * io/transfer.c (formatted_transfer): position is unique
70 for T and TL edit descriptors.
71 (data_transfer_init): set record length to size of internal
74 2004-06-09 Bud Davis <bdavis9659@comcast.net>
77 * io/backspace.c(st_backspace): call correct routine for
78 formatted and un-formatted units.
80 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
83 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
84 (lib_LTLIBRARIES): Rename to ...
85 (toolexeclib_LTLIBRARIES): this for multilib support.
86 * configure.in: Rename to ...
87 * configure.ac: this. Update to modern autoconf style, enable
88 multilibs, support --enable-version-specific-runtime-libs.
89 * Makefile.in: Regenerated.
90 * configure: Regenerated.
91 * aclocal.m4: Regenerated.
93 2004-05-30 Steven G. Kargl <kargls@comcast.net>
95 * libgfortran.h (random_seed): Update prototype.
96 * intrinsics/random.c: Disable old implementation and add new one.
98 2004-05-30 Andreas Jaeger <aj@suse.de>
100 * intrinsics/random.c: Include unistd.h for close and read
101 prototypes, remove unneeded inclusion of assert.h.
103 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
104 unneeded inclusion of assert.h.
106 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
109 * intrinsics/associated.c: Remove enum.
110 (associated): Replace TRUE/FALSE by 1/0.
112 2004-05-23 Steven G. Kargl <kargls@comcast.net>
114 * random.c (random_seed): Use correct variable.
116 2004-05-22 Steven G. Kargl <kargls@comcast.net>
118 * intrinsics/system_clock: New file.
119 * Makefile.am: Add intrinsics/system_clock.c.
120 * Makefile.in: Regenerate.
122 2004-05-21 Roger Sayle <roger@eyesopen.com>
124 * io/format.c (parse_format_list): Allow the comma after a string
125 literal to be optional.
127 2004-05-18 Paul Brook <paul@codesourcery.com>
128 Feng Wang <fengwang@nudt.edu.cn>
130 * Makefile.am (i_pow_c): Set it. Add build rule.
131 (gfor_built_src): Use it.
132 (m4_files): add m4/pow.m4.
133 * Makefile.in: Regenerate.
134 * m4/pow.m4: New file.
135 * generated/pow_*.c: Regenerate.
137 2004-05-18 Paul Brook <paul@codesourcery.com>
139 * Makefile.am: Remove references to types.m4.
140 * m4/iparm.m4: Merge with types.m4.
141 * m4/types.m4: Remove.
142 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
143 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
144 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
145 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
146 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
147 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
148 Update to use new iparm.m4.
149 * generated/*.c: Regenerate.
151 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
154 * gfortran.h (offset_t): Rename to ...
155 (gfc_offset): ... this.
156 * io/backspace.c (formatted_backspace, unformatted_backspace),
157 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
158 transfer.c (us_read, us_write, next_record_r, next_record_w),
159 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
160 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
161 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
162 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
163 occurences of offset_t by gfc_offset.
165 2004-05-16 Paul Brook <paul@codesourcery.com>
167 * io/format.c (write_real): Don't include padding in format.
169 2004-05-16 Paul Brook <paul@codesourcery.com>
171 * io/format.c (format_lex): Make c an int.
173 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
174 Paul Brook <paul@codesourcery.com>
176 * io/write.c (write_logical): Don't print extra blank.
177 (write_integer): Base field width on kind.
178 (list_formatted_write): Output initial blank.
180 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
182 * io/io.h (flush): Add prototype.
183 * io/transfer.c (finalize_transfer): Flush partial records.
184 * io/unix.c (flush): New function.
186 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
189 * io/io.h (unit_t): Rename to ...
191 (unit_root, current_unit, find_file, find_unit, get_unit): Now
193 (delete_file, insert_unit, close_unit): Argument now of type
195 * backspace.c (st_backspace), close.c (st_close), endfile.c
196 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
197 (test_endfile, edit_modes, new_unit, already_open, st_open),
198 rewind.c (st_rewind), transfer.c (current_unit), unit.c
199 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
200 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
201 get_unit, init_units, close_unit), unix.c (find_file0,
202 find_file, delete_file): Replace all occurences of unit_t by
205 2004-05-15 Bud Davis <bdavis9659@comcast.net>
208 * io/write.c (write_a): right justify A edit output.
210 2004-05-14 Bud Davis <bdavis9659@comcast.net>
213 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
214 * runtime/main.c(init): Call random_seed as part of MAIN init.
216 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
218 * io/format.c: (parse_format_list): No comma is required after
221 2004-05-13 Bud Davis <bdavis9659@comcast.net>
224 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
226 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
227 Steven Bosscher <stevenb@suse.de>
230 * libgfortran.h: Include <inttypes.h> if available.
232 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
234 * io/unix.c (MAP_FAILED): Define if missing.
235 (mmap_alloc): Cast MAP_FAILED to char *.
236 (mmap_open): Likewise.
238 2004-04-26 Bud Davis <bdavis9659@comcast.net>
240 * generated/_abs_i8.f90: New file.
241 * generated/_abs_c4.f90: New file.
242 * generated/_abs_c8.f90: New file.
243 * Makefile.am: Add them.
244 * Makefile.in: Regenerate.
246 2004-04-26 Bud Davis <bdavis9659@comcast.net>
249 * generated/_abs_i4.f90: New file.
250 * Makefile.am: Add it.
251 * Makefile.in: Regenerate.
253 2004-04-25 Bud Davis <bdavis9659@comcast.net>
256 * io/list_read.c(list_formatted_read): finish consuming the
257 spaces and seperators at eoln to get ready for next item.
259 2004-04-23 Bud Davis <bdavis9659@comcast.net>
262 * io/read.c(read_a): Handle field width > destination and no field width.
264 2004-04-22 Bud Davis <bdavis9659@comcast.net>
267 * io/format.c (format_item): gracefully handle a ')'
268 when it is the first character encountered in the string.
270 2004-04-11 Bud Davis <bdavis9659@comcast.net>
273 * io/transfer.c (next_record): Update last_record when
274 more than one record is written to a direct access file
275 with one write statement.
277 2004-04-11 Bud Davis <bdavis9659@comcast.net>
280 * io/transfer.c (next_record_w) : No '\n' if internal.
281 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
283 2004-04-11 Bud Davis <bdavis9659@comcast.net>
285 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
286 Will need to change this later to support direct access files > 2gb.
288 2004-04-03 Bud Davis <bdavis9659@comcast.net>
291 * io/transfer.c (next_record_r) : Skip to next record.
293 2004-04-03 Bud Davis <bdavis9659@comcast.net>
296 * io/transfer.c (next_record): Update last_record for DIRECT
298 2004-04-03 Bud Davis <bdavis9659@comcast.net>
301 * io/unix.c (find_file0): Use fd field of struct
303 2004-04-03 Bud Davis <bdavis9659@comcast.net>
306 * io/inquire.c (inquire_via_unit): Changed return string for
307 BLANK=NULL. Use correct variable for ACTION.
309 2004-04-01 Bud Davis <bdavis9659@comcast.net>
312 * io/read.c (read_f): Allow a decimal without a leading digit.
313 * io/write.c (output_float): remove a leading '0' to keep from
314 overflowing the field (F edit descriptor).
316 2004-04-01 Bud Davis <bdavis9659@comcast.net>
319 * io/open.c (new_unit),
320 * io/io.h : new_unit is now visible
321 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
322 * io/transfer.c (data_transfer_init): remove compile warnings.
323 * io/rewind.c (st_rewind): ftruncate if writing.
325 2004-03-24 Bud Davis <bdavis9659@comcast.net>
327 * write.c (write_l): Use extract_int for 'L' edit descriptor.
329 2004-03-24 Bud Davis <bdavis9659@comcast.net>
332 * io/io.h (global_t):
333 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
334 Move eof_jmp to a global structure.
335 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
337 2004-03-24 Bud Davis <bdavis9659@comcast.net>
339 * m4/cexp.m4 (csqrt): Actually use the passed value.
340 * generated/exp_c?.c: Regenerate.
342 2004-03-24 Bud Davis <bdavis9659@comcast.net>
345 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
346 * open.c (new_unit): Moved test for positioned direct access error.
347 (init_units): Corrected calculation of max records.
349 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
351 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
352 * Makefile.in: Regenerate.
353 * m4/dotprodc.m4: New file. Implement complex dot_product.
354 * m4/dotprod.m4: Delete the complex implementation.
355 * generated/dotprod_*: Update.
357 2004-02-07 Bud Davis <bdavis9659@comcast.net>
359 * transfer.c (write_constant_string): Do not delete H's in hollerith
362 2004-01-05 Andrew Pinski <apinski@apple.com>
364 * configure.in: Check for csin in -lmx also.
365 * configure: Regenerate.
367 2004-01-01 Paul Brook <paul@codesourcery.com>
369 * io/list_read.c (find_nml_node): Make static.
370 (match_namelist_name): Ditto.
371 * io/read.c (convert_precision_real): Make static, fix spelling.
372 * io/transfer.c (extract_real): Remove unused prototype.
373 (st_set_nml_var): Make static.
374 * io/write.c (extract_real): Make static.
376 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
378 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
380 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
382 * io/transfer.c (data_transfer_init): Give a runtime error for list
383 formatted reads and writes from/to files opened for unformatted IO.
385 2003-11-30 Paul Brook <paul@nowt.org>
387 * runtime/memory.c (push_context): Remove.
388 (pop_context): Remove.
389 * libgfortran.h: Remove prototypes.
391 2003-11-27 Paul Brook <paul@nowt.org>
393 * runtime/memory.c (deallocate): Nullify pointer after freeing.
395 2003-11-27 Paul Brook <paul@nowt.org>
397 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
398 * libgfortran.h: Ditto.
399 * m4/in_pack.m4: Ditto.
400 * runtime/in_pack_generic.c: Ditto.
401 * runtime/memory.c: Ditto.
403 2003-11-26 Richard Henderson <rth@redhat.com>
405 * m4/exponent.m4, m4/fraction.m4: New.
406 * m4/nearest.m4, m4/set_exponent.m4: New.
407 * generated/*: Update.
408 * Makefile.am: Add them.
409 (AM_CFLAGS): New. Use -std=gnu99.
410 * Makefile.in: Regenerate.
412 2003-11-08 Paul Brook <paul@nowt.org>
415 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
416 * m4/maxloc1.m4: Ditto.
417 * m4/minloc0.m4: Ditto.
418 * m4/minloc1.m4: Ditto.
419 * m4/ifunction.m4: Set return value for zero sized arrays.
420 * m4/iforeach.m4: Ditto.
421 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
422 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
423 * generated/*: Update.
425 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
428 * io/list_read.c (eat_spaces): Treat tab as space.
430 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
432 * intrinsics/random.c: Add reference to paper containing algorithm.
433 (random_seed): Extra error checking and proper handling of arrays.
434 (arandom_r4, arandom_r8): Implement.
436 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
439 * runtime/memory.c (allocate_size): Allow allocation
440 of zero-sized objects.
442 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
445 * open.c (new_unit): Open without a file name opens
446 a file with name fort.<unit>.
448 2003-10-12 Feng Wang <wf_cs@yahoo.com>
450 * intrinsics/cshift0.c: New file.
451 * m4/cshift1.m4: New file
452 * generated/cshift*.c: New files.
453 * Makefile.am: Add them.
454 * Makefile.in: Regenerate.
456 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
458 * io/list_read.c (read_character): Remove unwanted call to free_saved.
460 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
462 * intrinsics/string_intrinsics.c (string_trim): New function.
463 (string_repeat): New function.
465 2003-10-11 Paul Brook <paul@nowt.org>
467 * intrinsics/dprod_r8.f90: New file.
468 * Makefile.am (gfor_specific_src): Add it.
469 (gfor_built_specific_src): Rename from gfor_build_specific_c.
471 (gfor_specific2_src): Rename from gfor_built_specific2_c.
473 * Makefile.in: Regenerate.
474 * generated/_aint_*.f90: New files.
475 * generated/_anint*.f90: New files.
476 * generated/_atan2*.f90: New files.
477 * generated/_mod*.f90: New files.
479 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
481 * intrinsics/selected_kind.f90: New file.
482 * Makefile.am: Add it.
483 * Makefile.in: regenerate.
485 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
486 Paul Brook <paul@nowt.org>
488 * intrinsics/random.c: New file.
489 * Makefile.am (gfor_hemper_src): Add it.
490 (gfor_specific_c): Fix typo.
492 2003-09-19 Paul Brook <paul@nowt.org>
494 * All: rename g95->gfc.
496 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
498 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
500 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
502 * io/write.c (write_float): Dectection of positive infinite number,
503 Not a Number(NaN) and negative infinite number.
504 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
505 output a very_very small number ( < 0.1e-100 ).
507 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
509 * libgfortran.h (xtoa, itoa): Parameter modified.
510 * io/io.h (namelist_info): Declaration to support namelist I/O
511 (st_parameter): Add namelist related component
512 (ionml, empty_internal_buffer, st_set_nml_var_int,
513 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
514 st_set_nml_var_log): Declaration
515 (set_integer, set_integer): Parameter changed
516 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
518 (parse_format_list): Fix bug about FMT_SLASH
519 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
520 newly allocated saved_string
521 (next_char): Add detection of End_Of_Line support
522 (convert_integer): Now can process 64 bits interger
523 (read_real): Bug fixed
524 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
525 (match_namelist_name): New implemention
526 * io/lock.c (ionml): New global variable
527 (library_end): Free memory in ionml
528 * io/open.c (st_open): Variable initializtion
529 * io/read.c (max_value): 64 bits interger support
530 (convert_precsion_real): New procedure to replace "strtod" with more
532 (read_f, read_radix): Input bug fix
533 * io/transfer.c: (sf_seen_eor): New static variable
534 (read_sf): Zeroize base buffer; fix bugs: single read statement can
535 not get input in mutli line when read from stdin
536 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
538 (data_transfer_init): Clear internal buffer for Internel File I/O.
539 Internal File now worked. Detect some error condition for namelist.
541 (next_record_w): Internal file and Namelist I/O support.
542 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
543 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
544 * io/unit.c (implicit_unit): Deletion
545 (get_unit): Now cannot open a unit implicitly.
546 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
548 (mem_alloc_r_at): Internal file I/O support added
549 (empty_internal_buffer): New function
550 * io/write.c (extract_int): Support 64 bits interger processing
551 (output_float): Varibale initialization
552 (write_float): Infinite real number detection.
553 (write_int): 64 bits integer I/O support
554 (write_decimal): New function to output decimal number
555 (otoa, btoa): Better implemention and 64 bits interger support
556 (namelist_write): New function
557 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
560 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
562 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
563 get_mem ): Add attribute.
564 * intrinsics/spread_generic.c (__spread): Fix spelling.
565 * io/inquire.c (inquire_via_filename): Add const.
566 * io/io.h (sys_exit): Add attribute.
567 * io/io.h (move_pos_offset): Add move_pos_offset.
568 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
569 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
570 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
571 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
573 * io/read.c (convert_real): Add const.
574 * io/transfer.c (type_name): Add const.
575 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
576 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
577 inquire_read, inquire_write, inquire_readwrite): Add const.
578 * io/write.c (output_float): Remove unused variable.
579 * io/write.c (write_a, extract_int, extract_real, output_float,
580 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
581 write_e, write_f, write_en, write_es, write_logical, write_integer,
582 write_character, write_real, write_complex): Add const.
583 * runtime/error.c (rtoa): Remove unused variable.
584 * runtime/select.c (select_string): Add const.
585 * runtime/stop.c (stop_string): Add const.
587 2003-08-10 Paul Brook <paul@nowt.org>
589 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
590 (FFLAGS): Add -fno-underscoring.
591 * Makefile.in: Regenerate.
592 * intrinsics/abort.c: New file.
594 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
596 * fmain.c (main): Do not call init and cleanup; call set_args instead.
597 * libgfortran.h (init, cleanup): Remove declarations.
598 (set_args): Add declaration.
599 * runtime/main.c (init, cleanup): Make them static, and give them
600 the constructor and destructor attributes.
601 (set_args): New function.
603 2003-08-10 Paul Brook <paul@nowt.org>
605 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
606 on which string is longest.
608 2003-08-10 Paul Brook <paul@nowt.org>
610 * Makefile.am (EXTRA_DIST): Remove old files.
611 * Makefile.in: Regenerate.
613 2003-07-26 Paul Brook <paul@nowt.org>
615 Rename library to libgfortran.
616 * libgfortran.h: Change prefix to _libgfortran_.
618 2003-07-24 Paul Brook <paul@nowt.org>
620 * configure.in: Don't pull in system libtool. Use toplevel
623 2003-07-22 Paul Brook <paul@nowt.org>
625 Regenerate all configury files.
627 2003-07-09 Chun Huang <compiler@sohu.com>
629 * intrinsics/string_intrinsic.c (string_scan): New function.
630 (string_verify): New function.
632 2003-06-25 Paul Brook <paul@nowt.org>
634 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
635 (mem_seek): Don't bother setting physical_offset.
637 2003-06-20 Paul Brook <paul@nowt.org>
639 * libgfor.h (stop_numeric): Declare.
640 * runtime/pause.c: New file.
641 * Makefile.am: Add it.
643 2003-06-08 Paul Brook <paul@nowt.org>
645 * m4/cexp.m4 (cabs): Use correct typed version.
646 (csqrt): New function.
648 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
650 Spotted by Benjamin and Tobias:
651 * io/list_read.c: Add Separator '\t'.
652 (parse_real, read_real): Accept real values starting with an optional
653 sign follows a decimal point.
655 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
657 * Makefile.am: Don't put cmath objects in subdir.
658 * configure.in: Rename MATHOBJ to MATH_OBJ.
660 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
662 * intrinsics/associated.c: New file.
663 * Makefile.am: Add it. Regenerate Makefile.in.
664 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
665 G95_DESCRIPTOR_DTYPE.
667 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
669 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
670 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
671 the scale_factor to 0 for F editing.
673 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
675 * libgfor.h: Only include stdint.h if it exists.
677 2003-05-07 Paul Brook <paul@nowt.org>
679 * libgfor.h: Use stdint.h types.
680 * intrinsics/ishift.c: Ditto.
681 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
683 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
685 * libgfor.h (offsetof): Define if nobody else does.
686 * runtime/memory.c (HEADER_SIZE): Use it.
688 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
690 * configure.in: Require autoconf 2.54.
692 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
693 Paul Brook <paul@nowt.org>
695 * intrinsics/reshape_generic.c: Copy the whole element, not just the
697 * m4/transpose.m4: New file.
698 * Makefile.am: Add them.
699 Regenerate generated files.
701 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
703 * io/format.c (parse_format_list): Allow 'X' without integer
704 prefix. This is an extension. Interpretation is '1X'.
706 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
708 * io/format.c (parse_format_list): Allow '0P'.
710 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
712 * Makefile.in: Re-regenerate for automake 1.7.3.
714 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
716 Port implementation for CHARACTER SELECT from Andy's tree.
717 * runtime/select.c: New file
718 * Makefile.am: Add it.
719 * Makefile.in: Regenerate.
721 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
723 * io/transfer.c (formatted_transfer): Modified
724 * io/unix.c (move_pos_offset): New Function.
725 * io/format.c (parse_format_list): Modified.
727 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
729 * io/write.c (write_float,write_real): New implemention of
730 FMT_G and default float editing.
731 (calculate_exp,calculate_G_format,output_float): New Function.
732 (write_float,write_real,write_logical): Modified
733 * libgfor.h (default_rtoa): Remove Declaration.
734 * runtime/error.c (default_rtoa): Remove Function.
736 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
739 * io/write.c (extract_real): Add missing break statement.
741 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
743 * cpu_time.c: Make sure we have a definition of HZ. Don't
744 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
746 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
747 Paul Brook <paul@nowt.org>
749 * configure.in: Check for process time headers and GETTIMEOFDAY.
750 * makefile.am: Add intrinsics/cpu_time.c.
751 * acinclude.m4: New file.
752 * intrinsics/cpu_time.c: New file.
753 * m4/dotprodl.m4: Fix typo.
754 Regenerate generated files.
756 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
758 * io/write.c (extract_real): Ouput floating point value.
759 (write_float): New Function.
760 (write_e, write_f, write_en, write_es): Modified
761 * io/transfer.c (formatted_transfer): Modified.
762 * libgfor.h (default_rtoa): Declaration.
764 * runtime/error.c (default_rtoa): New Function.
765 (rtoa): New Function.
767 2003-04-05 Paul Brook <paul@nowt.org>
769 * intrinsics/spread_generic.c: New file.
770 * Makefile.am: Add it. Regenerate Makefile.in.
772 2003-03-29 Paul Brook <paul@nowt.org>
774 * intrinsics/pack_generic.c: New file.
775 * intrinsics/unpack_generic.c: New file.
776 * Makefile.am: Add them. Regenerate Makefile.in.
778 2003-03-25 Paul Brook <paul@nowt.org>
780 * intrinsics/eoshift0.c: New file.
781 * intrinsics/eoshift2.c: New file.
782 * m4/eoshift1.m4: New file.
783 * m4/eoshift3.m4: New file.
784 * Makefile.am: Add them.
785 * in_unpack_generic.c: Initialize src.
786 Regenerate generated files.
788 2003-03-14 Paul Brook <paul@nowt.org>
790 * m4/shape.m4: Work properly with array temporaries.
791 * m4/in_pack.m4: Skip redundant checks for array temporaries.
792 * runtime/in_pack_generic.c: Ditto.
794 2003-03-12 Paul Brook <paul@nowt.org>
796 * m4/shape.m4: Work properly with noncontiguous arrays.
798 2003-03-08 Paul Brook <paul@nowt.org>
800 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
801 * runtime/in_pack_generic.c: Ditto.
803 2003-02-08 Paul Brook <paul@nowt.org>
805 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
806 * io/close.c (st_close): Return void.
807 * io/open.c (st_open): Return void.
808 * libgfor.h (g95_array_char): Declare.
809 (internal_malloc_size): Ditto.
810 (internal_pack*, internal_unpack*): Ditto.
811 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
813 * m4/in_unpack.m4: Include file fixes.
814 * m4/reshape.m4: Increment the correct source pointer.
815 * Makefile.am (maxloc): Fix typo.
816 * runtime/in_pack_generic.c: Call optimized functions. Allocate
817 storage if neccessary. Fix logic for packed arrays.
818 * runtime/in_unpack_generic.c: Call optimized functions.
819 * runtime/main.c: Use runtime_error to report errors.
820 * memory.c (internal_malloc_size): Make non-static.
822 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
824 * reshape_packed.c, lock.c: Add #include <string.h>.
825 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
826 environ.c, error.c, memory.c, string.c: Add const.
827 * error.c (show_locus): Add void.
829 2003-02-21 Paul Brook <paul@nowt.org>
831 * m4/in_pack.m4: Avoid returning const * parameter.
832 * Makefile.am: Only regenerate files in maintainer mode.
834 2003-02-20 Paul Brook <paul@nowt.org>
836 Add array repacking support functions.
837 * m4/in_pack.m4, m4/in_unpack.m4: New files.
838 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
839 * Makefile.am: Build them. Regenerate configury files.
840 * generated/: New directory for generated files (need to move
841 everything else there).
843 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
845 * m4/cexp.m4: Fix typo.
847 2003-01-26 Paul Brook <paul@nowt.org>
849 * intrinsics/: Add missing generated files.
851 2003-01-26 Paul Brook <paul@nowt.org>
853 * Makefile.am: Put -I before the filename.
855 2003-01-24 Paul Brook <paul@nowt.org>
857 * configure.in: Add AM_MAINTAINER_MODE.
859 2003-01-23 Paul Brook <paul@nowt.org>
861 * configure.in, Makefile.am: Modify to work with unmodified autoconf
863 Also regenerate other configury files.
865 2003-01-21 Paul Brook <paul@nowt.org>
867 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
869 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
871 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
872 Don't include "alloca.h".
874 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
876 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
877 * Makefile.am: Adjust file name.
878 * Makefile.in: Regenerate.
879 * gfortypes.h: Kill, include everything in...
880 * libgfor.h: ...here. Include config.h
881 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
882 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
883 intrinsics/reshape_packed.c, intrinsics/size.c,
884 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
885 for prefix for all functions instead of hardcoded.
887 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
889 * io/lock.c (library_end): Propagate library return
892 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
894 Port fixes from Andy's tree:
895 * io/read.c (read_decimal): Reverse sense of overflow
896 comparison during integer reads.
897 * io/format.c (revert): Fix comment.
898 (next_format): Fix format revision.
899 * io/unix.c: Fix and simplify mmap version of stream
902 2003-01-11 Paul Brook <paul@nowt.org>
904 * configure, Makefile.in: Regenerate.
906 2003-01-11 Paul Brook <paul@nowt.org>
908 * runtime/stop.c: Rewrite.
910 2003-01-08 Paul Brook <paul@nowt.org>
912 * configure, Makefile.in: Regenerate.
914 2003-01-05 Paul Brook <paul@nowt.org>
916 * (*.m4) Move to m4/.
917 * intrinsics/string.c (_gfor_string_index): New Function.
919 2002-12-29 Paul Brook <paul@nowt.org>
921 * intrinsics/reshape.*: New files.
922 * gcc_config.patch: Update to new GCC configure system.
924 2002-10-10 Paul Brook <paul@nowt.org>
926 * intrinsics/size.c: New file.
927 * intrinsics/shape.m4: New file.
928 * Makefile.am: Add above files.
930 2002-10-02 Paul Brook <paul@nowt.org>
932 * fmain.c (main): Move here.
933 * libgfor.c: From here.
934 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
935 * Makefile.am: Build libgforbegin.
936 * gcc_config.patch: Remove stray -march=athlon.
937 * dotprodl.m4: Fix use of L8_TO_L4 macro.
938 * ifunction.m4: Move variable declarations to allow compilation with
940 * specific.m4, specific4.m4: Fix typo typecode->type_code.
941 * README: Document use of patch -p1.
943 2002-09-12 Paul Brook <paul@nowt.org>
945 * math/*: Add complex math library functions.
946 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
947 * Makefile.am: Add details for above.
948 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
950 2002-09-09 Paul Brook <paul@nowt.org>
952 * libgfor.c (determine_endianness): Use an array rather than a struct.
953 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
955 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
957 * libgfor.c: Add fatal signal handler.
958 Romove superfluous abort() calls.
960 2002-09-07 Paul Brook <paul@nowt.org>
962 * Makefile.am, intrinsics: Major rewrite.
964 2002-09-02 Paul Brook <paul@nowt.org>
966 * Makefile.am: Added -I$(srcdir) to m4 rule.
968 2002-08-30 Paul Brook <paul@nowt.org>
970 * io/*: Integrated libgforio.
971 * Makefile.am, configure.in: Make compatable with GCC. Build code for
972 intrinsics in the intrisics directory.
973 * intrinsics/intrinsics.m4: Move here. Strip directories from the
974 filename. Add 'and' and 'all' intrinsics.
976 2002-08-17 Paul Brook <paul@nowt.org>
978 * ALL: First release as more than just a single file