OSDN Git Service

2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index 105668e..56c5fcd 100644 (file)
@@ -1,3 +1,94 @@
+2007-07-21  Christopher D. Rickett  <crickett@lanl.gov>
+
+       PR fortran/32627
+       * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
+       for character/string arguments.
+       * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
+       the optional SHAPE arg to be any valid integer kind.
+       * libgfortran/gfortran.map: Add c_f_pointer_s0.
+       * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
+       character kind.
+       * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
+       c_f_pointer for complex and logical types.
+       * libgfortran/gfortran.map: Add c_f_pointer versions for logical
+       and complex types.
+
+2007-07-19  Christopher D. Rickett  <crickett@lanl.gov>
+
+       PR fortran/32600
+       * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
+       * libgfortran/intrinsics/iso_c_binding.h: Ditto.
+       * libgfortran/gfortran.map: Ditto.
+
+2007-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+           Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/32611
+       * runtime/compile_options.c (set_std): Remove.
+       (set_options): New function.
+       (init_compile_options): Add initialization for -fsign-zero option.
+       * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
+       _gfortran_set_options.
+       * libgfortran.h (compile_options_t): Add sign_zero field.
+       * io/write.c (output_float): Use the sign bit of the value to determine
+       if a negative sign should be emitted for zero values.  Do not emit the
+       negative sign for zero if -fno-sign-zero was set during compile.
+       
+2007-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/32752
+       * io/unix.c (unix_stream): Move buffer pointer adjacent to small_buffer.
+       * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
+       bytes_used to zero. Fix off by one error in calculation of pos and
+       skips. Eliminate duplicate pending_spaces check.
+
+2007-07-15  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/32357
+       * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
+       TOPOS arguments are C int.
+
+2007-07-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/32702
+       * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
+       (fd_alloc): If the number of bytes needed is greater than the default
+       BUFFER_SIZE, allocate a new buffer large enough.  Free the old buffer if
+       necessary. (fd_sfree): Restore use of buffer pointer.
+       (fd_close): Likewise. (fd_open): Likewise.
+       (init_error_stream): Likewise.
+       
+2007-07-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/32336
+       * m4/matmul.m4:  When the dimension of b is incorrect,
+       raise a runtime error instead of a failed assertion.
+       * generated/matmul_i1.c:  Regenerated.
+       * generated/matmul_i2.c:  Regenerated.
+       * generated/matmul_i4.c:  Regenerated.
+       * generated/matmul_i8.c:  Regenerated.
+       * generated/matmul_i16.c:  Regenerated.
+       * generated/matmul_r4.c:  Regenerated.
+       * generated/matmul_r8.c:  Regenerated.
+       * generated/matmul_r10.c:  Regenerated.
+       * generated/matmul_r16.c:  Regenerated.
+
+2007-07-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/32678
+       * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
+       to go negative.
+
+2007-07-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/32217
+       * intrinsics/unpack_generic.c:  If the destination array is
+       empty, return early.
+
+2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aclocal.m4: Regenerated.
+
 2007-07-04  David Edelsohn  <edelsohn@gnu.org>
 
        * configure.ac: SUBST CFLAGS.
 
        Restore collateral damage from ISO C Binding merge.
 
-        2007-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+       2007-06-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libgfortran/32456
        * io/unit.c (filename_from_unit): Don't use find_unit, instead search