OSDN Git Service

gcc/fortran:
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index 2b9e67e..0db6850 100644 (file)
@@ -1,3 +1,212 @@
+2007-12-25  Daniel Franke  <franke.daniel@gmail.com>
+
+       PR fortran/34533
+       * intrinsics/cpu_time.c: Moved code commonly usable for CPU_TIME,
+       DTIME and ETIME to ...
+       * intrinsics/time_1.h: ... here.
+       * intrinsics/dtime.c: New file.
+       * intrinsics/etime.c: Newly implemented using the common 
+       time-aquisition function from time_1.h.
+       * gfortran.map (_gfortran_dtime, _gfortran_dtime_sub): New.
+       * Makefile.am: Added new file.
+       * Makefile.in: Regenerated.
+       * configure: Regenerated.
+
+2007-12-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/34566
+       * m4/matmull.m4:  Multiply xstride and ystride by correct kind.
+       * generated/matmul_l4.c:  Regenerated.
+       * generated/matmul_l8.c:  Regenerated.
+       * generated/matmul_l16.c:  Regenerated.
+
+2007-12-19  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/34530
+       * io/list_read.c (eat_line): Move up in the file.
+       (eat_separator): In namelist mode, skip over comment lines.
+
+2007-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/34427
+       * io/list_read.c (read_real): Handle intervening line ends and spaces.
+       (get_name): Don't push separators to saved_string.
+       (eat_separator): If in namelist mode eat spaces and line ends as well.
+
+2007-12-13  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/34370
+       PR libfortran/34323
+       PR libfortran/34405
+       * io/io.h:  Add previous_nonadvancing_write to gfc_unit.
+       Add prototype for finish_last_advance_record.
+       * io/file_pos.c (st_backspace):  Generate error if backspace is
+       attempted for direct access or unformatted stream.
+       If there are bytes left from a previous ADVANCE="no", write
+       them out before performing the backspace.
+       (st_endfile):  Generate error if endfile is attempted for
+       direct access.
+       If there are bytes left from a previous ADVANCE="no", write
+       them out before performing the endfile.
+       (st_rewind):  Generate error if rewind is attempted for
+       direct access.
+       * unit.c (close_unit_1):  Move functionality to write
+       previously written bytes to...
+       (finish_last_advance_record):  ... here.
+       * transfer.c (data_transfer_init):  If reading, reset
+       previous_nonadvancing_write.
+       (finalize_transfer):  Set the previous_noadvancing_write
+       flag if we are writing and ADVANCE="no" was specified.
+       Only call next_record() if advance="no" wasn't specified.
+
+2007-12-13  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/34427
+       * io/list_read.c (read_real): Fix unwinding for namelists.
+
+2007-12-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/34411
+       * io/read.c (convert_real, read_l, read_decimal, read_radix, read_f):
+       Call next_record after bad read or overflow error.
+
+2007-12-09  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/34404
+       * io/list_read.c (parse_real): Remove superfluous "goto bad;".
+
+2007-12-08  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/34319
+       * io/list_read.c (parse_real, read_real): Support NaN/Infinity.
+
+2007-12-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+           Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/33985
+       * io/transfer.c (read_block, read_block_direct, write_block, write_buf):
+       Don't seek if file position is already there for STREAM I/O.
+       (finalize_transfer): For STREAM I/O don't flush unless the file position
+       has moved past the start position before the transfer.
+
+2007-12-01  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * intrinsic/stat.c (stat_i4_sub_0, stat_i8_sub_0): Mark parameter
+       with unused attribute.
+       * intrinsics/system_clock.c (system_clock_4, system_clock_8):
+       Remove unused variable.
+       * intrinsics/umask.c: Include unistd.h.
+
+2007-11-30  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/34291
+       * io/list_read.c (read_character): When reading an unquoted string,
+       return if special characters that could signify the end of the namelist
+       read are encountered.
+
+2007-11-29  Steven G. Kargl  <kargls@comcast.net>
+
+       PR libfortran/33583
+       * libgfortran/gfortran.map: Add tgammaf, tgamma, lgamma, and lgammaf.
+       * gfortran.dg/gamma_5.f90: Remove xfail.
+
+2007-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/33583
+       PR libfortran/33698
+       * intrinsics/c99_functions.c (tgamma, tgammaf, lgamma, lgammaf):
+       New fallback functions.
+       * c99_protos.h (tgamma, tgammaf, lgamma, lgammaf): New prototypes.
+       * configure.ac: Add checks for tgamma, tgammaf, tgammal, lgamma,
+       lgammaf and lgammal.
+       * config.h.in: Regenerate.
+       * configure: Regenerate.
+
+2007-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * mk-kinds-h.sh: Change sed syntax.
+
+2007-11-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33985
+       * io/transfer.c (finalize_transfer): Revert previous patch.
+       
+2007-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33985
+       * io/transfer.c (finalize_transfer): Do not flush for
+       unformatted STREAM I/O.
+
+2007-10-27  Tobias Burnus  <burnus@net-b.de>
+
+       * mk-kinds-h.sh: Change LANG=C to LC_ALL=C.
+
+2007-10-26  Tobias Burnus  <burnus@net-b.de>
+
+       * mk-kinds-h.sh: Add "LANG=C".
+
+2007-10-26  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
+       GFC_REAL_*_RADIX): Remove.
+       * mk-kinds-h.sh: Define GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS and
+       GFC_REAL_*_RADIX. Don't define GFC_REAL_LARGEST_FORMAT and
+       GFC_REAL_LARGEST.
+
+2007-10-19  Ben Elliston  <bje@au.ibm.com>
+
+       * intrinsics/signal.c (alarm_sub_i4): Mark conditionally unused
+       parameters with __attribute__ ((unused)).
+       (alarm_sub_i8): Likewise.
+       (alarm_sub_int_i4): Likewise.
+       (alarm_sub_int_i8): Likewise.
+
+2007-10-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+           Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33795
+       * libgfortran.h: Add unbuffered_preconnected.
+       * io/unix.c (output_stream): Set stream unbuffered flag if
+       options.unbuffered_preconnected has been set.
+       (error_stream): Ditto.
+       * runtime/environ.c (variable_table): Add to environment variable table
+       the entry: GFORTRAN_UNBUFFERED_PRECONNECTED. 
+       
+2007-10-18  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/32021
+       * runtime/backtrace.c (local_strcasestr): Protect by appropriate
+       macros.
+       * runtime/main.c (cleanup): Cast argument to free.
+       * intrinsics/spread_generic.c (spread_internal): Match runtime_error
+       arguments and format.
+       * intrinsics/signal.c (alarm_sub_int_i4, alarm_sub_int_i8): Cast
+       pointers to avoid warnings.
+
+2007-10-18  Ben Elliston  <bje@au.ibm.com>
+
+       * runtime/environ.c (init_choice): Remove unused function.
+       (show_choice): Likewise.
+       (choice): Remove.
+       (FP_ROUND_NEAREST, FP_ROUND_UP, FP_ROUND_DOWN, FP_ROUND_ZERO):
+       Remove.
+       (precision, signal_choices): Remove.
+
+2007-10-15 Christopher D. Rickett <crickett@lanl.gov>
+
+       PR fortran/32600
+       * libgfortran/intrinsics/iso_c_binding.c: Remove c_associated_1
+       and c_associated_2.
+       * libgfortran/intrinsics/iso_c_binding.h: Ditto.
+       * libgfortran/gfortran.map: Ditto.
+
+2007-10-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33055
+       * io/inquire.c (inquire_via_unit):  If inquiring by unit, check for
+       an error condition from the IOSTAT variable and set EXIST to false if
+       there was a bad unit number.
+
 2007-10-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libfortran/33672