+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/28335
+ * close.c (st_close): Add error when UNIT does not exist.
+ * file_position.c (st_flush): Add error when UNIT does not exist.
+
+2006-07-25 Paolo Bonzini <bonzini@gnu.org>
+
+ PR build/26188
+ * configure: Regenerate.
+
+2006-07-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/25289
+ * libgfortran.h: Add conditional definition of GFC_LARGE_IO_INT type.
+ * io/io.h (st_parameter_dt): Define rec as type GFC_LARGE_IO_INT.
+
+2006-07-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/28339
+ * io/transfer.c (next_record_w): Use next_array_record result to set
+ END_FILE. (write_block): Test for END_FILE before the next write occurs.
+ * io/unit.c (get_internal_unit): Initialize iunit->endfile for internal
+ unit.
+
+2006-07-19 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/27919
+ * m4/dotprodc.m4: Remove.
+ * m4/dotprodl.m4: Remove.
+ * m4/dotprod.m4: Remove.
+ * generated/dotprod_*.c: Remove.
+ * Makefile.am: Remove any references to dot_product
+ implementation.
+ * Makefile.in: Regenerated.
+
+2006-07-18 Paolo Bonzini <bonzini@gnu.org>
+
+ * configure: Regenerate.
+
+2006-07-15 Steven G. Kargl <kargls@comcast.net>
+
+ * intrinsics/etime.c: Remove etime_
+ * libtool-version: Bump from libgfortran.so.1 to libgfortran.so.2
+
+2006-07-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/28163
+ * intrinsics/string_intrinsics.c (copy_string): Remove function.
+
+2006-07-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/date_and_time.c (itime0,idate0,itime_i4,itime_i8,
+ idate_i4,idate_i8): New functions.
+
+2006-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27704
+ * runtime/error.c (notify_std): Pass common flags into function. Use
+ flags to show locus of error or warning.
+ * libgfortran.h: Add enum try. Add prototype for notify_std.
+ * io/open.c (edit_modes): Allow status="old" and add extension to
+ allow status="scratch"
+ *io/list_read.c (nml_read_obj): Update call to notify_std.
+ *io/io.h: Remove enum try and prototype for notify_std.
+ *io/transfer.c (read_sf): Update call to notify_std.
+ *io/format.c (parse_format_list): Update call to notify_std.
+
+2006-06-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/io.h: Move proto for unit_to_fd...
+ * libgfortran.h: ...here.
+
+2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/ierrno.c: Don't include "io/io.h".
+ * intrinsics/sleep.c: Likewise.
+ * intrinsics/perror.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/kill.c: Likewise.
+ * intrinsics/time.c: Likewise.
+ * intrinsics/fnum.c: Likewise.
+ * intrinsics/rename.c: Likewise.
+ * intrinsics/symlnk.c: Likewise.
+ * intrinsics/chdir.c: Likewise.
+ * intrinsics/link.c: Likewise.
+ * intrinsics/random.c: Don't include "io/io.h". Include <gthr.h>.
+ * intrinsics/rand.c: Likewise.
+
+2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/28094
+ * Makefile.am: Add _mod_r10.F90 and _mod_r16.F90.
+ * Makefile.in: Regenerate.
+ * generated/_mod_r10.F90: New file.
+ * generated/_mod_r16.F90: New file.
+
+2006-06-22 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26769
+ * Makefile.am: Add r4 and r8 versions of reshape and transpose.
+ * Makefile.in: Regenerate.
+ * generated/reshape_r4.c: New file.
+ * generated/reshape_r8.c: New file.
+ * generated/transpose_r4.c: New file.
+ * generated/transpose_r8.c: New file.
+
+2006-06-20 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/28005
+ * m4/matmul.m4: aystride = 1 does not uniquely detect the
+ presence of a temporary transpose; an array element in the
+ first dimension produces the same signature. Detect this
+ using the rank of a and add specific code.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-06-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR libgomp/27254
+ * io/unit.c (get_internal_unit): Initialize and lock thread mutex
+ for internal units.
+
+2006-06-06 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * m4/in_pack.m4: Add TODO comment about detecting temporaries,
+ remove test for stride 0, update copyright year.
+ * m4/transpose.m4: Remove test for stride 0, update copyright
+ year.
+ * m4/iforeach.m4: Likewise.
+ * m4/shape.m4: Likewise.
+ * m4/in_unpack.m4: Likewise.
+ * m4/reshape.m4: Likewise.
+ * m4/ifunction.m4: Likewise.
+ * m4/matmul.m4: Likewise.
+ * m4/matmull.m4: Likewise.
+ * intrinsics/etime.c: Likewise.
+ * intrinsics/transpose_generic.c: Likewise.
+ * intrinsics/spread_generic.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/reshape_generic.c: Likewise.
+ * intrinsics/random.c: Likewise.
+ * generated/*: Regenerated from above changed m4 files.
+
+2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27757
+ * io/unix.c (fd_seek): Set active to zero.
+
+2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27634
+ * io/format.c (parse_format_list): Allow missing period in format only
+ if -std=legacy.
+
+2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * intrinsics/string_intrinsics.c (compare_string):
+ Use memcmp instead of strncmp to avoid tripping over
+ CHAR(0) in a string.
+
+2006-05-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/io.h (find_or_create_unit): Correct export declaration.
+
+2006-05-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * intrinsics/abort.c (abort_): Remove.
+
+2006-05-26 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure.ac: Remove AC_FUNC_MMAP.
+ * configure: Regenerated.
+ * Makefile.in: Regenerated.
+ * config.h.in: Regenerated.
+ * aclocal.m4: Regenerated.
+
+2006-05-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/associated.c (associated): Zero-sized arrays should
+ not be reported as ASSOCIATED.
+
+2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
+
+ * Makefile.am: Add install-html target. Add install-html to .PHONY
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+
+2006-05-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/24459
+ * io/list_read.c (nml_parse_qualifier): Leave loop spec end value
+ at default value unless -std=f95 or if an array section
+ is specified in namelist input. Warn if -pedantic.
+ * io/io.h (st_parameter_dt): Add expanded_read flag.
+
+2006-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/22423
+ * io/transfer.c (read_block): Return NULL instead of nothing.
+
+2006-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27575
+ * io/transfer.c (read_block): Add check for end file condition.
+ (read_block_direct): Add check for end file condition.
+
+2006-05-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26985
+ * m4/matmul.m4: Correct the condition for the memset call,
+ and remove the unneeded call to size0.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27360
+ * io/list_read.c (read_logical): Free line_buffer and free saved.
+
+2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27304
+ * io/transfer.c (formatted_transfer_scalar): Generate error if data
+ descriptors are exhausted.
+ * io/format.c (next_format0): Fix comment.
+
+2006-04-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/20257
+ * io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
+ * io/unit.c (get_internal_unit): Initialize unit number, not zero.
+ (free_internal_unit): New function to consolidate freeing memory.
+ (get_unit): Initialize internal_unit_desc to NULL when unit is
+ external.
+ * io/unix.c (mem_close): Check for not NULL before freeing memory.
+ * io/transfer.c (read_block): Reset bytes_left and skip error if unit
+ is preconnected and default record length is reached.
+ (read_block_direct): Ditto.
+ (write_block): Ditto.
+ (write_buf): Ditto.
+ (data_transfer_init): Only flush if not internal unit.
+ (finalize_transfer): Ditto and delete code to free memory used by
+ internal units.
+ (st_read_done): Use new function - free_internal_unit.
+ (st_write_done): Use new function - free_internal unit.
+
+2006-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/26769
+ * Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
+ (i_reshape_c): Add generated/reshape_r16.c.
+ * Makefile.in: Regenerated.
+ * generated/transpose_r16.c: Generated new file.
+ * generated/redhape_r16.c: Generated new file.
+
+2006-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/27138
+ * io/list_read.c (eat_line): New function.
+ (parse_repeat): Use new function and free_saved.
+ (read_logical): Same.
+ (read_integer): Use new function.
+ (parse_real): Use nml_bad_return and new function.
+ (read_complex): Use new function and free_saved.
+ (read_real): Same.
+
2006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26766