1 2004-12-02 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
4 * io/transfer.c (unformatted_read, unformatted_write): width of
5 a COMPLEX is twice its kind.
7 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
9 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
10 * configure, aclocal.m4, Makefile.in: Regenerate.
12 2004-12-02 Bud Davis <bdavis9659@comcast.net>
15 * io/unix.c (fd_alloc_w_at): Update file_length when extending.
16 * io/backspace.c (formatted_backspace): Reset endfile after backspace.
18 2004-12-02 Bud Davis <bdavis9659@comcast.net>
20 * io/inquire.c (inquire_via_unit): do not allow a direct access
21 file to be opened for sequential I/O.
23 2004-12-02 Steven G. Kargl <kargls@comcast.net>
24 Paul Brook <paul@codesourcery.com>
26 * intrinsics/flush.c: New file.
27 * intrinsics/fnum.c: ditto
28 * intrinsics/stat.c: ditto
29 * io/io.h (unit_to_fd): Add prototype.
30 * io/unix.c (unit_to_fd): New function.
31 * configure.ac: Add test for members of struct stat. Check for
32 sys/types.h and sys/stat.h
33 * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
34 * configure.in: Regenerate.
35 * config.h.in: Regenerate.
36 * Makefile.in: Regenerate.
38 2004-12-01 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
40 * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I.
42 2004-11-28 Bud Davis <bdavis9659@comcast.net>
44 * io/unix.c (mmap_alloc_w_a): check for a write to a location
45 less than the mapped area.
47 2004-11-27 Bud Davis <bdavis9659@comcast.net>
50 * io/endfile.c (st_endfile): flush the stream before truncating.
52 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
54 * configure: Regenerate for libtool change.
56 2004-11-22 Steven Bosscher <stevenb@suse.de>
59 * configure.ac: Check for finite in libm.
60 * libgfortran.h: Define isfinite macro if not defined.
61 * intrinsics/c99_functions.c: Use defined(fpclassify) instead of
63 * io/write.c (write_float): Use isfinite instead of finite.
64 * configure, config.h.in: Rebuilt.
66 2004-11-20 Roger Sayle <roger@eyesopen.com>
68 * io/write.c (write_float, list_formatted_write): Fix indentation.
70 2004-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
73 * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
74 * configure.ac: Include LIBGFOR_TARGET_ILP32.
75 * configure: Regenerate.
76 * config.h.in: Likewise.
77 * libgfortran.h: Provide default definitions for C99 types
78 on ILP32 targets that don't have them.
81 * configure.ac: Check for snprintf.
82 * configure: Regenerate.
83 * config.h.in: Likewise.
84 * intrinsics/date_and_time.c (date_and_time): Do not
85 use snprinf if it is not available.
86 * io/write.c (output_float): Likewise.
88 2004-11-20 Steven G. Kargl <kargls@comcast.net>
90 * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
91 * Makefile.in: Regenerated
92 * intrinsics/umask.c: New file
93 * intrinsics/unlink.c: ditto
94 * intrinsics/exit.c: ditto
96 2004-11-18 Victor Leikehman <lei@il.ibm.com>
98 * m4/matmul.m4: Loops reordered to improve cache behavior.
99 * generated/matmul_??.c: Regenerated.
101 2004-11-10 Paul Brook <paul@codesourcery.com>
104 * configure.ac: Check for strtof.
105 * configure: Regenerate.
106 * config.h.in: Regenerate.
107 * io/read.c (convert_real): Use strtof if available.
108 (convert_precision_real): Remove.
109 (read_f): Avoid poor exponentiation algorithm.
111 2004-11-05 Andreas Schwab <schwab@suse.de>
113 * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
114 AC_PROG_F77, F77 and FFLAGS.
115 * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
116 FCCOMPILE instead of F77COMPILE.
117 * configure, Makefile.in: Regenerate.
119 2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
121 * acinclude.m4: Properly quote AC_CACHE_CHECK.
122 * Makefile.am: Add in ACLOCAL_AMFLAGS.
123 * aclocal.m4, configure, Makefile.in: Regenerate.
125 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
127 * config.h.in: Regenerate.
128 * configure: Regenerate.
129 * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
130 * io/unix.c (S_IRGRP): Define if undefined.
134 (tempfile): Use mktemp if mkstemp missing, fix typos.
136 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
138 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
140 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
142 * intrinsics/rand.c (irand): Handle NULL argument.
144 2004-10-07 Paul Brook <paul@codesourcery.com>
146 * io/transfer.c (finalize_transfer): Free internal streams.
147 * io/unix.c (mem_close): Free stream object.
149 2004-10-07 Paul Brook <paul@codesourcery.com>
151 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
154 2004-10-06 Paul Brook <paul@codesourcery.com>
157 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
159 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
161 * intrinsics/mvbits.c: Commit the file.
163 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
166 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
167 if not done by caller.
168 (__pack_s): New function.
169 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
170 allocating zero memory.
173 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
174 * Makefile.in: Regenerate.
175 * intrinsics/mvbits.h: New file.
178 * intrinsics/system.c: New file.
179 * Makefile.am: Add dependency for the new file.
180 * Makefile.in: Regenerate.
182 2004-10-04 Paul Brook <paul@codesourcery.com>
183 Bud Davis <bdavis9659@comcast.net>
187 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
189 * io/write.c (output_float): Don't output minus zero.
191 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
193 * intrinsics/abort.c ("libgfortran.h"): Move.
194 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
195 * intrinsics/write.c ("libgfortran.h"): Same.
197 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
200 * config.h.in (HAVE_POWF): Undefine.
201 * configure.ac: Check for 'powf' in library.
202 * configure: Regenerate.
203 * intrinsics/c99_functions.c (powf): New function.
205 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
207 * intrinsics/etime.c (etime_): New function.
209 2004-09-21 Steven G. Kargl <kargls@comcast.net>
211 * libgfortran.h: define gfc_alloca()
212 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
214 2004-09-21 Bud Davis <bdavis9659@comcast.net>
217 * io/list_read.c (namelist_read): ignore spaces after
218 the '=' for namelist reads.
220 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
222 * config.h.in: Regenerate.
223 * configure: Regenerate.
224 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
225 * unix.c: Include stdio.h.
226 (HAVE_SYS_MMAN_H): Check.
227 (PROT_READ, PROT_WRITE): Provide default definitions.
229 2004-09-15 Steven G. Kargl <kargls@comcast.net>
231 * intrincics/getcwd.c: New file.
232 * Makefile.am: Add getcwd.c.
233 * Makefile.in: Regenerated.
235 2004-09-15 Steven G. Kargl <kargls@comcast.net>
236 Paul Brook <paul@codesourcery.com>
238 * intrinsics/env.c (getenv, get_environmental_variable): Remove
239 trailing white space. Use alloca. Honour trim_name.
241 2004-09-13 Bud Davis <bdavis9659@comcast.net>
245 * io/list_read.c (list_formatted_read): Handle trailing spaces
248 2004-09-06 Steven G. Kargl <kargls@comcast.net>
250 * io/write.c (output_float): Typo in comment. Remove debugging
251 printf. Fix format for FP of form 1e10.
253 2004-09-03 Richard Henderson <rth@redhat.com>
255 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
256 copy_loop_double, copy_loop_ldouble): New.
257 (__cshift0): Make shift type ssize_t. Use % operator instead of
258 div. Use specialized versions of copy loop depending on the shape.
260 2004-09-02 Paul Brook <paul@codesourcery.com>
262 * io/format.c (parse_format_list): Set repeat count for P descriptors.
263 * write.c (output_float): Fix condition. Correctly handle nonzero
266 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
268 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
269 * mk-srk-inc.sh: Likewise.
271 2004-09-01 Paul Brook <paul@codesourcery.com>
273 * runtime/error.c (generate_error): Set both iostat and
276 2004-08-31 Paul Brook <paul@codesourcery.com>
279 * io/list_read.c (next_char): Don't signal EOF for internal files.
280 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
282 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
284 * io/unit.c: Separate copyright years by ','.
285 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
286 Remove blank line in beginning of function.
287 (get_unit): Simplify code.
289 2004-08-31 Paul Brook <paul@codesourcery.com>
291 * io/unit.c (get_unit): Remove superfluous if.
293 2004-08-31 Paul Brook <paul@codesourcery.com>
295 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
296 (finalize_transfer): Move setjmp after namlist IO.
297 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
299 2004-08-31 Paul Brook <paul@codesourcery.com>
301 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
303 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
305 * libgfortran.h: Replace 'gfc_strlen_type' by
306 'gfc_charlen_type'. Update comment accordingly.
307 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
308 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
310 2004-08-31 Paul Brook <paul@codesourcery.com>
312 * libgfortran.h: Add comments.
314 2004-08-30 Richard Henderson <rth@redhat.com>
316 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
317 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
318 (selected_int_kind.inc selected_real_kind.inc): New rules.
319 * Makefile.in: Regenerate.
320 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
321 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
322 include table of detected kinds.
323 * intrinsics/selected_real_kind.f90: Similarly.
325 2004-08-29 Steven G. Kargl <kargls@comcast.net>
326 Paul Brook <paul@codesourcery.com>
328 * intrinsics/bessel.c: New file.
329 * intrinsics/erf.c: New file.
330 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
331 * configure.ac: Test for C99 Bessel and Error functions.
332 * Makefile.in: Regenerate.
333 * config.h.in: Regenerate.
334 * configure: Regenerate.
336 2004-08-29 Steven G. Kargl <kargls@comcast.net>
337 Paul Brook <paul@codesourcery.com>
339 * Makefile.am: Add intrinsics/getXid.c.
340 * configure.ac: Add tests for get{g,p,u}id.
341 * config.h.in: Regenerate.
342 * Makefile.in: Regenerate.
343 * configure: Regenerate.
345 2004-08-28 Paul Brook <paul@codesourcery.com>
348 * libgfortran.h (rtoa): Remove prototype.
349 * runtime/error.c (rtoa): Remove.
350 * io/write.c (calculate_G_format): Don't add blanks if E format is
351 used. Add correct number of blanks when exponent width is specified.
352 (output_float): Rewrite.
354 2004-08-27 Paul Brook <paul@codesourcery.com>
356 * io/rewind.c (st_rewind): Reset unit to read mode.
358 2004-08-27 Bud Davis <bdavis9659@comcast.net>
361 * io/io.h: created typedef for unit_mode.
362 * io/io.h (gfc_unit): added mode to unit structure.
363 * io/transfer.c (data_transfer_init): flush if a write then
364 read is done on a unit (direct access files).
365 * io/rewind.c (st_rewind): Used unit mode instead of global.
367 2004-08-24 Bud Davis <bdavis9659@comcast.net>
370 * runtime/error.c (itoa): keep from overflowing during
371 mod operation by using unsigned variable.
373 2004-08-24 Bud Davis <bdavis9659@comcast.net>
376 * runtime/string_intrinsics.c (string_index):check for
377 substring longer than string.
379 2004-08-24 David Edelsohn <edelsohn@gnu.org>
381 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
382 * Makefile.in: Rebuilt.
384 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
386 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
387 Fix formatting issues, update copyright years.
389 2004-08-21 Bud Davis <bdavis9659@comcast.net>
392 * io/transfer.c (next_record_w): Do not blank pad.
393 * io/transfer.c (next_record): Take into account partial records.
395 2004-08-18 Victor Leikehman <lei@il.ibm.com>
398 * io/transfer.c (st_set_nml_var)
399 * io/write.c (namelist_write): Allow var_name and var_name_len to be
400 null. For strings, use string_length field instead of len.
401 * io/io.h (struct namelist_type): New field string_length.
402 (st_set_nml_var_char): New argument string_length.
404 2004-08-13 Bud Davis <bdavis9659@comcast.net>
407 * io/open.c (st_open): use flags instead of the unit structure.
409 2004-08-10 Victor Leikehman <lei@il.ibm.com>
411 * io/list_read.c (namelist_read): Convert variable names
412 to lower case, so that mixed-case names are recognized.
413 Don't read beyond terminating slash.
415 2004-08-09 Richard Henderson <rth@redhat.com>
416 Roger Sayle <roger@eyesopen.com>
418 * intrinsics/c99_functions.c (nextafterf): New implementation that
419 works correctly with denormalized numbers.
421 2004-08-09 Victor Leikehman <lei@il.ibm.com>
423 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
424 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
425 Allocate space if return value has NULL in its data field.
426 * generated/*.c: Regenerate.
428 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
430 * intrinsics/env.c: New file.
431 * Makefile.am: Add env.c to build.
432 * Makefile.in: Regenerate.
434 2004-08-05 Victor Leikehman <lei@il.ibm.com>
437 * io/read.c (read_radix): Understand letters f and F as hex digits.
439 2004-08-04 Victor Leikehman <lei@il.ibm.com>
441 * libgfortran.h (array_t, size0) New declarations.
442 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
443 space if return value descriptor has NULL in its data field,
444 and initialize bounds and stride.
445 * intrinsics/size.c (array_t, size0): Declarations moved to
447 * generated/*.c: Regenerate.
449 2004-08-03 Roger Sayle <roger@eyesopen.com>
452 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
453 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
454 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
455 * config.h.in: Regenerate.
456 * configure: Regenerate.
458 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
459 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
460 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
461 implementations for targets that don't support C99 float functions.
463 2004-08-01 Roger Sayle <roger@eyesopen.com>
465 * io/write.c (write_float): Use the slightly more portable isnan
466 in preference to isinf.
468 2004-07-18 Bud Davis <bdavis9659@comcast.net>
470 * configure.ac: Add check for LFS support.
471 * configure: Regenerate
473 2004-07-11 Paul Brook <paul@codesourcery.com>
476 * m4/cexp.m4 (carg): Return -pi to pi.
477 * generated/exp_c?.c: Regenerate.
479 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
482 * libgfortran/io/write.c: (write_float): Added length check.
483 Remove pointless memset calls.
485 2004-07-04 Bud Davis <bdavis9659@comcast.net>
486 Paul Brook <paul@codesourcery.com>
489 * io/transfer.c(us_write): set recl for seq unform writes to max size.
490 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
491 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
493 * io/unix.c(is_seekable): set based upon the file/device, not the
494 method being used to access it (fd or mmap).
495 * io/unix.c(fd_flush): don't set file_size if !seekable.
496 * io/unix.c(fd_truncate: ditto.
498 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
499 Paul Brook <paul@codesourcery.com>
503 * libgfortran.h (gfc_strlen_type): Define.
504 * intrinsics/args.c (getarg): Rename ...
505 (getarg_i4): ... to this.
506 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
507 get_command_i4, get_command_i8): New functions.
509 2004-07-04 Matthias Klose <doko@debian.org>
511 * libtool-version: New.
512 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
513 * Makefile.in: Regenerate.
514 * configure.ac: Remove libtool_VERSION macro
515 * configure: Regenerate
517 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
518 Steven Bosscher <stevenb@suse.de>
520 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
523 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
524 Paul Brook <paul@codesourcery.com>
526 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
528 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
530 2004-06-27 Bud Davis <bdavis9659@comcast.net>
533 * io/write.c (write_float): check signbit for Infinity.
535 2004-06-26 Bud Davis <bdavis9659@comcast.net>
538 * unix.c(regular_file): create file if it does not exist.
540 2004-06-24 Andrew Pinski <apinski@apple.com>
542 * configure.ac: Remove check for libmx.
543 * configure: Regenerate.
545 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
548 * inquire.c (st_inquire): Add comment
549 * io.h (st_parameter): Add iolength.
550 (st_iolength, st_iolength_done): Declare.
551 * transfer.c (iolength_transfer, iolength_transfer_init,
552 st_iolength, st_iolength_done): New functions.
554 2004-06-21 Steven G. Kargl <kargls@comcast.net>
556 * etime.c (etime_sub): Remove array rank check;
557 Add check for sufficient space.
559 2004-06-19 Bud Davis <bdavis9659@comcast.net>
562 * io/list_read.c(set_value): fixed spelling.
564 2004-06-19 Bud Davis <bdavis9659@comcast.net>
567 * io/list_read.c(set_value): don't copy if the string is null.
569 2004-06-14 Bud Davis <bdavis9659@comcast.net>
572 * intrinsics/c99_functions.c: Use fpclassify if it exists.
574 2004-06-13 Paul Brook <paul@codesourcery.com>
576 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
577 * configure.ac: Add checks for nextafter and nextafterf.
578 * Makefile.in, config.h.in, configure: Regenerate.
579 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
580 * intrinsics/rand.c (rand): Use normalize_r4_i4.
581 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
582 (random_r8): Use normalize_r8_i8.
583 * runtime/normalize.c: New file.
585 2004-06-13 Steven G. Kargl <kargls@comcast.net>
586 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
588 * random.c: Fix several spelling and formatting mistakes in
590 (random_r8): Fix loop to make random numbers range in [0,1(.
593 2004-06-13 Steven G. Kargl <kargls@comcast.net>
595 * random.c (random_r4): Burn a random number.
596 (random_r8): fix infinite loop.
598 2004-06-12 Bud Davis <bdavis9659@comcast.net>
599 Steve Kargl <sgk@troutmask.apl.washington.edu>
602 * intrinsics/c99_functions.c: New file.
603 * Makefile.am: Add new file.
604 * configure.ac: Added test for round/roundf.
605 * Makefile.in: Regenerate.
606 * configure: Regenerate.
607 * configure.h.in: Regenerate.
609 2004-06-12 Steven G. Kargl <kargls@comcast.net>
611 * Makefile.am: Add rand.c and etime.c
612 * Makefile.in: Regenerated.
613 * aclocal.in: Regenerated.
614 * cpu_time.c (second_sub, second): New functions.
615 * rand.c (irand, rand, srand): New file.
616 * etime.c (etime_sub, etime): New file.
618 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
619 Steven Bosscher <stevenb@suse.de>
622 * intrinsics/date_and_time.c: New file.
623 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
624 * Makefile.in, aclocal.m4: Regenerate.
625 * libgfortran.h: Prototype date_and_time().
627 2004-06-12 Bud Davis <bdavis9659@comcast.net>
630 * intrinsics/args.c: Implement GETARG and IARGC.
631 * Makefile.am: Add it.
632 * Makefile.in: Regenerate.
634 2004-06-12 Bud Davis <bdavis9659@comcast.net>
637 * io/write.c(write_float): Format inf and nan IAW F2003.
639 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
642 * io/transfer.c (formatted_transfer): position is unique
643 for T and TL edit descriptors.
644 (data_transfer_init): set record length to size of internal
647 2004-06-09 Bud Davis <bdavis9659@comcast.net>
650 * io/backspace.c(st_backspace): call correct routine for
651 formatted and un-formatted units.
653 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
656 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
657 (lib_LTLIBRARIES): Rename to ...
658 (toolexeclib_LTLIBRARIES): this for multilib support.
659 * configure.in: Rename to ...
660 * configure.ac: this. Update to modern autoconf style, enable
661 multilibs, support --enable-version-specific-runtime-libs.
662 * Makefile.in: Regenerated.
663 * configure: Regenerated.
664 * aclocal.m4: Regenerated.
666 2004-05-30 Steven G. Kargl <kargls@comcast.net>
668 * libgfortran.h (random_seed): Update prototype.
669 * intrinsics/random.c: Disable old implementation and add new one.
671 2004-05-30 Andreas Jaeger <aj@suse.de>
673 * intrinsics/random.c: Include unistd.h for close and read
674 prototypes, remove unneeded inclusion of assert.h.
676 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
677 unneeded inclusion of assert.h.
679 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
682 * intrinsics/associated.c: Remove enum.
683 (associated): Replace TRUE/FALSE by 1/0.
685 2004-05-23 Steven G. Kargl <kargls@comcast.net>
687 * random.c (random_seed): Use correct variable.
689 2004-05-22 Steven G. Kargl <kargls@comcast.net>
691 * intrinsics/system_clock: New file.
692 * Makefile.am: Add intrinsics/system_clock.c.
693 * Makefile.in: Regenerate.
695 2004-05-21 Roger Sayle <roger@eyesopen.com>
697 * io/format.c (parse_format_list): Allow the comma after a string
698 literal to be optional.
700 2004-05-18 Paul Brook <paul@codesourcery.com>
701 Feng Wang <fengwang@nudt.edu.cn>
703 * Makefile.am (i_pow_c): Set it. Add build rule.
704 (gfor_built_src): Use it.
705 (m4_files): add m4/pow.m4.
706 * Makefile.in: Regenerate.
707 * m4/pow.m4: New file.
708 * generated/pow_*.c: Regenerate.
710 2004-05-18 Paul Brook <paul@codesourcery.com>
712 * Makefile.am: Remove references to types.m4.
713 * m4/iparm.m4: Merge with types.m4.
714 * m4/types.m4: Remove.
715 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
716 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
717 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
718 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
719 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
720 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
721 Update to use new iparm.m4.
722 * generated/*.c: Regenerate.
724 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
727 * gfortran.h (offset_t): Rename to ...
728 (gfc_offset): ... this.
729 * io/backspace.c (formatted_backspace, unformatted_backspace),
730 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
731 transfer.c (us_read, us_write, next_record_r, next_record_w),
732 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
733 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
734 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
735 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
736 occurences of offset_t by gfc_offset.
738 2004-05-16 Paul Brook <paul@codesourcery.com>
740 * io/format.c (write_real): Don't include padding in format.
742 2004-05-16 Paul Brook <paul@codesourcery.com>
744 * io/format.c (format_lex): Make c an int.
746 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
747 Paul Brook <paul@codesourcery.com>
749 * io/write.c (write_logical): Don't print extra blank.
750 (write_integer): Base field width on kind.
751 (list_formatted_write): Output initial blank.
753 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
755 * io/io.h (flush): Add prototype.
756 * io/transfer.c (finalize_transfer): Flush partial records.
757 * io/unix.c (flush): New function.
759 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
762 * io/io.h (unit_t): Rename to ...
764 (unit_root, current_unit, find_file, find_unit, get_unit): Now
766 (delete_file, insert_unit, close_unit): Argument now of type
768 * backspace.c (st_backspace), close.c (st_close), endfile.c
769 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
770 (test_endfile, edit_modes, new_unit, already_open, st_open),
771 rewind.c (st_rewind), transfer.c (current_unit), unit.c
772 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
773 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
774 get_unit, init_units, close_unit), unix.c (find_file0,
775 find_file, delete_file): Replace all occurences of unit_t by
778 2004-05-15 Bud Davis <bdavis9659@comcast.net>
781 * io/write.c (write_a): right justify A edit output.
783 2004-05-14 Bud Davis <bdavis9659@comcast.net>
786 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
787 * runtime/main.c(init): Call random_seed as part of MAIN init.
789 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
791 * io/format.c: (parse_format_list): No comma is required after
794 2004-05-13 Bud Davis <bdavis9659@comcast.net>
797 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
799 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
800 Steven Bosscher <stevenb@suse.de>
803 * libgfortran.h: Include <inttypes.h> if available.
805 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
807 * io/unix.c (MAP_FAILED): Define if missing.
808 (mmap_alloc): Cast MAP_FAILED to char *.
809 (mmap_open): Likewise.
811 2004-04-26 Bud Davis <bdavis9659@comcast.net>
813 * generated/_abs_i8.f90: New file.
814 * generated/_abs_c4.f90: New file.
815 * generated/_abs_c8.f90: New file.
816 * Makefile.am: Add them.
817 * Makefile.in: Regenerate.
819 2004-04-26 Bud Davis <bdavis9659@comcast.net>
822 * generated/_abs_i4.f90: New file.
823 * Makefile.am: Add it.
824 * Makefile.in: Regenerate.
826 2004-04-25 Bud Davis <bdavis9659@comcast.net>
829 * io/list_read.c(list_formatted_read): finish consuming the
830 spaces and seperators at eoln to get ready for next item.
832 2004-04-23 Bud Davis <bdavis9659@comcast.net>
835 * io/read.c(read_a): Handle field width > destination and no field width.
837 2004-04-22 Bud Davis <bdavis9659@comcast.net>
840 * io/format.c (format_item): gracefully handle a ')'
841 when it is the first character encountered in the string.
843 2004-04-11 Bud Davis <bdavis9659@comcast.net>
846 * io/transfer.c (next_record): Update last_record when
847 more than one record is written to a direct access file
848 with one write statement.
850 2004-04-11 Bud Davis <bdavis9659@comcast.net>
853 * io/transfer.c (next_record_w) : No '\n' if internal.
854 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
856 2004-04-11 Bud Davis <bdavis9659@comcast.net>
858 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
859 Will need to change this later to support direct access files > 2gb.
861 2004-04-03 Bud Davis <bdavis9659@comcast.net>
864 * io/transfer.c (next_record_r) : Skip to next record.
866 2004-04-03 Bud Davis <bdavis9659@comcast.net>
869 * io/transfer.c (next_record): Update last_record for DIRECT
871 2004-04-03 Bud Davis <bdavis9659@comcast.net>
874 * io/unix.c (find_file0): Use fd field of struct
876 2004-04-03 Bud Davis <bdavis9659@comcast.net>
879 * io/inquire.c (inquire_via_unit): Changed return string for
880 BLANK=NULL. Use correct variable for ACTION.
882 2004-04-01 Bud Davis <bdavis9659@comcast.net>
885 * io/read.c (read_f): Allow a decimal without a leading digit.
886 * io/write.c (output_float): remove a leading '0' to keep from
887 overflowing the field (F edit descriptor).
889 2004-04-01 Bud Davis <bdavis9659@comcast.net>
892 * io/open.c (new_unit),
893 * io/io.h : new_unit is now visible
894 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
895 * io/transfer.c (data_transfer_init): remove compile warnings.
896 * io/rewind.c (st_rewind): ftruncate if writing.
898 2004-03-24 Bud Davis <bdavis9659@comcast.net>
900 * write.c (write_l): Use extract_int for 'L' edit descriptor.
902 2004-03-24 Bud Davis <bdavis9659@comcast.net>
905 * io/io.h (global_t):
906 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
907 Move eof_jmp to a global structure.
908 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
910 2004-03-24 Bud Davis <bdavis9659@comcast.net>
912 * m4/cexp.m4 (csqrt): Actually use the passed value.
913 * generated/exp_c?.c: Regenerate.
915 2004-03-24 Bud Davis <bdavis9659@comcast.net>
918 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
919 * open.c (new_unit): Moved test for positioned direct access error.
920 (init_units): Corrected calculation of max records.
922 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
924 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
925 * Makefile.in: Regenerate.
926 * m4/dotprodc.m4: New file. Implement complex dot_product.
927 * m4/dotprod.m4: Delete the complex implementation.
928 * generated/dotprod_*: Update.
930 2004-02-07 Bud Davis <bdavis9659@comcast.net>
932 * transfer.c (write_constant_string): Do not delete H's in hollerith
935 2004-01-05 Andrew Pinski <apinski@apple.com>
937 * configure.in: Check for csin in -lmx also.
938 * configure: Regenerate.
940 2004-01-01 Paul Brook <paul@codesourcery.com>
942 * io/list_read.c (find_nml_node): Make static.
943 (match_namelist_name): Ditto.
944 * io/read.c (convert_precision_real): Make static, fix spelling.
945 * io/transfer.c (extract_real): Remove unused prototype.
946 (st_set_nml_var): Make static.
947 * io/write.c (extract_real): Make static.
949 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
951 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
953 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
955 * io/transfer.c (data_transfer_init): Give a runtime error for list
956 formatted reads and writes from/to files opened for unformatted IO.
958 2003-11-30 Paul Brook <paul@nowt.org>
960 * runtime/memory.c (push_context): Remove.
961 (pop_context): Remove.
962 * libgfortran.h: Remove prototypes.
964 2003-11-27 Paul Brook <paul@nowt.org>
966 * runtime/memory.c (deallocate): Nullify pointer after freeing.
968 2003-11-27 Paul Brook <paul@nowt.org>
970 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
971 * libgfortran.h: Ditto.
972 * m4/in_pack.m4: Ditto.
973 * runtime/in_pack_generic.c: Ditto.
974 * runtime/memory.c: Ditto.
976 2003-11-26 Richard Henderson <rth@redhat.com>
978 * m4/exponent.m4, m4/fraction.m4: New.
979 * m4/nearest.m4, m4/set_exponent.m4: New.
980 * generated/*: Update.
981 * Makefile.am: Add them.
982 (AM_CFLAGS): New. Use -std=gnu99.
983 * Makefile.in: Regenerate.
985 2003-11-08 Paul Brook <paul@nowt.org>
988 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
989 * m4/maxloc1.m4: Ditto.
990 * m4/minloc0.m4: Ditto.
991 * m4/minloc1.m4: Ditto.
992 * m4/ifunction.m4: Set return value for zero sized arrays.
993 * m4/iforeach.m4: Ditto.
994 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
995 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
996 * generated/*: Update.
998 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
1001 * io/list_read.c (eat_spaces): Treat tab as space.
1003 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
1005 * intrinsics/random.c: Add reference to paper containing algorithm.
1006 (random_seed): Extra error checking and proper handling of arrays.
1007 (arandom_r4, arandom_r8): Implement.
1009 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
1012 * runtime/memory.c (allocate_size): Allow allocation
1013 of zero-sized objects.
1015 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
1018 * open.c (new_unit): Open without a file name opens
1019 a file with name fort.<unit>.
1021 2003-10-12 Feng Wang <wf_cs@yahoo.com>
1023 * intrinsics/cshift0.c: New file.
1024 * m4/cshift1.m4: New file
1025 * generated/cshift*.c: New files.
1026 * Makefile.am: Add them.
1027 * Makefile.in: Regenerate.
1029 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
1031 * io/list_read.c (read_character): Remove unwanted call to free_saved.
1033 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
1035 * intrinsics/string_intrinsics.c (string_trim): New function.
1036 (string_repeat): New function.
1038 2003-10-11 Paul Brook <paul@nowt.org>
1040 * intrinsics/dprod_r8.f90: New file.
1041 * Makefile.am (gfor_specific_src): Add it.
1042 (gfor_built_specific_src): Rename from gfor_build_specific_c.
1044 (gfor_specific2_src): Rename from gfor_built_specific2_c.
1046 * Makefile.in: Regenerate.
1047 * generated/_aint_*.f90: New files.
1048 * generated/_anint*.f90: New files.
1049 * generated/_atan2*.f90: New files.
1050 * generated/_mod*.f90: New files.
1052 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
1054 * intrinsics/selected_kind.f90: New file.
1055 * Makefile.am: Add it.
1056 * Makefile.in: regenerate.
1058 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
1059 Paul Brook <paul@nowt.org>
1061 * intrinsics/random.c: New file.
1062 * Makefile.am (gfor_hemper_src): Add it.
1063 (gfor_specific_c): Fix typo.
1065 2003-09-19 Paul Brook <paul@nowt.org>
1067 * All: rename g95->gfc.
1069 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
1071 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
1073 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
1075 * io/write.c (write_float): Dectection of positive infinite number,
1076 Not a Number(NaN) and negative infinite number.
1077 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
1078 output a very_very small number ( < 0.1e-100 ).
1080 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
1082 * libgfortran.h (xtoa, itoa): Parameter modified.
1083 * io/io.h (namelist_info): Declaration to support namelist I/O
1084 (st_parameter): Add namelist related component
1085 (ionml, empty_internal_buffer, st_set_nml_var_int,
1086 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
1087 st_set_nml_var_log): Declaration
1088 (set_integer, set_integer): Parameter changed
1089 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
1091 (parse_format_list): Fix bug about FMT_SLASH
1092 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
1093 newly allocated saved_string
1094 (next_char): Add detection of End_Of_Line support
1095 (convert_integer): Now can process 64 bits interger
1096 (read_real): Bug fixed
1097 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1098 (match_namelist_name): New implemention
1099 * io/lock.c (ionml): New global variable
1100 (library_end): Free memory in ionml
1101 * io/open.c (st_open): Variable initializtion
1102 * io/read.c (max_value): 64 bits interger support
1103 (convert_precsion_real): New procedure to replace "strtod" with more
1105 (read_f, read_radix): Input bug fix
1106 * io/transfer.c: (sf_seen_eor): New static variable
1107 (read_sf): Zeroize base buffer; fix bugs: single read statement can
1108 not get input in mutli line when read from stdin
1109 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1111 (data_transfer_init): Clear internal buffer for Internel File I/O.
1112 Internal File now worked. Detect some error condition for namelist.
1114 (next_record_w): Internal file and Namelist I/O support.
1115 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1116 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1117 * io/unit.c (implicit_unit): Deletion
1118 (get_unit): Now cannot open a unit implicitly.
1119 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1121 (mem_alloc_r_at): Internal file I/O support added
1122 (empty_internal_buffer): New function
1123 * io/write.c (extract_int): Support 64 bits interger processing
1124 (output_float): Varibale initialization
1125 (write_float): Infinite real number detection.
1126 (write_int): 64 bits integer I/O support
1127 (write_decimal): New function to output decimal number
1128 (otoa, btoa): Better implemention and 64 bits interger support
1129 (namelist_write): New function
1130 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1133 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1135 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1136 get_mem ): Add attribute.
1137 * intrinsics/spread_generic.c (__spread): Fix spelling.
1138 * io/inquire.c (inquire_via_filename): Add const.
1139 * io/io.h (sys_exit): Add attribute.
1140 * io/io.h (move_pos_offset): Add move_pos_offset.
1141 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1142 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1143 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1144 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1145 write_z): Add const.
1146 * io/read.c (convert_real): Add const.
1147 * io/transfer.c (type_name): Add const.
1148 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1149 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1150 inquire_read, inquire_write, inquire_readwrite): Add const.
1151 * io/write.c (output_float): Remove unused variable.
1152 * io/write.c (write_a, extract_int, extract_real, output_float,
1153 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1154 write_e, write_f, write_en, write_es, write_logical, write_integer,
1155 write_character, write_real, write_complex): Add const.
1156 * runtime/error.c (rtoa): Remove unused variable.
1157 * runtime/select.c (select_string): Add const.
1158 * runtime/stop.c (stop_string): Add const.
1160 2003-08-10 Paul Brook <paul@nowt.org>
1162 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1163 (FFLAGS): Add -fno-underscoring.
1164 * Makefile.in: Regenerate.
1165 * intrinsics/abort.c: New file.
1167 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1169 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1170 * libgfortran.h (init, cleanup): Remove declarations.
1171 (set_args): Add declaration.
1172 * runtime/main.c (init, cleanup): Make them static, and give them
1173 the constructor and destructor attributes.
1174 (set_args): New function.
1176 2003-08-10 Paul Brook <paul@nowt.org>
1178 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1179 on which string is longest.
1181 2003-08-10 Paul Brook <paul@nowt.org>
1183 * Makefile.am (EXTRA_DIST): Remove old files.
1184 * Makefile.in: Regenerate.
1186 2003-07-26 Paul Brook <paul@nowt.org>
1188 Rename library to libgfortran.
1189 * libgfortran.h: Change prefix to _libgfortran_.
1191 2003-07-24 Paul Brook <paul@nowt.org>
1193 * configure.in: Don't pull in system libtool. Use toplevel
1196 2003-07-22 Paul Brook <paul@nowt.org>
1198 Regenerate all configury files.
1200 2003-07-09 Chun Huang <compiler@sohu.com>
1202 * intrinsics/string_intrinsic.c (string_scan): New function.
1203 (string_verify): New function.
1205 2003-06-25 Paul Brook <paul@nowt.org>
1207 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1208 (mem_seek): Don't bother setting physical_offset.
1210 2003-06-20 Paul Brook <paul@nowt.org>
1212 * libgfor.h (stop_numeric): Declare.
1213 * runtime/pause.c: New file.
1214 * Makefile.am: Add it.
1216 2003-06-08 Paul Brook <paul@nowt.org>
1218 * m4/cexp.m4 (cabs): Use correct typed version.
1219 (csqrt): New function.
1221 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1223 Spotted by Benjamin and Tobias:
1224 * io/list_read.c: Add Separator '\t'.
1225 (parse_real, read_real): Accept real values starting with an optional
1226 sign follows a decimal point.
1228 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1230 * Makefile.am: Don't put cmath objects in subdir.
1231 * configure.in: Rename MATHOBJ to MATH_OBJ.
1233 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1235 * intrinsics/associated.c: New file.
1236 * Makefile.am: Add it. Regenerate Makefile.in.
1237 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1238 G95_DESCRIPTOR_DTYPE.
1240 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1242 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1243 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1244 the scale_factor to 0 for F editing.
1246 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1248 * libgfor.h: Only include stdint.h if it exists.
1250 2003-05-07 Paul Brook <paul@nowt.org>
1252 * libgfor.h: Use stdint.h types.
1253 * intrinsics/ishift.c: Ditto.
1254 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1256 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1258 * libgfor.h (offsetof): Define if nobody else does.
1259 * runtime/memory.c (HEADER_SIZE): Use it.
1261 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1263 * configure.in: Require autoconf 2.54.
1265 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1266 Paul Brook <paul@nowt.org>
1268 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1270 * m4/transpose.m4: New file.
1271 * Makefile.am: Add them.
1272 Regenerate generated files.
1274 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1276 * io/format.c (parse_format_list): Allow 'X' without integer
1277 prefix. This is an extension. Interpretation is '1X'.
1279 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1281 * io/format.c (parse_format_list): Allow '0P'.
1283 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1285 * Makefile.in: Re-regenerate for automake 1.7.3.
1287 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1289 Port implementation for CHARACTER SELECT from Andy's tree.
1290 * runtime/select.c: New file
1291 * Makefile.am: Add it.
1292 * Makefile.in: Regenerate.
1294 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1296 * io/transfer.c (formatted_transfer): Modified
1297 * io/unix.c (move_pos_offset): New Function.
1298 * io/format.c (parse_format_list): Modified.
1300 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1302 * io/write.c (write_float,write_real): New implemention of
1303 FMT_G and default float editing.
1304 (calculate_exp,calculate_G_format,output_float): New Function.
1305 (write_float,write_real,write_logical): Modified
1306 * libgfor.h (default_rtoa): Remove Declaration.
1307 * runtime/error.c (default_rtoa): Remove Function.
1309 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1312 * io/write.c (extract_real): Add missing break statement.
1314 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1316 * cpu_time.c: Make sure we have a definition of HZ. Don't
1317 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1319 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1320 Paul Brook <paul@nowt.org>
1322 * configure.in: Check for process time headers and GETTIMEOFDAY.
1323 * makefile.am: Add intrinsics/cpu_time.c.
1324 * acinclude.m4: New file.
1325 * intrinsics/cpu_time.c: New file.
1326 * m4/dotprodl.m4: Fix typo.
1327 Regenerate generated files.
1329 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1331 * io/write.c (extract_real): Ouput floating point value.
1332 (write_float): New Function.
1333 (write_e, write_f, write_en, write_es): Modified
1334 * io/transfer.c (formatted_transfer): Modified.
1335 * libgfor.h (default_rtoa): Declaration.
1336 (rtoa): Declaration.
1337 * runtime/error.c (default_rtoa): New Function.
1338 (rtoa): New Function.
1340 2003-04-05 Paul Brook <paul@nowt.org>
1342 * intrinsics/spread_generic.c: New file.
1343 * Makefile.am: Add it. Regenerate Makefile.in.
1345 2003-03-29 Paul Brook <paul@nowt.org>
1347 * intrinsics/pack_generic.c: New file.
1348 * intrinsics/unpack_generic.c: New file.
1349 * Makefile.am: Add them. Regenerate Makefile.in.
1351 2003-03-25 Paul Brook <paul@nowt.org>
1353 * intrinsics/eoshift0.c: New file.
1354 * intrinsics/eoshift2.c: New file.
1355 * m4/eoshift1.m4: New file.
1356 * m4/eoshift3.m4: New file.
1357 * Makefile.am: Add them.
1358 * in_unpack_generic.c: Initialize src.
1359 Regenerate generated files.
1361 2003-03-14 Paul Brook <paul@nowt.org>
1363 * m4/shape.m4: Work properly with array temporaries.
1364 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1365 * runtime/in_pack_generic.c: Ditto.
1367 2003-03-12 Paul Brook <paul@nowt.org>
1369 * m4/shape.m4: Work properly with noncontiguous arrays.
1371 2003-03-08 Paul Brook <paul@nowt.org>
1373 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1374 * runtime/in_pack_generic.c: Ditto.
1376 2003-02-08 Paul Brook <paul@nowt.org>
1378 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1379 * io/close.c (st_close): Return void.
1380 * io/open.c (st_open): Return void.
1381 * libgfor.h (g95_array_char): Declare.
1382 (internal_malloc_size): Ditto.
1383 (internal_pack*, internal_unpack*): Ditto.
1384 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1386 * m4/in_unpack.m4: Include file fixes.
1387 * m4/reshape.m4: Increment the correct source pointer.
1388 * Makefile.am (maxloc): Fix typo.
1389 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1390 storage if neccessary. Fix logic for packed arrays.
1391 * runtime/in_unpack_generic.c: Call optimized functions.
1392 * runtime/main.c: Use runtime_error to report errors.
1393 * memory.c (internal_malloc_size): Make non-static.
1395 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1397 * reshape_packed.c, lock.c: Add #include <string.h>.
1398 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1399 environ.c, error.c, memory.c, string.c: Add const.
1400 * error.c (show_locus): Add void.
1402 2003-02-21 Paul Brook <paul@nowt.org>
1404 * m4/in_pack.m4: Avoid returning const * parameter.
1405 * Makefile.am: Only regenerate files in maintainer mode.
1407 2003-02-20 Paul Brook <paul@nowt.org>
1409 Add array repacking support functions.
1410 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1411 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1412 * Makefile.am: Build them. Regenerate configury files.
1413 * generated/: New directory for generated files (need to move
1414 everything else there).
1416 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1418 * m4/cexp.m4: Fix typo.
1420 2003-01-26 Paul Brook <paul@nowt.org>
1422 * intrinsics/: Add missing generated files.
1424 2003-01-26 Paul Brook <paul@nowt.org>
1426 * Makefile.am: Put -I before the filename.
1428 2003-01-24 Paul Brook <paul@nowt.org>
1430 * configure.in: Add AM_MAINTAINER_MODE.
1432 2003-01-23 Paul Brook <paul@nowt.org>
1434 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1436 Also regenerate other configury files.
1438 2003-01-21 Paul Brook <paul@nowt.org>
1440 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1442 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1444 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1445 Don't include "alloca.h".
1447 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1449 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1450 * Makefile.am: Adjust file name.
1451 * Makefile.in: Regenerate.
1452 * gfortypes.h: Kill, include everything in...
1453 * libgfor.h: ...here. Include config.h
1454 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1455 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1456 intrinsics/reshape_packed.c, intrinsics/size.c,
1457 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1458 for prefix for all functions instead of hardcoded.
1460 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1462 * io/lock.c (library_end): Propagate library return
1465 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1467 Port fixes from Andy's tree:
1468 * io/read.c (read_decimal): Reverse sense of overflow
1469 comparison during integer reads.
1470 * io/format.c (revert): Fix comment.
1471 (next_format): Fix format revision.
1472 * io/unix.c: Fix and simplify mmap version of stream
1475 2003-01-11 Paul Brook <paul@nowt.org>
1477 * configure, Makefile.in: Regenerate.
1479 2003-01-11 Paul Brook <paul@nowt.org>
1481 * runtime/stop.c: Rewrite.
1483 2003-01-08 Paul Brook <paul@nowt.org>
1485 * configure, Makefile.in: Regenerate.
1487 2003-01-05 Paul Brook <paul@nowt.org>
1489 * (*.m4) Move to m4/.
1490 * intrinsics/string.c (_gfor_string_index): New Function.
1492 2002-12-29 Paul Brook <paul@nowt.org>
1494 * intrinsics/reshape.*: New files.
1495 * gcc_config.patch: Update to new GCC configure system.
1497 2002-10-10 Paul Brook <paul@nowt.org>
1499 * intrinsics/size.c: New file.
1500 * intrinsics/shape.m4: New file.
1501 * Makefile.am: Add above files.
1503 2002-10-02 Paul Brook <paul@nowt.org>
1505 * fmain.c (main): Move here.
1506 * libgfor.c: From here.
1507 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1508 * Makefile.am: Build libgforbegin.
1509 * gcc_config.patch: Remove stray -march=athlon.
1510 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1511 * ifunction.m4: Move variable declarations to allow compilation with
1513 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1514 * README: Document use of patch -p1.
1516 2002-09-12 Paul Brook <paul@nowt.org>
1518 * math/*: Add complex math library functions.
1519 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1520 * Makefile.am: Add details for above.
1521 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1523 2002-09-09 Paul Brook <paul@nowt.org>
1525 * libgfor.c (determine_endianness): Use an array rather than a struct.
1526 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1528 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1530 * libgfor.c: Add fatal signal handler.
1531 Romove superfluous abort() calls.
1533 2002-09-07 Paul Brook <paul@nowt.org>
1535 * Makefile.am, intrinsics: Major rewrite.
1537 2002-09-02 Paul Brook <paul@nowt.org>
1539 * Makefile.am: Added -I$(srcdir) to m4 rule.
1541 2002-08-30 Paul Brook <paul@nowt.org>
1543 * io/*: Integrated libgforio.
1544 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1545 intrinsics in the intrisics directory.
1546 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1547 filename. Add 'and' and 'all' intrinsics.
1549 2002-08-17 Paul Brook <paul@nowt.org>
1551 * ALL: First release as more than just a single file