1 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
3 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
4 * configure, aclocal.m4, Makefile.in: Regenerate.
6 2004-12-02 Bud Davis <bdavis9659@comcast.net>
9 * io/unix.c (fd_alloc_w_at): Update file_length when extending.
10 * io/backspace.c (formatted_backspace): Reset endfile after backspace.
12 2004-12-02 Bud Davis <bdavis9659@comcast.net>
14 * io/inquire.c (inquire_via_unit): do not allow a direct access
15 file to be opened for sequential I/O.
17 2004-12-02 Steven G. Kargl <kargls@comcast.net>
18 Paul Brook <paul@codesourcery.com>
20 * intrinsics/flush.c: New file.
21 * intrinsics/fnum.c: ditto
22 * intrinsics/stat.c: ditto
23 * io/io.h (unit_to_fd): Add prototype.
24 * io/unix.c (unit_to_fd): New function.
25 * configure.ac: Add test for members of struct stat. Check for
26 sys/types.h and sys/stat.h
27 * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
28 * configure.in: Regenerate.
29 * config.h.in: Regenerate.
30 * Makefile.in: Regenerate.
32 2004-12-01 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
34 * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I.
36 2004-11-28 Bud Davis <bdavis9659@comcast.net>
38 * io/unix.c (mmap_alloc_w_a): check for a write to a location
39 less than the mapped area.
41 2004-11-27 Bud Davis <bdavis9659@comcast.net>
44 * io/endfile.c (st_endfile): flush the stream before truncating.
46 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
48 * configure: Regenerate for libtool change.
50 2004-11-22 Steven Bosscher <stevenb@suse.de>
53 * configure.ac: Check for finite in libm.
54 * libgfortran.h: Define isfinite macro if not defined.
55 * intrinsics/c99_functions.c: Use defined(fpclassify) instead of
57 * io/write.c (write_float): Use isfinite instead of finite.
58 * configure, config.h.in: Rebuilt.
60 2004-11-20 Roger Sayle <roger@eyesopen.com>
62 * io/write.c (write_float, list_formatted_write): Fix indentation.
64 2004-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
67 * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
68 * configure.ac: Include LIBGFOR_TARGET_ILP32.
69 * configure: Regenerate.
70 * config.h.in: Likewise.
71 * libgfortran.h: Provide default definitions for C99 types
72 on ILP32 targets that don't have them.
75 * configure.ac: Check for snprintf.
76 * configure: Regenerate.
77 * config.h.in: Likewise.
78 * intrinsics/date_and_time.c (date_and_time): Do not
79 use snprinf if it is not available.
80 * io/write.c (output_float): Likewise.
82 2004-11-20 Steven G. Kargl <kargls@comcast.net>
84 * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
85 * Makefile.in: Regenerated
86 * intrinsics/umask.c: New file
87 * intrinsics/unlink.c: ditto
88 * intrinsics/exit.c: ditto
90 2004-11-18 Victor Leikehman <lei@il.ibm.com>
92 * m4/matmul.m4: Loops reordered to improve cache behavior.
93 * generated/matmul_??.c: Regenerated.
95 2004-11-10 Paul Brook <paul@codesourcery.com>
98 * configure.ac: Check for strtof.
99 * configure: Regenerate.
100 * config.h.in: Regenerate.
101 * io/read.c (convert_real): Use strtof if available.
102 (convert_precision_real): Remove.
103 (read_f): Avoid poor exponentiation algorithm.
105 2004-11-05 Andreas Schwab <schwab@suse.de>
107 * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
108 AC_PROG_F77, F77 and FFLAGS.
109 * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
110 FCCOMPILE instead of F77COMPILE.
111 * configure, Makefile.in: Regenerate.
113 2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
115 * acinclude.m4: Properly quote AC_CACHE_CHECK.
116 * Makefile.am: Add in ACLOCAL_AMFLAGS.
117 * aclocal.m4, configure, Makefile.in: Regenerate.
119 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
121 * config.h.in: Regenerate.
122 * configure: Regenerate.
123 * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
124 * io/unix.c (S_IRGRP): Define if undefined.
128 (tempfile): Use mktemp if mkstemp missing, fix typos.
130 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
132 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
134 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
136 * intrinsics/rand.c (irand): Handle NULL argument.
138 2004-10-07 Paul Brook <paul@codesourcery.com>
140 * io/transfer.c (finalize_transfer): Free internal streams.
141 * io/unix.c (mem_close): Free stream object.
143 2004-10-07 Paul Brook <paul@codesourcery.com>
145 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
148 2004-10-06 Paul Brook <paul@codesourcery.com>
151 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
153 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
155 * intrinsics/mvbits.c: Commit the file.
157 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
160 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
161 if not done by caller.
162 (__pack_s): New function.
163 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
164 allocating zero memory.
167 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
168 * Makefile.in: Regenerate.
169 * intrinsics/mvbits.h: New file.
172 * intrinsics/system.c: New file.
173 * Makefile.am: Add dependency for the new file.
174 * Makefile.in: Regenerate.
176 2004-10-04 Paul Brook <paul@codesourcery.com>
177 Bud Davis <bdavis9659@comcast.net>
181 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
183 * io/write.c (output_float): Don't output minus zero.
185 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
187 * intrinsics/abort.c ("libgfortran.h"): Move.
188 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
189 * intrinsics/write.c ("libgfortran.h"): Same.
191 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
194 * config.h.in (HAVE_POWF): Undefine.
195 * configure.ac: Check for 'powf' in library.
196 * configure: Regenerate.
197 * intrinsics/c99_functions.c (powf): New function.
199 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
201 * intrinsics/etime.c (etime_): New function.
203 2004-09-21 Steven G. Kargl <kargls@comcast.net>
205 * libgfortran.h: define gfc_alloca()
206 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
208 2004-09-21 Bud Davis <bdavis9659@comcast.net>
211 * io/list_read.c (namelist_read): ignore spaces after
212 the '=' for namelist reads.
214 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
216 * config.h.in: Regenerate.
217 * configure: Regenerate.
218 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
219 * unix.c: Include stdio.h.
220 (HAVE_SYS_MMAN_H): Check.
221 (PROT_READ, PROT_WRITE): Provide default definitions.
223 2004-09-15 Steven G. Kargl <kargls@comcast.net>
225 * intrincics/getcwd.c: New file.
226 * Makefile.am: Add getcwd.c.
227 * Makefile.in: Regenerated.
229 2004-09-15 Steven G. Kargl <kargls@comcast.net>
230 Paul Brook <paul@codesourcery.com>
232 * intrinsics/env.c (getenv, get_environmental_variable): Remove
233 trailing white space. Use alloca. Honour trim_name.
235 2004-09-13 Bud Davis <bdavis9659@comcast.net>
239 * io/list_read.c (list_formatted_read): Handle trailing spaces
242 2004-09-06 Steven G. Kargl <kargls@comcast.net>
244 * io/write.c (output_float): Typo in comment. Remove debugging
245 printf. Fix format for FP of form 1e10.
247 2004-09-03 Richard Henderson <rth@redhat.com>
249 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
250 copy_loop_double, copy_loop_ldouble): New.
251 (__cshift0): Make shift type ssize_t. Use % operator instead of
252 div. Use specialized versions of copy loop depending on the shape.
254 2004-09-02 Paul Brook <paul@codesourcery.com>
256 * io/format.c (parse_format_list): Set repeat count for P descriptors.
257 * write.c (output_float): Fix condition. Correctly handle nonzero
260 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
262 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
263 * mk-srk-inc.sh: Likewise.
265 2004-09-01 Paul Brook <paul@codesourcery.com>
267 * runtime/error.c (generate_error): Set both iostat and
270 2004-08-31 Paul Brook <paul@codesourcery.com>
273 * io/list_read.c (next_char): Don't signal EOF for internal files.
274 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
276 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
278 * io/unit.c: Separate copyright years by ','.
279 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
280 Remove blank line in beginning of function.
281 (get_unit): Simplify code.
283 2004-08-31 Paul Brook <paul@codesourcery.com>
285 * io/unit.c (get_unit): Remove superfluous if.
287 2004-08-31 Paul Brook <paul@codesourcery.com>
289 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
290 (finalize_transfer): Move setjmp after namlist IO.
291 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
293 2004-08-31 Paul Brook <paul@codesourcery.com>
295 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
297 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
299 * libgfortran.h: Replace 'gfc_strlen_type' by
300 'gfc_charlen_type'. Update comment accordingly.
301 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
302 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
304 2004-08-31 Paul Brook <paul@codesourcery.com>
306 * libgfortran.h: Add comments.
308 2004-08-30 Richard Henderson <rth@redhat.com>
310 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
311 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
312 (selected_int_kind.inc selected_real_kind.inc): New rules.
313 * Makefile.in: Regenerate.
314 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
315 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
316 include table of detected kinds.
317 * intrinsics/selected_real_kind.f90: Similarly.
319 2004-08-29 Steven G. Kargl <kargls@comcast.net>
320 Paul Brook <paul@codesourcery.com>
322 * intrinsics/bessel.c: New file.
323 * intrinsics/erf.c: New file.
324 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
325 * configure.ac: Test for C99 Bessel and Error functions.
326 * Makefile.in: Regenerate.
327 * config.h.in: Regenerate.
328 * configure: Regenerate.
330 2004-08-29 Steven G. Kargl <kargls@comcast.net>
331 Paul Brook <paul@codesourcery.com>
333 * Makefile.am: Add intrinsics/getXid.c.
334 * configure.ac: Add tests for get{g,p,u}id.
335 * config.h.in: Regenerate.
336 * Makefile.in: Regenerate.
337 * configure: Regenerate.
339 2004-08-28 Paul Brook <paul@codesourcery.com>
342 * libgfortran.h (rtoa): Remove prototype.
343 * runtime/error.c (rtoa): Remove.
344 * io/write.c (calculate_G_format): Don't add blanks if E format is
345 used. Add correct number of blanks when exponent width is specified.
346 (output_float): Rewrite.
348 2004-08-27 Paul Brook <paul@codesourcery.com>
350 * io/rewind.c (st_rewind): Reset unit to read mode.
352 2004-08-27 Bud Davis <bdavis9659@comcast.net>
355 * io/io.h: created typedef for unit_mode.
356 * io/io.h (gfc_unit): added mode to unit structure.
357 * io/transfer.c (data_transfer_init): flush if a write then
358 read is done on a unit (direct access files).
359 * io/rewind.c (st_rewind): Used unit mode instead of global.
361 2004-08-24 Bud Davis <bdavis9659@comcast.net>
364 * runtime/error.c (itoa): keep from overflowing during
365 mod operation by using unsigned variable.
367 2004-08-24 Bud Davis <bdavis9659@comcast.net>
370 * runtime/string_intrinsics.c (string_index):check for
371 substring longer than string.
373 2004-08-24 David Edelsohn <edelsohn@gnu.org>
375 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
376 * Makefile.in: Rebuilt.
378 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
380 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
381 Fix formatting issues, update copyright years.
383 2004-08-21 Bud Davis <bdavis9659@comcast.net>
386 * io/transfer.c (next_record_w): Do not blank pad.
387 * io/transfer.c (next_record): Take into account partial records.
389 2004-08-18 Victor Leikehman <lei@il.ibm.com>
392 * io/transfer.c (st_set_nml_var)
393 * io/write.c (namelist_write): Allow var_name and var_name_len to be
394 null. For strings, use string_length field instead of len.
395 * io/io.h (struct namelist_type): New field string_length.
396 (st_set_nml_var_char): New argument string_length.
398 2004-08-13 Bud Davis <bdavis9659@comcast.net>
401 * io/open.c (st_open): use flags instead of the unit structure.
403 2004-08-10 Victor Leikehman <lei@il.ibm.com>
405 * io/list_read.c (namelist_read): Convert variable names
406 to lower case, so that mixed-case names are recognized.
407 Don't read beyond terminating slash.
409 2004-08-09 Richard Henderson <rth@redhat.com>
410 Roger Sayle <roger@eyesopen.com>
412 * intrinsics/c99_functions.c (nextafterf): New implementation that
413 works correctly with denormalized numbers.
415 2004-08-09 Victor Leikehman <lei@il.ibm.com>
417 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
418 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
419 Allocate space if return value has NULL in its data field.
420 * generated/*.c: Regenerate.
422 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
424 * intrinsics/env.c: New file.
425 * Makefile.am: Add env.c to build.
426 * Makefile.in: Regenerate.
428 2004-08-05 Victor Leikehman <lei@il.ibm.com>
431 * io/read.c (read_radix): Understand letters f and F as hex digits.
433 2004-08-04 Victor Leikehman <lei@il.ibm.com>
435 * libgfortran.h (array_t, size0) New declarations.
436 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
437 space if return value descriptor has NULL in its data field,
438 and initialize bounds and stride.
439 * intrinsics/size.c (array_t, size0): Declarations moved to
441 * generated/*.c: Regenerate.
443 2004-08-03 Roger Sayle <roger@eyesopen.com>
446 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
447 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
448 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
449 * config.h.in: Regenerate.
450 * configure: Regenerate.
452 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
453 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
454 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
455 implementations for targets that don't support C99 float functions.
457 2004-08-01 Roger Sayle <roger@eyesopen.com>
459 * io/write.c (write_float): Use the slightly more portable isnan
460 in preference to isinf.
462 2004-07-18 Bud Davis <bdavis9659@comcast.net>
464 * configure.ac: Add check for LFS support.
465 * configure: Regenerate
467 2004-07-11 Paul Brook <paul@codesourcery.com>
470 * m4/cexp.m4 (carg): Return -pi to pi.
471 * generated/exp_c?.c: Regenerate.
473 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
476 * libgfortran/io/write.c: (write_float): Added length check.
477 Remove pointless memset calls.
479 2004-07-04 Bud Davis <bdavis9659@comcast.net>
480 Paul Brook <paul@codesourcery.com>
483 * io/transfer.c(us_write): set recl for seq unform writes to max size.
484 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
485 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
487 * io/unix.c(is_seekable): set based upon the file/device, not the
488 method being used to access it (fd or mmap).
489 * io/unix.c(fd_flush): don't set file_size if !seekable.
490 * io/unix.c(fd_truncate: ditto.
492 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
493 Paul Brook <paul@codesourcery.com>
497 * libgfortran.h (gfc_strlen_type): Define.
498 * intrinsics/args.c (getarg): Rename ...
499 (getarg_i4): ... to this.
500 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
501 get_command_i4, get_command_i8): New functions.
503 2004-07-04 Matthias Klose <doko@debian.org>
505 * libtool-version: New.
506 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
507 * Makefile.in: Regenerate.
508 * configure.ac: Remove libtool_VERSION macro
509 * configure: Regenerate
511 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
512 Steven Bosscher <stevenb@suse.de>
514 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
517 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
518 Paul Brook <paul@codesourcery.com>
520 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
522 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
524 2004-06-27 Bud Davis <bdavis9659@comcast.net>
527 * io/write.c (write_float): check signbit for Infinity.
529 2004-06-26 Bud Davis <bdavis9659@comcast.net>
532 * unix.c(regular_file): create file if it does not exist.
534 2004-06-24 Andrew Pinski <apinski@apple.com>
536 * configure.ac: Remove check for libmx.
537 * configure: Regenerate.
539 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
542 * inquire.c (st_inquire): Add comment
543 * io.h (st_parameter): Add iolength.
544 (st_iolength, st_iolength_done): Declare.
545 * transfer.c (iolength_transfer, iolength_transfer_init,
546 st_iolength, st_iolength_done): New functions.
548 2004-06-21 Steven G. Kargl <kargls@comcast.net>
550 * etime.c (etime_sub): Remove array rank check;
551 Add check for sufficient space.
553 2004-06-19 Bud Davis <bdavis9659@comcast.net>
556 * io/list_read.c(set_value): fixed spelling.
558 2004-06-19 Bud Davis <bdavis9659@comcast.net>
561 * io/list_read.c(set_value): don't copy if the string is null.
563 2004-06-14 Bud Davis <bdavis9659@comcast.net>
566 * intrinsics/c99_functions.c: Use fpclassify if it exists.
568 2004-06-13 Paul Brook <paul@codesourcery.com>
570 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
571 * configure.ac: Add checks for nextafter and nextafterf.
572 * Makefile.in, config.h.in, configure: Regenerate.
573 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
574 * intrinsics/rand.c (rand): Use normalize_r4_i4.
575 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
576 (random_r8): Use normalize_r8_i8.
577 * runtime/normalize.c: New file.
579 2004-06-13 Steven G. Kargl <kargls@comcast.net>
580 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
582 * random.c: Fix several spelling and formatting mistakes in
584 (random_r8): Fix loop to make random numbers range in [0,1(.
587 2004-06-13 Steven G. Kargl <kargls@comcast.net>
589 * random.c (random_r4): Burn a random number.
590 (random_r8): fix infinite loop.
592 2004-06-12 Bud Davis <bdavis9659@comcast.net>
593 Steve Kargl <sgk@troutmask.apl.washington.edu>
596 * intrinsics/c99_functions.c: New file.
597 * Makefile.am: Add new file.
598 * configure.ac: Added test for round/roundf.
599 * Makefile.in: Regenerate.
600 * configure: Regenerate.
601 * configure.h.in: Regenerate.
603 2004-06-12 Steven G. Kargl <kargls@comcast.net>
605 * Makefile.am: Add rand.c and etime.c
606 * Makefile.in: Regenerated.
607 * aclocal.in: Regenerated.
608 * cpu_time.c (second_sub, second): New functions.
609 * rand.c (irand, rand, srand): New file.
610 * etime.c (etime_sub, etime): New file.
612 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
613 Steven Bosscher <stevenb@suse.de>
616 * intrinsics/date_and_time.c: New file.
617 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
618 * Makefile.in, aclocal.m4: Regenerate.
619 * libgfortran.h: Prototype date_and_time().
621 2004-06-12 Bud Davis <bdavis9659@comcast.net>
624 * intrinsics/args.c: Implement GETARG and IARGC.
625 * Makefile.am: Add it.
626 * Makefile.in: Regenerate.
628 2004-06-12 Bud Davis <bdavis9659@comcast.net>
631 * io/write.c(write_float): Format inf and nan IAW F2003.
633 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
636 * io/transfer.c (formatted_transfer): position is unique
637 for T and TL edit descriptors.
638 (data_transfer_init): set record length to size of internal
641 2004-06-09 Bud Davis <bdavis9659@comcast.net>
644 * io/backspace.c(st_backspace): call correct routine for
645 formatted and un-formatted units.
647 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
650 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
651 (lib_LTLIBRARIES): Rename to ...
652 (toolexeclib_LTLIBRARIES): this for multilib support.
653 * configure.in: Rename to ...
654 * configure.ac: this. Update to modern autoconf style, enable
655 multilibs, support --enable-version-specific-runtime-libs.
656 * Makefile.in: Regenerated.
657 * configure: Regenerated.
658 * aclocal.m4: Regenerated.
660 2004-05-30 Steven G. Kargl <kargls@comcast.net>
662 * libgfortran.h (random_seed): Update prototype.
663 * intrinsics/random.c: Disable old implementation and add new one.
665 2004-05-30 Andreas Jaeger <aj@suse.de>
667 * intrinsics/random.c: Include unistd.h for close and read
668 prototypes, remove unneeded inclusion of assert.h.
670 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
671 unneeded inclusion of assert.h.
673 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
676 * intrinsics/associated.c: Remove enum.
677 (associated): Replace TRUE/FALSE by 1/0.
679 2004-05-23 Steven G. Kargl <kargls@comcast.net>
681 * random.c (random_seed): Use correct variable.
683 2004-05-22 Steven G. Kargl <kargls@comcast.net>
685 * intrinsics/system_clock: New file.
686 * Makefile.am: Add intrinsics/system_clock.c.
687 * Makefile.in: Regenerate.
689 2004-05-21 Roger Sayle <roger@eyesopen.com>
691 * io/format.c (parse_format_list): Allow the comma after a string
692 literal to be optional.
694 2004-05-18 Paul Brook <paul@codesourcery.com>
695 Feng Wang <fengwang@nudt.edu.cn>
697 * Makefile.am (i_pow_c): Set it. Add build rule.
698 (gfor_built_src): Use it.
699 (m4_files): add m4/pow.m4.
700 * Makefile.in: Regenerate.
701 * m4/pow.m4: New file.
702 * generated/pow_*.c: Regenerate.
704 2004-05-18 Paul Brook <paul@codesourcery.com>
706 * Makefile.am: Remove references to types.m4.
707 * m4/iparm.m4: Merge with types.m4.
708 * m4/types.m4: Remove.
709 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
710 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
711 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
712 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
713 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
714 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
715 Update to use new iparm.m4.
716 * generated/*.c: Regenerate.
718 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
721 * gfortran.h (offset_t): Rename to ...
722 (gfc_offset): ... this.
723 * io/backspace.c (formatted_backspace, unformatted_backspace),
724 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
725 transfer.c (us_read, us_write, next_record_r, next_record_w),
726 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
727 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
728 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
729 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
730 occurences of offset_t by gfc_offset.
732 2004-05-16 Paul Brook <paul@codesourcery.com>
734 * io/format.c (write_real): Don't include padding in format.
736 2004-05-16 Paul Brook <paul@codesourcery.com>
738 * io/format.c (format_lex): Make c an int.
740 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
741 Paul Brook <paul@codesourcery.com>
743 * io/write.c (write_logical): Don't print extra blank.
744 (write_integer): Base field width on kind.
745 (list_formatted_write): Output initial blank.
747 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
749 * io/io.h (flush): Add prototype.
750 * io/transfer.c (finalize_transfer): Flush partial records.
751 * io/unix.c (flush): New function.
753 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
756 * io/io.h (unit_t): Rename to ...
758 (unit_root, current_unit, find_file, find_unit, get_unit): Now
760 (delete_file, insert_unit, close_unit): Argument now of type
762 * backspace.c (st_backspace), close.c (st_close), endfile.c
763 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
764 (test_endfile, edit_modes, new_unit, already_open, st_open),
765 rewind.c (st_rewind), transfer.c (current_unit), unit.c
766 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
767 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
768 get_unit, init_units, close_unit), unix.c (find_file0,
769 find_file, delete_file): Replace all occurences of unit_t by
772 2004-05-15 Bud Davis <bdavis9659@comcast.net>
775 * io/write.c (write_a): right justify A edit output.
777 2004-05-14 Bud Davis <bdavis9659@comcast.net>
780 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
781 * runtime/main.c(init): Call random_seed as part of MAIN init.
783 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
785 * io/format.c: (parse_format_list): No comma is required after
788 2004-05-13 Bud Davis <bdavis9659@comcast.net>
791 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
793 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
794 Steven Bosscher <stevenb@suse.de>
797 * libgfortran.h: Include <inttypes.h> if available.
799 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
801 * io/unix.c (MAP_FAILED): Define if missing.
802 (mmap_alloc): Cast MAP_FAILED to char *.
803 (mmap_open): Likewise.
805 2004-04-26 Bud Davis <bdavis9659@comcast.net>
807 * generated/_abs_i8.f90: New file.
808 * generated/_abs_c4.f90: New file.
809 * generated/_abs_c8.f90: New file.
810 * Makefile.am: Add them.
811 * Makefile.in: Regenerate.
813 2004-04-26 Bud Davis <bdavis9659@comcast.net>
816 * generated/_abs_i4.f90: New file.
817 * Makefile.am: Add it.
818 * Makefile.in: Regenerate.
820 2004-04-25 Bud Davis <bdavis9659@comcast.net>
823 * io/list_read.c(list_formatted_read): finish consuming the
824 spaces and seperators at eoln to get ready for next item.
826 2004-04-23 Bud Davis <bdavis9659@comcast.net>
829 * io/read.c(read_a): Handle field width > destination and no field width.
831 2004-04-22 Bud Davis <bdavis9659@comcast.net>
834 * io/format.c (format_item): gracefully handle a ')'
835 when it is the first character encountered in the string.
837 2004-04-11 Bud Davis <bdavis9659@comcast.net>
840 * io/transfer.c (next_record): Update last_record when
841 more than one record is written to a direct access file
842 with one write statement.
844 2004-04-11 Bud Davis <bdavis9659@comcast.net>
847 * io/transfer.c (next_record_w) : No '\n' if internal.
848 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
850 2004-04-11 Bud Davis <bdavis9659@comcast.net>
852 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
853 Will need to change this later to support direct access files > 2gb.
855 2004-04-03 Bud Davis <bdavis9659@comcast.net>
858 * io/transfer.c (next_record_r) : Skip to next record.
860 2004-04-03 Bud Davis <bdavis9659@comcast.net>
863 * io/transfer.c (next_record): Update last_record for DIRECT
865 2004-04-03 Bud Davis <bdavis9659@comcast.net>
868 * io/unix.c (find_file0): Use fd field of struct
870 2004-04-03 Bud Davis <bdavis9659@comcast.net>
873 * io/inquire.c (inquire_via_unit): Changed return string for
874 BLANK=NULL. Use correct variable for ACTION.
876 2004-04-01 Bud Davis <bdavis9659@comcast.net>
879 * io/read.c (read_f): Allow a decimal without a leading digit.
880 * io/write.c (output_float): remove a leading '0' to keep from
881 overflowing the field (F edit descriptor).
883 2004-04-01 Bud Davis <bdavis9659@comcast.net>
886 * io/open.c (new_unit),
887 * io/io.h : new_unit is now visible
888 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
889 * io/transfer.c (data_transfer_init): remove compile warnings.
890 * io/rewind.c (st_rewind): ftruncate if writing.
892 2004-03-24 Bud Davis <bdavis9659@comcast.net>
894 * write.c (write_l): Use extract_int for 'L' edit descriptor.
896 2004-03-24 Bud Davis <bdavis9659@comcast.net>
899 * io/io.h (global_t):
900 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
901 Move eof_jmp to a global structure.
902 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
904 2004-03-24 Bud Davis <bdavis9659@comcast.net>
906 * m4/cexp.m4 (csqrt): Actually use the passed value.
907 * generated/exp_c?.c: Regenerate.
909 2004-03-24 Bud Davis <bdavis9659@comcast.net>
912 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
913 * open.c (new_unit): Moved test for positioned direct access error.
914 (init_units): Corrected calculation of max records.
916 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
918 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
919 * Makefile.in: Regenerate.
920 * m4/dotprodc.m4: New file. Implement complex dot_product.
921 * m4/dotprod.m4: Delete the complex implementation.
922 * generated/dotprod_*: Update.
924 2004-02-07 Bud Davis <bdavis9659@comcast.net>
926 * transfer.c (write_constant_string): Do not delete H's in hollerith
929 2004-01-05 Andrew Pinski <apinski@apple.com>
931 * configure.in: Check for csin in -lmx also.
932 * configure: Regenerate.
934 2004-01-01 Paul Brook <paul@codesourcery.com>
936 * io/list_read.c (find_nml_node): Make static.
937 (match_namelist_name): Ditto.
938 * io/read.c (convert_precision_real): Make static, fix spelling.
939 * io/transfer.c (extract_real): Remove unused prototype.
940 (st_set_nml_var): Make static.
941 * io/write.c (extract_real): Make static.
943 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
945 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
947 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
949 * io/transfer.c (data_transfer_init): Give a runtime error for list
950 formatted reads and writes from/to files opened for unformatted IO.
952 2003-11-30 Paul Brook <paul@nowt.org>
954 * runtime/memory.c (push_context): Remove.
955 (pop_context): Remove.
956 * libgfortran.h: Remove prototypes.
958 2003-11-27 Paul Brook <paul@nowt.org>
960 * runtime/memory.c (deallocate): Nullify pointer after freeing.
962 2003-11-27 Paul Brook <paul@nowt.org>
964 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
965 * libgfortran.h: Ditto.
966 * m4/in_pack.m4: Ditto.
967 * runtime/in_pack_generic.c: Ditto.
968 * runtime/memory.c: Ditto.
970 2003-11-26 Richard Henderson <rth@redhat.com>
972 * m4/exponent.m4, m4/fraction.m4: New.
973 * m4/nearest.m4, m4/set_exponent.m4: New.
974 * generated/*: Update.
975 * Makefile.am: Add them.
976 (AM_CFLAGS): New. Use -std=gnu99.
977 * Makefile.in: Regenerate.
979 2003-11-08 Paul Brook <paul@nowt.org>
982 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
983 * m4/maxloc1.m4: Ditto.
984 * m4/minloc0.m4: Ditto.
985 * m4/minloc1.m4: Ditto.
986 * m4/ifunction.m4: Set return value for zero sized arrays.
987 * m4/iforeach.m4: Ditto.
988 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
989 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
990 * generated/*: Update.
992 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
995 * io/list_read.c (eat_spaces): Treat tab as space.
997 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
999 * intrinsics/random.c: Add reference to paper containing algorithm.
1000 (random_seed): Extra error checking and proper handling of arrays.
1001 (arandom_r4, arandom_r8): Implement.
1003 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
1006 * runtime/memory.c (allocate_size): Allow allocation
1007 of zero-sized objects.
1009 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
1012 * open.c (new_unit): Open without a file name opens
1013 a file with name fort.<unit>.
1015 2003-10-12 Feng Wang <wf_cs@yahoo.com>
1017 * intrinsics/cshift0.c: New file.
1018 * m4/cshift1.m4: New file
1019 * generated/cshift*.c: New files.
1020 * Makefile.am: Add them.
1021 * Makefile.in: Regenerate.
1023 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
1025 * io/list_read.c (read_character): Remove unwanted call to free_saved.
1027 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
1029 * intrinsics/string_intrinsics.c (string_trim): New function.
1030 (string_repeat): New function.
1032 2003-10-11 Paul Brook <paul@nowt.org>
1034 * intrinsics/dprod_r8.f90: New file.
1035 * Makefile.am (gfor_specific_src): Add it.
1036 (gfor_built_specific_src): Rename from gfor_build_specific_c.
1038 (gfor_specific2_src): Rename from gfor_built_specific2_c.
1040 * Makefile.in: Regenerate.
1041 * generated/_aint_*.f90: New files.
1042 * generated/_anint*.f90: New files.
1043 * generated/_atan2*.f90: New files.
1044 * generated/_mod*.f90: New files.
1046 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
1048 * intrinsics/selected_kind.f90: New file.
1049 * Makefile.am: Add it.
1050 * Makefile.in: regenerate.
1052 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
1053 Paul Brook <paul@nowt.org>
1055 * intrinsics/random.c: New file.
1056 * Makefile.am (gfor_hemper_src): Add it.
1057 (gfor_specific_c): Fix typo.
1059 2003-09-19 Paul Brook <paul@nowt.org>
1061 * All: rename g95->gfc.
1063 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
1065 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
1067 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
1069 * io/write.c (write_float): Dectection of positive infinite number,
1070 Not a Number(NaN) and negative infinite number.
1071 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
1072 output a very_very small number ( < 0.1e-100 ).
1074 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
1076 * libgfortran.h (xtoa, itoa): Parameter modified.
1077 * io/io.h (namelist_info): Declaration to support namelist I/O
1078 (st_parameter): Add namelist related component
1079 (ionml, empty_internal_buffer, st_set_nml_var_int,
1080 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
1081 st_set_nml_var_log): Declaration
1082 (set_integer, set_integer): Parameter changed
1083 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
1085 (parse_format_list): Fix bug about FMT_SLASH
1086 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
1087 newly allocated saved_string
1088 (next_char): Add detection of End_Of_Line support
1089 (convert_integer): Now can process 64 bits interger
1090 (read_real): Bug fixed
1091 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1092 (match_namelist_name): New implemention
1093 * io/lock.c (ionml): New global variable
1094 (library_end): Free memory in ionml
1095 * io/open.c (st_open): Variable initializtion
1096 * io/read.c (max_value): 64 bits interger support
1097 (convert_precsion_real): New procedure to replace "strtod" with more
1099 (read_f, read_radix): Input bug fix
1100 * io/transfer.c: (sf_seen_eor): New static variable
1101 (read_sf): Zeroize base buffer; fix bugs: single read statement can
1102 not get input in mutli line when read from stdin
1103 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1105 (data_transfer_init): Clear internal buffer for Internel File I/O.
1106 Internal File now worked. Detect some error condition for namelist.
1108 (next_record_w): Internal file and Namelist I/O support.
1109 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1110 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1111 * io/unit.c (implicit_unit): Deletion
1112 (get_unit): Now cannot open a unit implicitly.
1113 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1115 (mem_alloc_r_at): Internal file I/O support added
1116 (empty_internal_buffer): New function
1117 * io/write.c (extract_int): Support 64 bits interger processing
1118 (output_float): Varibale initialization
1119 (write_float): Infinite real number detection.
1120 (write_int): 64 bits integer I/O support
1121 (write_decimal): New function to output decimal number
1122 (otoa, btoa): Better implemention and 64 bits interger support
1123 (namelist_write): New function
1124 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1127 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1129 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1130 get_mem ): Add attribute.
1131 * intrinsics/spread_generic.c (__spread): Fix spelling.
1132 * io/inquire.c (inquire_via_filename): Add const.
1133 * io/io.h (sys_exit): Add attribute.
1134 * io/io.h (move_pos_offset): Add move_pos_offset.
1135 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1136 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1137 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1138 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1139 write_z): Add const.
1140 * io/read.c (convert_real): Add const.
1141 * io/transfer.c (type_name): Add const.
1142 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1143 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1144 inquire_read, inquire_write, inquire_readwrite): Add const.
1145 * io/write.c (output_float): Remove unused variable.
1146 * io/write.c (write_a, extract_int, extract_real, output_float,
1147 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1148 write_e, write_f, write_en, write_es, write_logical, write_integer,
1149 write_character, write_real, write_complex): Add const.
1150 * runtime/error.c (rtoa): Remove unused variable.
1151 * runtime/select.c (select_string): Add const.
1152 * runtime/stop.c (stop_string): Add const.
1154 2003-08-10 Paul Brook <paul@nowt.org>
1156 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1157 (FFLAGS): Add -fno-underscoring.
1158 * Makefile.in: Regenerate.
1159 * intrinsics/abort.c: New file.
1161 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1163 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1164 * libgfortran.h (init, cleanup): Remove declarations.
1165 (set_args): Add declaration.
1166 * runtime/main.c (init, cleanup): Make them static, and give them
1167 the constructor and destructor attributes.
1168 (set_args): New function.
1170 2003-08-10 Paul Brook <paul@nowt.org>
1172 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1173 on which string is longest.
1175 2003-08-10 Paul Brook <paul@nowt.org>
1177 * Makefile.am (EXTRA_DIST): Remove old files.
1178 * Makefile.in: Regenerate.
1180 2003-07-26 Paul Brook <paul@nowt.org>
1182 Rename library to libgfortran.
1183 * libgfortran.h: Change prefix to _libgfortran_.
1185 2003-07-24 Paul Brook <paul@nowt.org>
1187 * configure.in: Don't pull in system libtool. Use toplevel
1190 2003-07-22 Paul Brook <paul@nowt.org>
1192 Regenerate all configury files.
1194 2003-07-09 Chun Huang <compiler@sohu.com>
1196 * intrinsics/string_intrinsic.c (string_scan): New function.
1197 (string_verify): New function.
1199 2003-06-25 Paul Brook <paul@nowt.org>
1201 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1202 (mem_seek): Don't bother setting physical_offset.
1204 2003-06-20 Paul Brook <paul@nowt.org>
1206 * libgfor.h (stop_numeric): Declare.
1207 * runtime/pause.c: New file.
1208 * Makefile.am: Add it.
1210 2003-06-08 Paul Brook <paul@nowt.org>
1212 * m4/cexp.m4 (cabs): Use correct typed version.
1213 (csqrt): New function.
1215 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1217 Spotted by Benjamin and Tobias:
1218 * io/list_read.c: Add Separator '\t'.
1219 (parse_real, read_real): Accept real values starting with an optional
1220 sign follows a decimal point.
1222 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1224 * Makefile.am: Don't put cmath objects in subdir.
1225 * configure.in: Rename MATHOBJ to MATH_OBJ.
1227 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1229 * intrinsics/associated.c: New file.
1230 * Makefile.am: Add it. Regenerate Makefile.in.
1231 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1232 G95_DESCRIPTOR_DTYPE.
1234 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1236 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1237 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1238 the scale_factor to 0 for F editing.
1240 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1242 * libgfor.h: Only include stdint.h if it exists.
1244 2003-05-07 Paul Brook <paul@nowt.org>
1246 * libgfor.h: Use stdint.h types.
1247 * intrinsics/ishift.c: Ditto.
1248 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1250 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1252 * libgfor.h (offsetof): Define if nobody else does.
1253 * runtime/memory.c (HEADER_SIZE): Use it.
1255 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1257 * configure.in: Require autoconf 2.54.
1259 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1260 Paul Brook <paul@nowt.org>
1262 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1264 * m4/transpose.m4: New file.
1265 * Makefile.am: Add them.
1266 Regenerate generated files.
1268 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1270 * io/format.c (parse_format_list): Allow 'X' without integer
1271 prefix. This is an extension. Interpretation is '1X'.
1273 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1275 * io/format.c (parse_format_list): Allow '0P'.
1277 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1279 * Makefile.in: Re-regenerate for automake 1.7.3.
1281 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1283 Port implementation for CHARACTER SELECT from Andy's tree.
1284 * runtime/select.c: New file
1285 * Makefile.am: Add it.
1286 * Makefile.in: Regenerate.
1288 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1290 * io/transfer.c (formatted_transfer): Modified
1291 * io/unix.c (move_pos_offset): New Function.
1292 * io/format.c (parse_format_list): Modified.
1294 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1296 * io/write.c (write_float,write_real): New implemention of
1297 FMT_G and default float editing.
1298 (calculate_exp,calculate_G_format,output_float): New Function.
1299 (write_float,write_real,write_logical): Modified
1300 * libgfor.h (default_rtoa): Remove Declaration.
1301 * runtime/error.c (default_rtoa): Remove Function.
1303 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1306 * io/write.c (extract_real): Add missing break statement.
1308 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1310 * cpu_time.c: Make sure we have a definition of HZ. Don't
1311 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1313 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1314 Paul Brook <paul@nowt.org>
1316 * configure.in: Check for process time headers and GETTIMEOFDAY.
1317 * makefile.am: Add intrinsics/cpu_time.c.
1318 * acinclude.m4: New file.
1319 * intrinsics/cpu_time.c: New file.
1320 * m4/dotprodl.m4: Fix typo.
1321 Regenerate generated files.
1323 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1325 * io/write.c (extract_real): Ouput floating point value.
1326 (write_float): New Function.
1327 (write_e, write_f, write_en, write_es): Modified
1328 * io/transfer.c (formatted_transfer): Modified.
1329 * libgfor.h (default_rtoa): Declaration.
1330 (rtoa): Declaration.
1331 * runtime/error.c (default_rtoa): New Function.
1332 (rtoa): New Function.
1334 2003-04-05 Paul Brook <paul@nowt.org>
1336 * intrinsics/spread_generic.c: New file.
1337 * Makefile.am: Add it. Regenerate Makefile.in.
1339 2003-03-29 Paul Brook <paul@nowt.org>
1341 * intrinsics/pack_generic.c: New file.
1342 * intrinsics/unpack_generic.c: New file.
1343 * Makefile.am: Add them. Regenerate Makefile.in.
1345 2003-03-25 Paul Brook <paul@nowt.org>
1347 * intrinsics/eoshift0.c: New file.
1348 * intrinsics/eoshift2.c: New file.
1349 * m4/eoshift1.m4: New file.
1350 * m4/eoshift3.m4: New file.
1351 * Makefile.am: Add them.
1352 * in_unpack_generic.c: Initialize src.
1353 Regenerate generated files.
1355 2003-03-14 Paul Brook <paul@nowt.org>
1357 * m4/shape.m4: Work properly with array temporaries.
1358 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1359 * runtime/in_pack_generic.c: Ditto.
1361 2003-03-12 Paul Brook <paul@nowt.org>
1363 * m4/shape.m4: Work properly with noncontiguous arrays.
1365 2003-03-08 Paul Brook <paul@nowt.org>
1367 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1368 * runtime/in_pack_generic.c: Ditto.
1370 2003-02-08 Paul Brook <paul@nowt.org>
1372 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1373 * io/close.c (st_close): Return void.
1374 * io/open.c (st_open): Return void.
1375 * libgfor.h (g95_array_char): Declare.
1376 (internal_malloc_size): Ditto.
1377 (internal_pack*, internal_unpack*): Ditto.
1378 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1380 * m4/in_unpack.m4: Include file fixes.
1381 * m4/reshape.m4: Increment the correct source pointer.
1382 * Makefile.am (maxloc): Fix typo.
1383 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1384 storage if neccessary. Fix logic for packed arrays.
1385 * runtime/in_unpack_generic.c: Call optimized functions.
1386 * runtime/main.c: Use runtime_error to report errors.
1387 * memory.c (internal_malloc_size): Make non-static.
1389 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1391 * reshape_packed.c, lock.c: Add #include <string.h>.
1392 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1393 environ.c, error.c, memory.c, string.c: Add const.
1394 * error.c (show_locus): Add void.
1396 2003-02-21 Paul Brook <paul@nowt.org>
1398 * m4/in_pack.m4: Avoid returning const * parameter.
1399 * Makefile.am: Only regenerate files in maintainer mode.
1401 2003-02-20 Paul Brook <paul@nowt.org>
1403 Add array repacking support functions.
1404 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1405 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1406 * Makefile.am: Build them. Regenerate configury files.
1407 * generated/: New directory for generated files (need to move
1408 everything else there).
1410 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1412 * m4/cexp.m4: Fix typo.
1414 2003-01-26 Paul Brook <paul@nowt.org>
1416 * intrinsics/: Add missing generated files.
1418 2003-01-26 Paul Brook <paul@nowt.org>
1420 * Makefile.am: Put -I before the filename.
1422 2003-01-24 Paul Brook <paul@nowt.org>
1424 * configure.in: Add AM_MAINTAINER_MODE.
1426 2003-01-23 Paul Brook <paul@nowt.org>
1428 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1430 Also regenerate other configury files.
1432 2003-01-21 Paul Brook <paul@nowt.org>
1434 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1436 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1438 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1439 Don't include "alloca.h".
1441 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1443 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1444 * Makefile.am: Adjust file name.
1445 * Makefile.in: Regenerate.
1446 * gfortypes.h: Kill, include everything in...
1447 * libgfor.h: ...here. Include config.h
1448 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1449 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1450 intrinsics/reshape_packed.c, intrinsics/size.c,
1451 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1452 for prefix for all functions instead of hardcoded.
1454 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1456 * io/lock.c (library_end): Propagate library return
1459 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1461 Port fixes from Andy's tree:
1462 * io/read.c (read_decimal): Reverse sense of overflow
1463 comparison during integer reads.
1464 * io/format.c (revert): Fix comment.
1465 (next_format): Fix format revision.
1466 * io/unix.c: Fix and simplify mmap version of stream
1469 2003-01-11 Paul Brook <paul@nowt.org>
1471 * configure, Makefile.in: Regenerate.
1473 2003-01-11 Paul Brook <paul@nowt.org>
1475 * runtime/stop.c: Rewrite.
1477 2003-01-08 Paul Brook <paul@nowt.org>
1479 * configure, Makefile.in: Regenerate.
1481 2003-01-05 Paul Brook <paul@nowt.org>
1483 * (*.m4) Move to m4/.
1484 * intrinsics/string.c (_gfor_string_index): New Function.
1486 2002-12-29 Paul Brook <paul@nowt.org>
1488 * intrinsics/reshape.*: New files.
1489 * gcc_config.patch: Update to new GCC configure system.
1491 2002-10-10 Paul Brook <paul@nowt.org>
1493 * intrinsics/size.c: New file.
1494 * intrinsics/shape.m4: New file.
1495 * Makefile.am: Add above files.
1497 2002-10-02 Paul Brook <paul@nowt.org>
1499 * fmain.c (main): Move here.
1500 * libgfor.c: From here.
1501 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1502 * Makefile.am: Build libgforbegin.
1503 * gcc_config.patch: Remove stray -march=athlon.
1504 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1505 * ifunction.m4: Move variable declarations to allow compilation with
1507 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1508 * README: Document use of patch -p1.
1510 2002-09-12 Paul Brook <paul@nowt.org>
1512 * math/*: Add complex math library functions.
1513 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1514 * Makefile.am: Add details for above.
1515 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1517 2002-09-09 Paul Brook <paul@nowt.org>
1519 * libgfor.c (determine_endianness): Use an array rather than a struct.
1520 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1522 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1524 * libgfor.c: Add fatal signal handler.
1525 Romove superfluous abort() calls.
1527 2002-09-07 Paul Brook <paul@nowt.org>
1529 * Makefile.am, intrinsics: Major rewrite.
1531 2002-09-02 Paul Brook <paul@nowt.org>
1533 * Makefile.am: Added -I$(srcdir) to m4 rule.
1535 2002-08-30 Paul Brook <paul@nowt.org>
1537 * io/*: Integrated libgforio.
1538 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1539 intrinsics in the intrisics directory.
1540 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1541 filename. Add 'and' and 'all' intrinsics.
1543 2002-08-17 Paul Brook <paul@nowt.org>
1545 * ALL: First release as more than just a single file