1 2004-08-10 Victor Leikehman <lei@il.ibm.com>
3 * io/list_read.c (namelist_read): Convert variable names
4 to lower case, so that mixed-case names are recognized.
5 Don't read beyond terminating slash.
7 2004-08-09 Richard Henderson <rth@redhat.com>
8 Roger Sayle <roger@eyesopen.com>
10 * intrinsics/c99_functions.c (nextafterf): New implementation that
11 works correctly with denormalized numbers.
13 2004-08-09 Victor Leikehman <lei@il.ibm.com>
15 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
16 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
17 Allocate space if return value has NULL in its data field.
18 * generated/*.c: Regenerate.
20 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
22 * intrinsics/env.c: New file.
23 * Makefile.am: Add env.c to build.
24 * Makefile.in: Regenerate.
26 2004-08-05 Victor Leikehman <lei@il.ibm.com>
29 * io/read.c (read_radix): Understand letters f and F as hex digits.
31 2004-08-04 Victor Leikehman <lei@il.ibm.com>
33 * libgfortran.h (array_t, size0) New declarations.
34 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
35 space if return value descriptor has NULL in its data field,
36 and initialize bounds and stride.
37 * intrinsics/size.c (array_t, size0): Declarations moved to
39 * generated/*.c: Regenerate.
41 2004-08-03 Roger Sayle <roger@eyesopen.com>
44 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
45 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
46 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
47 * config.h.in: Regenerate.
48 * configure: Regenerate.
50 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
51 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
52 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
53 implementations for targets that don't support C99 float functions.
55 2004-08-01 Roger Sayle <roger@eyesopen.com>
57 * io/write.c (write_float): Use the slightly more portable isnan
58 in preference to isinf.
60 2004-07-18 Bud Davis <bdavis9659@comcast.net>
62 * configure.ac: Add check for LFS support.
63 * configure: Regenerate
65 2004-07-11 Paul Brook <paul@codesourcery.com>
68 * m4/cexp.m4 (carg): Return -pi to pi.
69 * generated/exp_c?.c: Regenerate.
71 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
74 * libgfortran/io/write.c: (write_float): Added length check.
75 Remove pointless memset calls.
77 2004-07-04 Bud Davis <bdavis9659@comcast.net>
78 Paul Brook <paul@codesourcery.com>
81 * io/transfer.c(us_write): set recl for seq unform writes to max size.
82 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
83 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
85 * io/unix.c(is_seekable): set based upon the file/device, not the
86 method being used to access it (fd or mmap).
87 * io/unix.c(fd_flush): don't set file_size if !seekable.
88 * io/unix.c(fd_truncate: ditto.
90 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
91 Paul Brook <paul@codesourcery.com>
95 * libgfortran.h (gfc_strlen_type): Define.
96 * intrinsics/args.c (getarg): Rename ...
97 (getarg_i4): ... to this.
98 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
99 get_command_i4, get_command_i8): New functions.
101 2004-07-04 Matthias Klose <doko@debian.org>
103 * libtool-version: New.
104 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
105 * Makefile.in: Regenerate.
106 * configure.ac: Remove libtool_VERSION macro
107 * configure: Regenerate
109 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
110 Steven Bosscher <stevenb@suse.de>
112 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
115 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
116 Paul Brook <paul@codesourcery.com>
118 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
120 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
122 2004-06-27 Bud Davis <bdavis9659@comcast.net>
125 * io/write.c (write_float): check signbit for Infinity.
127 2004-06-26 Bud Davis <bdavis9659@comcast.net>
130 * unix.c(regular_file): create file if it does not exist.
132 2004-06-24 Andrew Pinski <apinski@apple.com>
134 * configure.ac: Remove check for libmx.
135 * configure: Regenerate.
137 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
140 * inquire.c (st_inquire): Add comment
141 * io.h (st_parameter): Add iolength.
142 (st_iolength, st_iolength_done): Declare.
143 * transfer.c (iolength_transfer, iolength_transfer_init,
144 st_iolength, st_iolength_done): New functions.
146 2004-06-21 Steven G. Kargl <kargls@comcast.net>
148 * etime.c (etime_sub): Remove array rank check;
149 Add check for sufficient space.
151 2004-06-19 Bud Davis <bdavis9659@comcast.net>
154 * io/list_read.c(set_value): fixed spelling.
156 2004-06-19 Bud Davis <bdavis9659@comcast.net>
159 * io/list_read.c(set_value): don't copy if the string is null.
161 2004-06-14 Bud Davis <bdavis9659@comcast.net>
164 * intrinsics/c99_functions.c: Use fpclassify if it exists.
166 2004-06-13 Paul Brook <paul@codesourcery.com>
168 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
169 * configure.ac: Add checks for nextafter and nextafterf.
170 * Makefile.in, config.h.in, configure: Regenerate.
171 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
172 * intrinsics/rand.c (rand): Use normalize_r4_i4.
173 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
174 (random_r8): Use normalize_r8_i8.
175 * runtime/normalize.c: New file.
177 2004-06-13 Steven G. Kargl <kargls@comcast.net>
178 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
180 * random.c: Fix several spelling and formatting mistakes in
182 (random_r8): Fix loop to make random numbers range in [0,1(.
185 2004-06-13 Steven G. Kargl <kargls@comcast.net>
187 * random.c (random_r4): Burn a random number.
188 (random_r8): fix infinite loop.
190 2004-06-12 Bud Davis <bdavis9659@comcast.net>
191 Steve Kargl <sgk@troutmask.apl.washington.edu>
194 * intrinsics/c99_functions.c: New file.
195 * Makefile.am: Add new file.
196 * configure.ac: Added test for round/roundf.
197 * Makefile.in: Regenerate.
198 * configure: Regenerate.
199 * configure.h.in: Regenerate.
201 2004-06-12 Steven G. Kargl <kargls@comcast.net>
203 * Makefile.am: Add rand.c and etime.c
204 * Makefile.in: Regenerated.
205 * aclocal.in: Regenerated.
206 * cpu_time.c (second_sub, second): New functions.
207 * rand.c (irand, rand, srand): New file.
208 * etime.c (etime_sub, etime): New file.
210 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
211 Steven Bosscher <stevenb@suse.de>
214 * intrinsics/date_and_time.c: New file.
215 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
216 * Makefile.in, aclocal.m4: Regenerate.
217 * libgfortran.h: Prototype date_and_time().
219 2004-06-12 Bud Davis <bdavis9659@comcast.net>
222 * intrinsics/args.c: Implement GETARG and IARGC.
223 * Makefile.am: Add it.
224 * Makefile.in: Regenerate.
226 2004-06-12 Bud Davis <bdavis9659@comcast.net>
229 * io/write.c(write_float): Format inf and nan IAW F2003.
231 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
234 * io/transfer.c (formatted_transfer): position is unique
235 for T and TL edit descriptors.
236 (data_transfer_init): set record length to size of internal
239 2004-06-09 Bud Davis <bdavis9659@comcast.net>
242 * io/backspace.c(st_backspace): call correct routine for
243 formatted and un-formatted units.
245 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
248 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
249 (lib_LTLIBRARIES): Rename to ...
250 (toolexeclib_LTLIBRARIES): this for multilib support.
251 * configure.in: Rename to ...
252 * configure.ac: this. Update to modern autoconf style, enable
253 multilibs, support --enable-version-specific-runtime-libs.
254 * Makefile.in: Regenerated.
255 * configure: Regenerated.
256 * aclocal.m4: Regenerated.
258 2004-05-30 Steven G. Kargl <kargls@comcast.net>
260 * libgfortran.h (random_seed): Update prototype.
261 * intrinsics/random.c: Disable old implementation and add new one.
263 2004-05-30 Andreas Jaeger <aj@suse.de>
265 * intrinsics/random.c: Include unistd.h for close and read
266 prototypes, remove unneeded inclusion of assert.h.
268 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
269 unneeded inclusion of assert.h.
271 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
274 * intrinsics/associated.c: Remove enum.
275 (associated): Replace TRUE/FALSE by 1/0.
277 2004-05-23 Steven G. Kargl <kargls@comcast.net>
279 * random.c (random_seed): Use correct variable.
281 2004-05-22 Steven G. Kargl <kargls@comcast.net>
283 * intrinsics/system_clock: New file.
284 * Makefile.am: Add intrinsics/system_clock.c.
285 * Makefile.in: Regenerate.
287 2004-05-21 Roger Sayle <roger@eyesopen.com>
289 * io/format.c (parse_format_list): Allow the comma after a string
290 literal to be optional.
292 2004-05-18 Paul Brook <paul@codesourcery.com>
293 Feng Wang <fengwang@nudt.edu.cn>
295 * Makefile.am (i_pow_c): Set it. Add build rule.
296 (gfor_built_src): Use it.
297 (m4_files): add m4/pow.m4.
298 * Makefile.in: Regenerate.
299 * m4/pow.m4: New file.
300 * generated/pow_*.c: Regenerate.
302 2004-05-18 Paul Brook <paul@codesourcery.com>
304 * Makefile.am: Remove references to types.m4.
305 * m4/iparm.m4: Merge with types.m4.
306 * m4/types.m4: Remove.
307 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
308 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
309 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
310 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
311 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
312 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
313 Update to use new iparm.m4.
314 * generated/*.c: Regenerate.
316 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
319 * gfortran.h (offset_t): Rename to ...
320 (gfc_offset): ... this.
321 * io/backspace.c (formatted_backspace, unformatted_backspace),
322 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
323 transfer.c (us_read, us_write, next_record_r, next_record_w),
324 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
325 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
326 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
327 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
328 occurences of offset_t by gfc_offset.
330 2004-05-16 Paul Brook <paul@codesourcery.com>
332 * io/format.c (write_real): Don't include padding in format.
334 2004-05-16 Paul Brook <paul@codesourcery.com>
336 * io/format.c (format_lex): Make c an int.
338 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
339 Paul Brook <paul@codesourcery.com>
341 * io/write.c (write_logical): Don't print extra blank.
342 (write_integer): Base field width on kind.
343 (list_formatted_write): Output initial blank.
345 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
347 * io/io.h (flush): Add prototype.
348 * io/transfer.c (finalize_transfer): Flush partial records.
349 * io/unix.c (flush): New function.
351 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
354 * io/io.h (unit_t): Rename to ...
356 (unit_root, current_unit, find_file, find_unit, get_unit): Now
358 (delete_file, insert_unit, close_unit): Argument now of type
360 * backspace.c (st_backspace), close.c (st_close), endfile.c
361 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
362 (test_endfile, edit_modes, new_unit, already_open, st_open),
363 rewind.c (st_rewind), transfer.c (current_unit), unit.c
364 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
365 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
366 get_unit, init_units, close_unit), unix.c (find_file0,
367 find_file, delete_file): Replace all occurences of unit_t by
370 2004-05-15 Bud Davis <bdavis9659@comcast.net>
373 * io/write.c (write_a): right justify A edit output.
375 2004-05-14 Bud Davis <bdavis9659@comcast.net>
378 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
379 * runtime/main.c(init): Call random_seed as part of MAIN init.
381 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
383 * io/format.c: (parse_format_list): No comma is required after
386 2004-05-13 Bud Davis <bdavis9659@comcast.net>
389 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
391 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
392 Steven Bosscher <stevenb@suse.de>
395 * libgfortran.h: Include <inttypes.h> if available.
397 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
399 * io/unix.c (MAP_FAILED): Define if missing.
400 (mmap_alloc): Cast MAP_FAILED to char *.
401 (mmap_open): Likewise.
403 2004-04-26 Bud Davis <bdavis9659@comcast.net>
405 * generated/_abs_i8.f90: New file.
406 * generated/_abs_c4.f90: New file.
407 * generated/_abs_c8.f90: New file.
408 * Makefile.am: Add them.
409 * Makefile.in: Regenerate.
411 2004-04-26 Bud Davis <bdavis9659@comcast.net>
414 * generated/_abs_i4.f90: New file.
415 * Makefile.am: Add it.
416 * Makefile.in: Regenerate.
418 2004-04-25 Bud Davis <bdavis9659@comcast.net>
421 * io/list_read.c(list_formatted_read): finish consuming the
422 spaces and seperators at eoln to get ready for next item.
424 2004-04-23 Bud Davis <bdavis9659@comcast.net>
427 * io/read.c(read_a): Handle field width > destination and no field width.
429 2004-04-22 Bud Davis <bdavis9659@comcast.net>
432 * io/format.c (format_item): gracefully handle a ')'
433 when it is the first character encountered in the string.
435 2004-04-11 Bud Davis <bdavis9659@comcast.net>
438 * io/transfer.c (next_record): Update last_record when
439 more than one record is written to a direct access file
440 with one write statement.
442 2004-04-11 Bud Davis <bdavis9659@comcast.net>
445 * io/transfer.c (next_record_w) : No '\n' if internal.
446 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
448 2004-04-11 Bud Davis <bdavis9659@comcast.net>
450 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
451 Will need to change this later to support direct access files > 2gb.
453 2004-04-03 Bud Davis <bdavis9659@comcast.net>
456 * io/transfer.c (next_record_r) : Skip to next record.
458 2004-04-03 Bud Davis <bdavis9659@comcast.net>
461 * io/transfer.c (next_record): Update last_record for DIRECT
463 2004-04-03 Bud Davis <bdavis9659@comcast.net>
466 * io/unix.c (find_file0): Use fd field of struct
468 2004-04-03 Bud Davis <bdavis9659@comcast.net>
471 * io/inquire.c (inquire_via_unit): Changed return string for
472 BLANK=NULL. Use correct variable for ACTION.
474 2004-04-01 Bud Davis <bdavis9659@comcast.net>
477 * io/read.c (read_f): Allow a decimal without a leading digit.
478 * io/write.c (output_float): remove a leading '0' to keep from
479 overflowing the field (F edit descriptor).
481 2004-04-01 Bud Davis <bdavis9659@comcast.net>
484 * io/open.c (new_unit),
485 * io/io.h : new_unit is now visible
486 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
487 * io/transfer.c (data_transfer_init): remove compile warnings.
488 * io/rewind.c (st_rewind): ftruncate if writing.
490 2004-03-24 Bud Davis <bdavis9659@comcast.net>
492 * write.c (write_l): Use extract_int for 'L' edit descriptor.
494 2004-03-24 Bud Davis <bdavis9659@comcast.net>
497 * io/io.h (global_t):
498 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
499 Move eof_jmp to a global structure.
500 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
502 2004-03-24 Bud Davis <bdavis9659@comcast.net>
504 * m4/cexp.m4 (csqrt): Actually use the passed value.
505 * generated/exp_c?.c: Regenerate.
507 2004-03-24 Bud Davis <bdavis9659@comcast.net>
510 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
511 * open.c (new_unit): Moved test for positioned direct access error.
512 (init_units): Corrected calculation of max records.
514 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
516 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
517 * Makefile.in: Regenerate.
518 * m4/dotprodc.m4: New file. Implement complex dot_product.
519 * m4/dotprod.m4: Delete the complex implementation.
520 * generated/dotprod_*: Update.
522 2004-02-07 Bud Davis <bdavis9659@comcast.net>
524 * transfer.c (write_constant_string): Do not delete H's in hollerith
527 2004-01-05 Andrew Pinski <apinski@apple.com>
529 * configure.in: Check for csin in -lmx also.
530 * configure: Regenerate.
532 2004-01-01 Paul Brook <paul@codesourcery.com>
534 * io/list_read.c (find_nml_node): Make static.
535 (match_namelist_name): Ditto.
536 * io/read.c (convert_precision_real): Make static, fix spelling.
537 * io/transfer.c (extract_real): Remove unused prototype.
538 (st_set_nml_var): Make static.
539 * io/write.c (extract_real): Make static.
541 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
543 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
545 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
547 * io/transfer.c (data_transfer_init): Give a runtime error for list
548 formatted reads and writes from/to files opened for unformatted IO.
550 2003-11-30 Paul Brook <paul@nowt.org>
552 * runtime/memory.c (push_context): Remove.
553 (pop_context): Remove.
554 * libgfortran.h: Remove prototypes.
556 2003-11-27 Paul Brook <paul@nowt.org>
558 * runtime/memory.c (deallocate): Nullify pointer after freeing.
560 2003-11-27 Paul Brook <paul@nowt.org>
562 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
563 * libgfortran.h: Ditto.
564 * m4/in_pack.m4: Ditto.
565 * runtime/in_pack_generic.c: Ditto.
566 * runtime/memory.c: Ditto.
568 2003-11-26 Richard Henderson <rth@redhat.com>
570 * m4/exponent.m4, m4/fraction.m4: New.
571 * m4/nearest.m4, m4/set_exponent.m4: New.
572 * generated/*: Update.
573 * Makefile.am: Add them.
574 (AM_CFLAGS): New. Use -std=gnu99.
575 * Makefile.in: Regenerate.
577 2003-11-08 Paul Brook <paul@nowt.org>
580 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
581 * m4/maxloc1.m4: Ditto.
582 * m4/minloc0.m4: Ditto.
583 * m4/minloc1.m4: Ditto.
584 * m4/ifunction.m4: Set return value for zero sized arrays.
585 * m4/iforeach.m4: Ditto.
586 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
587 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
588 * generated/*: Update.
590 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
593 * io/list_read.c (eat_spaces): Treat tab as space.
595 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
597 * intrinsics/random.c: Add reference to paper containing algorithm.
598 (random_seed): Extra error checking and proper handling of arrays.
599 (arandom_r4, arandom_r8): Implement.
601 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
604 * runtime/memory.c (allocate_size): Allow allocation
605 of zero-sized objects.
607 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
610 * open.c (new_unit): Open without a file name opens
611 a file with name fort.<unit>.
613 2003-10-12 Feng Wang <wf_cs@yahoo.com>
615 * intrinsics/cshift0.c: New file.
616 * m4/cshift1.m4: New file
617 * generated/cshift*.c: New files.
618 * Makefile.am: Add them.
619 * Makefile.in: Regenerate.
621 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
623 * io/list_read.c (read_character): Remove unwanted call to free_saved.
625 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
627 * intrinsics/string_intrinsics.c (string_trim): New function.
628 (string_repeat): New function.
630 2003-10-11 Paul Brook <paul@nowt.org>
632 * intrinsics/dprod_r8.f90: New file.
633 * Makefile.am (gfor_specific_src): Add it.
634 (gfor_built_specific_src): Rename from gfor_build_specific_c.
636 (gfor_specific2_src): Rename from gfor_built_specific2_c.
638 * Makefile.in: Regenerate.
639 * generated/_aint_*.f90: New files.
640 * generated/_anint*.f90: New files.
641 * generated/_atan2*.f90: New files.
642 * generated/_mod*.f90: New files.
644 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
646 * intrinsics/selected_kind.f90: New file.
647 * Makefile.am: Add it.
648 * Makefile.in: regenerate.
650 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
651 Paul Brook <paul@nowt.org>
653 * intrinsics/random.c: New file.
654 * Makefile.am (gfor_hemper_src): Add it.
655 (gfor_specific_c): Fix typo.
657 2003-09-19 Paul Brook <paul@nowt.org>
659 * All: rename g95->gfc.
661 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
663 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
665 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
667 * io/write.c (write_float): Dectection of positive infinite number,
668 Not a Number(NaN) and negative infinite number.
669 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
670 output a very_very small number ( < 0.1e-100 ).
672 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
674 * libgfortran.h (xtoa, itoa): Parameter modified.
675 * io/io.h (namelist_info): Declaration to support namelist I/O
676 (st_parameter): Add namelist related component
677 (ionml, empty_internal_buffer, st_set_nml_var_int,
678 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
679 st_set_nml_var_log): Declaration
680 (set_integer, set_integer): Parameter changed
681 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
683 (parse_format_list): Fix bug about FMT_SLASH
684 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
685 newly allocated saved_string
686 (next_char): Add detection of End_Of_Line support
687 (convert_integer): Now can process 64 bits interger
688 (read_real): Bug fixed
689 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
690 (match_namelist_name): New implemention
691 * io/lock.c (ionml): New global variable
692 (library_end): Free memory in ionml
693 * io/open.c (st_open): Variable initializtion
694 * io/read.c (max_value): 64 bits interger support
695 (convert_precsion_real): New procedure to replace "strtod" with more
697 (read_f, read_radix): Input bug fix
698 * io/transfer.c: (sf_seen_eor): New static variable
699 (read_sf): Zeroize base buffer; fix bugs: single read statement can
700 not get input in mutli line when read from stdin
701 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
703 (data_transfer_init): Clear internal buffer for Internel File I/O.
704 Internal File now worked. Detect some error condition for namelist.
706 (next_record_w): Internal file and Namelist I/O support.
707 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
708 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
709 * io/unit.c (implicit_unit): Deletion
710 (get_unit): Now cannot open a unit implicitly.
711 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
713 (mem_alloc_r_at): Internal file I/O support added
714 (empty_internal_buffer): New function
715 * io/write.c (extract_int): Support 64 bits interger processing
716 (output_float): Varibale initialization
717 (write_float): Infinite real number detection.
718 (write_int): 64 bits integer I/O support
719 (write_decimal): New function to output decimal number
720 (otoa, btoa): Better implemention and 64 bits interger support
721 (namelist_write): New function
722 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
725 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
727 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
728 get_mem ): Add attribute.
729 * intrinsics/spread_generic.c (__spread): Fix spelling.
730 * io/inquire.c (inquire_via_filename): Add const.
731 * io/io.h (sys_exit): Add attribute.
732 * io/io.h (move_pos_offset): Add move_pos_offset.
733 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
734 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
735 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
736 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
738 * io/read.c (convert_real): Add const.
739 * io/transfer.c (type_name): Add const.
740 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
741 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
742 inquire_read, inquire_write, inquire_readwrite): Add const.
743 * io/write.c (output_float): Remove unused variable.
744 * io/write.c (write_a, extract_int, extract_real, output_float,
745 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
746 write_e, write_f, write_en, write_es, write_logical, write_integer,
747 write_character, write_real, write_complex): Add const.
748 * runtime/error.c (rtoa): Remove unused variable.
749 * runtime/select.c (select_string): Add const.
750 * runtime/stop.c (stop_string): Add const.
752 2003-08-10 Paul Brook <paul@nowt.org>
754 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
755 (FFLAGS): Add -fno-underscoring.
756 * Makefile.in: Regenerate.
757 * intrinsics/abort.c: New file.
759 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
761 * fmain.c (main): Do not call init and cleanup; call set_args instead.
762 * libgfortran.h (init, cleanup): Remove declarations.
763 (set_args): Add declaration.
764 * runtime/main.c (init, cleanup): Make them static, and give them
765 the constructor and destructor attributes.
766 (set_args): New function.
768 2003-08-10 Paul Brook <paul@nowt.org>
770 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
771 on which string is longest.
773 2003-08-10 Paul Brook <paul@nowt.org>
775 * Makefile.am (EXTRA_DIST): Remove old files.
776 * Makefile.in: Regenerate.
778 2003-07-26 Paul Brook <paul@nowt.org>
780 Rename library to libgfortran.
781 * libgfortran.h: Change prefix to _libgfortran_.
783 2003-07-24 Paul Brook <paul@nowt.org>
785 * configure.in: Don't pull in system libtool. Use toplevel
788 2003-07-22 Paul Brook <paul@nowt.org>
790 Regenerate all configury files.
792 2003-07-09 Chun Huang <compiler@sohu.com>
794 * intrinsics/string_intrinsic.c (string_scan): New function.
795 (string_verify): New function.
797 2003-06-25 Paul Brook <paul@nowt.org>
799 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
800 (mem_seek): Don't bother setting physical_offset.
802 2003-06-20 Paul Brook <paul@nowt.org>
804 * libgfor.h (stop_numeric): Declare.
805 * runtime/pause.c: New file.
806 * Makefile.am: Add it.
808 2003-06-08 Paul Brook <paul@nowt.org>
810 * m4/cexp.m4 (cabs): Use correct typed version.
811 (csqrt): New function.
813 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
815 Spotted by Benjamin and Tobias:
816 * io/list_read.c: Add Separator '\t'.
817 (parse_real, read_real): Accept real values starting with an optional
818 sign follows a decimal point.
820 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
822 * Makefile.am: Don't put cmath objects in subdir.
823 * configure.in: Rename MATHOBJ to MATH_OBJ.
825 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
827 * intrinsics/associated.c: New file.
828 * Makefile.am: Add it. Regenerate Makefile.in.
829 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
830 G95_DESCRIPTOR_DTYPE.
832 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
834 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
835 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
836 the scale_factor to 0 for F editing.
838 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
840 * libgfor.h: Only include stdint.h if it exists.
842 2003-05-07 Paul Brook <paul@nowt.org>
844 * libgfor.h: Use stdint.h types.
845 * intrinsics/ishift.c: Ditto.
846 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
848 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
850 * libgfor.h (offsetof): Define if nobody else does.
851 * runtime/memory.c (HEADER_SIZE): Use it.
853 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
855 * configure.in: Require autoconf 2.54.
857 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
858 Paul Brook <paul@nowt.org>
860 * intrinsics/reshape_generic.c: Copy the whole element, not just the
862 * m4/transpose.m4: New file.
863 * Makefile.am: Add them.
864 Regenerate generated files.
866 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
868 * io/format.c (parse_format_list): Allow 'X' without integer
869 prefix. This is an extension. Interpretation is '1X'.
871 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
873 * io/format.c (parse_format_list): Allow '0P'.
875 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
877 * Makefile.in: Re-regenerate for automake 1.7.3.
879 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
881 Port implementation for CHARACTER SELECT from Andy's tree.
882 * runtime/select.c: New file
883 * Makefile.am: Add it.
884 * Makefile.in: Regenerate.
886 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
888 * io/transfer.c (formatted_transfer): Modified
889 * io/unix.c (move_pos_offset): New Function.
890 * io/format.c (parse_format_list): Modified.
892 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
894 * io/write.c (write_float,write_real): New implemention of
895 FMT_G and default float editing.
896 (calculate_exp,calculate_G_format,output_float): New Function.
897 (write_float,write_real,write_logical): Modified
898 * libgfor.h (default_rtoa): Remove Declaration.
899 * runtime/error.c (default_rtoa): Remove Function.
901 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
904 * io/write.c (extract_real): Add missing break statement.
906 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
908 * cpu_time.c: Make sure we have a definition of HZ. Don't
909 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
911 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
912 Paul Brook <paul@nowt.org>
914 * configure.in: Check for process time headers and GETTIMEOFDAY.
915 * makefile.am: Add intrinsics/cpu_time.c.
916 * acinclude.m4: New file.
917 * intrinsics/cpu_time.c: New file.
918 * m4/dotprodl.m4: Fix typo.
919 Regenerate generated files.
921 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
923 * io/write.c (extract_real): Ouput floating point value.
924 (write_float): New Function.
925 (write_e, write_f, write_en, write_es): Modified
926 * io/transfer.c (formatted_transfer): Modified.
927 * libgfor.h (default_rtoa): Declaration.
929 * runtime/error.c (default_rtoa): New Function.
930 (rtoa): New Function.
932 2003-04-05 Paul Brook <paul@nowt.org>
934 * intrinsics/spread_generic.c: New file.
935 * Makefile.am: Add it. Regenerate Makefile.in.
937 2003-03-29 Paul Brook <paul@nowt.org>
939 * intrinsics/pack_generic.c: New file.
940 * intrinsics/unpack_generic.c: New file.
941 * Makefile.am: Add them. Regenerate Makefile.in.
943 2003-03-25 Paul Brook <paul@nowt.org>
945 * intrinsics/eoshift0.c: New file.
946 * intrinsics/eoshift2.c: New file.
947 * m4/eoshift1.m4: New file.
948 * m4/eoshift3.m4: New file.
949 * Makefile.am: Add them.
950 * in_unpack_generic.c: Initialize src.
951 Regenerate generated files.
953 2003-03-14 Paul Brook <paul@nowt.org>
955 * m4/shape.m4: Work properly with array temporaries.
956 * m4/in_pack.m4: Skip redundant checks for array temporaries.
957 * runtime/in_pack_generic.c: Ditto.
959 2003-03-12 Paul Brook <paul@nowt.org>
961 * m4/shape.m4: Work properly with noncontiguous arrays.
963 2003-03-08 Paul Brook <paul@nowt.org>
965 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
966 * runtime/in_pack_generic.c: Ditto.
968 2003-02-08 Paul Brook <paul@nowt.org>
970 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
971 * io/close.c (st_close): Return void.
972 * io/open.c (st_open): Return void.
973 * libgfor.h (g95_array_char): Declare.
974 (internal_malloc_size): Ditto.
975 (internal_pack*, internal_unpack*): Ditto.
976 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
978 * m4/in_unpack.m4: Include file fixes.
979 * m4/reshape.m4: Increment the correct source pointer.
980 * Makefile.am (maxloc): Fix typo.
981 * runtime/in_pack_generic.c: Call optimized functions. Allocate
982 storage if neccessary. Fix logic for packed arrays.
983 * runtime/in_unpack_generic.c: Call optimized functions.
984 * runtime/main.c: Use runtime_error to report errors.
985 * memory.c (internal_malloc_size): Make non-static.
987 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
989 * reshape_packed.c, lock.c: Add #include <string.h>.
990 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
991 environ.c, error.c, memory.c, string.c: Add const.
992 * error.c (show_locus): Add void.
994 2003-02-21 Paul Brook <paul@nowt.org>
996 * m4/in_pack.m4: Avoid returning const * parameter.
997 * Makefile.am: Only regenerate files in maintainer mode.
999 2003-02-20 Paul Brook <paul@nowt.org>
1001 Add array repacking support functions.
1002 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1003 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1004 * Makefile.am: Build them. Regenerate configury files.
1005 * generated/: New directory for generated files (need to move
1006 everything else there).
1008 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1010 * m4/cexp.m4: Fix typo.
1012 2003-01-26 Paul Brook <paul@nowt.org>
1014 * intrinsics/: Add missing generated files.
1016 2003-01-26 Paul Brook <paul@nowt.org>
1018 * Makefile.am: Put -I before the filename.
1020 2003-01-24 Paul Brook <paul@nowt.org>
1022 * configure.in: Add AM_MAINTAINER_MODE.
1024 2003-01-23 Paul Brook <paul@nowt.org>
1026 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1028 Also regenerate other configury files.
1030 2003-01-21 Paul Brook <paul@nowt.org>
1032 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1034 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1036 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1037 Don't include "alloca.h".
1039 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1041 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1042 * Makefile.am: Adjust file name.
1043 * Makefile.in: Regenerate.
1044 * gfortypes.h: Kill, include everything in...
1045 * libgfor.h: ...here. Include config.h
1046 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1047 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1048 intrinsics/reshape_packed.c, intrinsics/size.c,
1049 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1050 for prefix for all functions instead of hardcoded.
1052 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1054 * io/lock.c (library_end): Propagate library return
1057 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1059 Port fixes from Andy's tree:
1060 * io/read.c (read_decimal): Reverse sense of overflow
1061 comparison during integer reads.
1062 * io/format.c (revert): Fix comment.
1063 (next_format): Fix format revision.
1064 * io/unix.c: Fix and simplify mmap version of stream
1067 2003-01-11 Paul Brook <paul@nowt.org>
1069 * configure, Makefile.in: Regenerate.
1071 2003-01-11 Paul Brook <paul@nowt.org>
1073 * runtime/stop.c: Rewrite.
1075 2003-01-08 Paul Brook <paul@nowt.org>
1077 * configure, Makefile.in: Regenerate.
1079 2003-01-05 Paul Brook <paul@nowt.org>
1081 * (*.m4) Move to m4/.
1082 * intrinsics/string.c (_gfor_string_index): New Function.
1084 2002-12-29 Paul Brook <paul@nowt.org>
1086 * intrinsics/reshape.*: New files.
1087 * gcc_config.patch: Update to new GCC configure system.
1089 2002-10-10 Paul Brook <paul@nowt.org>
1091 * intrinsics/size.c: New file.
1092 * intrinsics/shape.m4: New file.
1093 * Makefile.am: Add above files.
1095 2002-10-02 Paul Brook <paul@nowt.org>
1097 * fmain.c (main): Move here.
1098 * libgfor.c: From here.
1099 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1100 * Makefile.am: Build libgforbegin.
1101 * gcc_config.patch: Remove stray -march=athlon.
1102 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1103 * ifunction.m4: Move variable declarations to allow compilation with
1105 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1106 * README: Document use of patch -p1.
1108 2002-09-12 Paul Brook <paul@nowt.org>
1110 * math/*: Add complex math library functions.
1111 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1112 * Makefile.am: Add details for above.
1113 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1115 2002-09-09 Paul Brook <paul@nowt.org>
1117 * libgfor.c (determine_endianness): Use an array rather than a struct.
1118 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1120 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1122 * libgfor.c: Add fatal signal handler.
1123 Romove superfluous abort() calls.
1125 2002-09-07 Paul Brook <paul@nowt.org>
1127 * Makefile.am, intrinsics: Major rewrite.
1129 2002-09-02 Paul Brook <paul@nowt.org>
1131 * Makefile.am: Added -I$(srcdir) to m4 rule.
1133 2002-08-30 Paul Brook <paul@nowt.org>
1135 * io/*: Integrated libgforio.
1136 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1137 intrinsics in the intrisics directory.
1138 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1139 filename. Add 'and' and 'all' intrinsics.
1141 2002-08-17 Paul Brook <paul@nowt.org>
1143 * ALL: First release as more than just a single file