X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=libgfortran%2FChangeLog;h=8b51599e3de65bb0919d0595d7960ee37f21f99e;hb=a60b76866580ee35baf3debb2b0e373cf1bcb25d;hp=4f2c6ceb3debd99504080ef4fb90a79c23944607;hpb=496e89e9c74af07ee538a11e84283424c343440e;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 4f2c6ceb3de..8b51599e3de 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,496 @@ +2006-09-29 Steven G. Kargl + + * intrinsics/cpu_time.c: Add cpu_time_10 and cpu_time_16 routines. + +2006-09-28 Francois-Xavier Coudert + + * Makefile.am: Install libgfortranbegin inside compiler libraries + directory instead of system libraries directory. + * Makefile.in: Regenerate. + +2006-09-24 Francois-Xavier Coudert + + * Makefile.am: Remove dependency on gfortypes.h. + * Makefile.in: Regenerate. + +2006-09-22 Danny Smith + + PR libfortran/27964 + * configure.ac: Check for setmode() function. + * configure: Regenerate. + * config.h.in: Regenerate. + * io/unix.c (output_stream): Force stdout to binary mode. + (error_stream): Force stderr to binary mode. + +2006-09-15 Jerry DeLisle + + PR libgfortran/29099 + * intrinsics/date_and_time.c (secnds): Fix case of zero time. + +2006-09-15 Jerry DeLisle + + PR libgfortran/29053 + * io.h (gfc_unit): Add variable, strm_pos, to track + STREAM I/O file position. + * file_pos.c (st_rewind): Set strm_pos to beginning. + * open.c (new_unit): Initialize strm_pos. + * read.c (read_x): Bump strm_pos. + * inquire.c (inquire_via_unit): Return strm_pos value. + * transfer.c (read_block),(read_block_direct),(write_block) + (write_buf): Seek to strm_pos - 1. Update strm_pos when done. + (pre_position): Initialize strm_pos. + (data_transfer_init): Set strm_pos if DT_HAS_REC. + (finalize_transfer): Flush file, no need to update strm_pos. + +2006-09-10 Paul Thomas + + PR libfortran/28947 + * m4/matmul.m4: For the case where the second input argument is + transposed, ensure that the case with rank (a) == 1 is + correctly calculated. + * 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-08-27 Jerry DeLisle + + PR libgfortran/28354 + * io/write.c: Check for special case of zero precision in format + and pre-round the real value. + +2006-08-15 Jerry DeLisle + + 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 + + * intrinsics/bessel.c: Add prototypes for all functions. + +2006-08-05 Francois-Xavier Coudert + + * intrinsics/access.c (access_func): Remove export directive. + +2006-08-02 Thomas Koenig + + * Makefile.in: Regenerate using automake 1.9.6. + * aclocal.m4: Revert to previous version. + +2006-08-01 Thomas Koenig + + 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 . + 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 + + 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 + + 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 + + * 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 , 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 + + * io/transfer.c (transfer_array): Remove stride0 fix. + +2006-07-26 Francois-Xavier Coudert + + * 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 + + 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 + + PR build/26188 + * configure: Regenerate. + +2006-07-23 Jerry DeLisle + + 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 + + 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 + + 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 + + * configure: Regenerate. + +2006-07-15 Steven G. Kargl + + * intrinsics/etime.c: Remove etime_ + * libtool-version: Bump from libgfortran.so.1 to libgfortran.so.2 + +2006-07-12 Francois-Xavier Coudert + + PR fortran/28163 + * intrinsics/string_intrinsics.c (copy_string): Remove function. + +2006-07-04 Francois-Xavier Coudert + + * intrinsics/date_and_time.c (itime0,idate0,itime_i4,itime_i8, + idate_i4,idate_i8): New functions. + +2006-07-03 Jerry DeLisle + + 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 + + * io/io.h: Move proto for unit_to_fd... + * libgfortran.h: ...here. + +2006-06-24 Francois-Xavier Coudert + + * 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 . + * intrinsics/rand.c: Likewise. + +2006-06-24 Francois-Xavier Coudert + + 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 + + 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 + + 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 + + PR libgomp/27254 + * io/unit.c (get_internal_unit): Initialize and lock thread mutex + for internal units. + +2006-06-06 Janne Blomqvist + + * 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 + + PR libgfortran/27757 + * io/unix.c (fd_seek): Set active to zero. + +2006-05-29 Jerry DeLisle + + PR libgfortran/27634 + * io/format.c (parse_format_list): Allow missing period in format only + if -std=legacy. + +2006-05-28 Thomas Koenig + + * 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 + + * io/io.h (find_or_create_unit): Correct export declaration. + +2006-05-27 Janne Blomqvist + + * intrinsics/abort.c (abort_): Remove. + +2006-05-26 Janne Blomqvist + + * configure.ac: Remove AC_FUNC_MMAP. + * configure: Regenerated. + * Makefile.in: Regenerated. + * config.h.in: Regenerated. + * aclocal.m4: Regenerated. + +2006-05-25 Francois-Xavier Coudert + + * intrinsics/associated.c (associated): Zero-sized arrays should + not be reported as ASSOCIATED. + +2006-05-24 Carlos O'Donell + + * Makefile.am: Add install-html target. Add install-html to .PHONY + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + +2006-05-20 Jerry DeLisle + + 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 + + PR libgfortran/22423 + * io/transfer.c (read_block): Return NULL instead of nothing. + +2006-05-16 Jerry DeLisle + + 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 + + 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 + + PR libgfortran/27360 + * io/list_read.c (read_logical): Free line_buffer and free saved. + +2006-04-28 Jerry DeLisle + + 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 + + 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 + + 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 + + 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 + + PR libgfortran/26766 + * io/io.h: Add bit to identify associated unit as internal. + * io/unit.c (get_external_unit): Renamed the find_unit_1 function to + reflect the external unit functionality vs internal unit. + (get_internal_unit): New function to allocate and initialize an internal + unit structure. + (get_unit): Use get_internal_unit and get_external_unit. + (is_internal_unit): Revised to use new bit added in io.h. + * io/transfer.c (data_transfer_init): Fix line width. + (st_read_done): Free memory allocated for internal unit. + (st_write_done): Add test to only flush and truncate when not an + internal unit. Free memory allocated for internal unit. + +2006-04-11 Jakub Jelinek + + * io/io.h (st_parameter_dt): Revert 2005-12-10 change to + u.pad, fix comment. + (check_st_parameter_dt): New compile time assert. + 2006-04-10 Jakub Jelinek PR libgfortran/24685 @@ -438,11 +931,11 @@ 2006-01-02 Paolo Bonzini - PR target/25259 - * configure.ac: Use GCC_HEADER_STDINT. - * libgfortran.h: Include gstdint.h. - * aclocal.m4: Regenerate. - * configure: Regenerate. + PR target/25259 + * configure.ac: Use GCC_HEADER_STDINT. + * libgfortran.h: Include gstdint.h. + * aclocal.m4: Regenerate. + * configure: Regenerate. 2006-01-01 Steven G. Kargl