OSDN Git Service

2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index dd38a89..773f806 100644 (file)
@@ -1,6 +1,125 @@
+2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/25828
+       * libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
+       * io/file_pos.c (st_backspace): Ignore if access=STREAM.
+       (st_rewind): Handle case of access=STREAM.
+       * io/open.c (access_opt): Add STREAM_ACCESS.
+       (edit_modes): Set current_record to zero only if not STREAM.
+       (new_unit): Initialize maxrec, recl, and last_record for STREAM.
+       * io/read.c (read_x): Advance file position for STREAM.
+       * io/io.h (enum unit_access): Align IOPARM flags with frontend.
+       Add ACCESS_STREAM. Add prototype for is_stream_io () function.
+       Use GFC_IO_INT.
+       * io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
+       * io/unit.c (is_stream_io): New function to return true if access =
+       STREAM.
+       * io/transfer.c (file_mode): Add modes for unformatted stream and
+       formatted stream. (current_mode): Return appropriate file mode based
+       on access flags.
+       (read_block): Handle formatted stream reads.
+       (read_block_direct): Handle unformatted stream reads.
+       (write_block): Handle formatted stream writes.
+       (write_buf): Handle unformatted stream writes.
+       (unformatted_read): Fix up, use temporary for size.
+       (pre_position): Position file for STREAM access.
+       (data_transfer_init): Initialize for stream access, skip irrelevent
+       error checks.
+       (next_record_r),(next_record_w), and (next_record): Do nothing for
+       stream I/O.
+       (finalize_transfer): Flush when all done if stream I/O.
+
+2006-08-12  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * intrinsics/bessel.c: Add prototypes for all functions.
+
+2006-08-05  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * intrinsics/access.c (access_func): Remove export directive.
+
+2006-08-02  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       * Makefile.in:  Regenerate using automake 1.9.6.
+       * aclocal.m4:  Revert to previous version.
+
+2006-08-01  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR libfortran/28452
+       * Makefile.am:  Remove normalize.c.
+       * aclocal.m4:  Regenerate using aclocal 1.9.3.
+       * Makefile.in:  Regenerate using automake 1.9.3.
+       * libgfortran.h:  #include <float.h>.
+       Define GFC_REAL_*_DIGITS and GFC_REAL_*_RADIX.
+       Remove prototypes for normalize_r4_i4 and normalize_r8_i8.
+       * intrinsics/random.c (top level): Add prototypes for
+       random_r10, arandom_r10, random_r16 and arandom_r16.
+       (rnumber_4):  New static function.
+       (rnumber_8):  New static function.
+       (rnumber_10): New static function.
+       (rnumber_16): New static function.
+       (top level):  Set to kiss_size to 12 if we have
+       REAL(KIND=16), to 8 otherwise.
+       Define KISS_DEFAULT_SEED_1, KISS_DEFAULT_SEED_2 and
+       KISS_DEFAULT_SEED_3.
+       (kiss_random_kernel):  Take argument to differentiate
+       between different random number generators.
+       (random_r4):  Add argument to call to kiss_random_kernel,
+       use rnumber_*.
+       (random_r8):  Likewise.
+       (random_r10):  New function.
+       (random_r16):  New function.
+       (arandom_r4):  Add argument to call to kiss_random_kernel,
+       use_rnumber_*.
+       (arandom_r8):  Likewise.
+       (arandom_r10):  New function.
+       (arandom_r16):  New function.
+       * intrinsics/rand.c (rand):  Use shift and mask.
+       * runtime/normalize.c:  Remove.
+
+2006-07-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/28335
+       * file_position.c (st_flush): Add clearer error when UNIT does not
+       exist. Add reference to standard in comment.
+
+2006-07-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/28335
+       * close.c (st_close): Revert previous patch and add comment.
+       * file_position.c (st_flush): Revert previous patch and add comment.
+
+2006-07-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * intrinsics/date_and_time.c: Add functions for GMTIME and LTIME.
+       * intrinsics/access.c: New file.
+       * intrinsics/chmod.c: New file.
+       * configure.ac: Add checks for <sys/wait.h>, access, fork,execl
+       and wait.
+       * Makefile.am: Add new files intrinsics/access.c and
+       intrinsics/chmod.c.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+       * Makefile.in: Regenerate.
+
+2006-07-30  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * io/transfer.c (transfer_array): Remove stride0 fix.
+       
+2006-07-26  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * configure.ac: Check for function clock.
+       * Makefile.am: Compile new file intrinsics/clock.c.
+       * intrinsics/clock.c: New file.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+       * intrinsics/stat.c: Rename the old stat_i?_sub functions to
+       helper functions stat_i?_sub_0, and use them for both STAT and
+       LSTAT.
+
 2006-07-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
-       PR libgfortran/258335
+       PR libgfortran/28335
        * close.c (st_close): Add error when UNIT does not exist.
        * file_position.c (st_flush): Add error when UNIT does not exist.