OSDN Git Service

gcc/fortran:
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
index 4c92333..0db6850 100644 (file)
@@ -1,3 +1,310 @@
+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
+       * io/list_read.c (nml_parse_qualifier): Add character specific error
+       messages.  Check for proper form of sub-string qualifiers.  Return the
+       parsed_rank flag indicating a non-zero rank qualifier.
+       (nml_get_obj_data):  Count the instances of non-zero rank qualifiers.
+       Issue an error if more that one non-zero rank qualifier is found.
+
+2007-10-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33253
+       * io/list_read.c (read_character): Use line_buffer to scan ahead for
+       object name or string when no delimiter is found.
+
+2007-10-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/32021
+       * runtime/environ.c (init_mem, show_mem, init_round, show_round,
+       init_precision, show_precision, init_signal, show_signal): Remove.
+       (variable_table): Remove GFORTRAN_MEM_INIT, GFORTRAN_MEM_CHECK,
+       GFORTRAN_SIGHUP, GFORTRAN_SIGINT, GFORTRAN_FPU_ROUND and
+       GFORTRAN_FPU_PRECISION.
+       * libgfortran.h (options_t): Remove mem_check, fpu_round,
+       fpu_precision, sighup, sigint, allocate_init_flag and
+       allocate_init_value.
+
+2007-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33253
+       * io/list_read.c (read_character): Use DELIM_APOSTROPHE and DELIM_QUOTE
+       and quote value in check of first character in string.
+
+2007-10-02  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/33469
+       * io/write.c (write_real): Widen the default formats.
+
+2007-09-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33400
+       * io/list_read.c (next_char): Interpret encountering the end of file the
+       first time as an end of line.  Subsequent reads give EOF error.
+
+2007-09-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/33421
+       * io/list_read.c (read_character): Revert r128057.
+
+2007-09-21  Bernhard Fischer  <aldot>
+
+       PR fortran/31546
+       * (configure.ac): Add --enable-intermodule for onestep build.
+       * (Makefile.am): Handle onestep build.
+       * (configure, Makefile.in): Regenerate.
+
+2007-09-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/26253
+       * intrinsics/c99_functions.c (scalbn): Use ldexp if appopriate.
+
+2007-09-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/23272
+       * io/unix.c (id_from_handle, id_from_path, id_from_fd): New
+       functions.
+       (compare_file_filename, find_file, find_file0): Use the new
+       functions above.
+
+2007-09-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
+       * configure.ac: Don't call LIBGFOR_TARGET_ILP32.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+
+2007-09-15  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/21185
+       * runtime/compile_options.c (set_options): Fix typo.
+       * runtime/main.c (store_exe_path): If getcwd is not available,
+       don't use it.
+       * intrinsics/getcwd.c: Same thing here.
+       * io/unix.c (fallback_access): New fallback function for access.
+       (fix_fd): Don't use dup if it's not available.
+       * configure.ac: Check for dup and getcwd.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+
+2007-09-12  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * io/io.h: Include libgfortran.h first.
+
+2007-09-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/33386
+       * runtime/select.c (select_string): Initialize default_jump.
+
 2007-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libfortran/33307