OSDN Git Service

PR libfortran/47972
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index 35d398c..3a2db6d 100644 (file)
@@ -1,3 +1,66 @@
+2011-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/47972
+       * runtime/error.c (gf_strerror): Silence warning.
+
+2011-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/47970
+       * intrinsics/c99_functions.c (round): Move higher in the file.
+
+2011-11-07  Janne Blomqvist  <jb@gcc.gnu.org>
+
+        PR libfortran/45723
+        * io/open.c (new_unit): Don't check file size before attempting
+        seek.
+
+2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Makefile.am (AM_CPPFLAGS): Add
+       -I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
+       * Makefile.in: Regenerate.
+       * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
+       * configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+
+2011-11-01  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * io/io.h (next_available_newunit): Remove prototype.
+       * io/unit.h (next_available_newunit): Make variable static,
+       initialize it.
+       (init_units): Don't initialize next_available_newunit.
+       (get_unique_unit_number): Use atomic builtin if available.
+
+2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * io/inquire.c (inquire_via_unit): Check whether we're at the
+       beginning or end if the position is unspecified. If the position
+       is not one of the 3 standard ones, return unspecified.
+       * io/io.h (update_position): Remove prototype.
+       * io/transfer.c (next_record): Set the position to unspecified,
+       letting inquire figure it out more exactly when needed.
+       * io/unit.c (update_position): Remove function.
+
+2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * io/unix.h (struct stream): Add size function pointer.
+       (ssize): New inline function.
+       (file_length): Remove prototype.
+       * io/unix.c (raw_size): New function.
+       (raw_init): Initialize st.size pointer.
+       (buf_size): New function.
+       (buf_init): Initialize st.size pointer.
+       (open_internal): Likewise.
+       (open_internal4): Likewise.
+       (file_length): Remove function.
+       * io/file_pos.c (st_rewind): Use ssize instead of file_length.
+       * io/open.c (test_endfile): Likewise.
+       * io/transfer.c (data_transfer_init): Likewise.
+       (next_record_r): Likewise.
+       (next_record_w): Likewise.
+       * io/unit.c (update_position): Likewise.
+
 2011-10-31  Janne Blomqvist  <jb@gcc.gnu.org>
 
        * io/file_pos.c (st_rewind): Handle regular and special files