gcc/libgfortran/runtime
Janne Blomqvist f9bfed2243 string.c (compare0): Use gfc_charlen_type.
2009-04-08  Janne Blomqvist  <jb@gcc.gnu.org>

        * runtime/string.c (compare0): Use gfc_charlen_type.
        * runtime/error.c (gfc_itoa): Move to io/write.c
        (xtoa): Rename to gfc_xtoa.
        * runtime/backtrace.c (show_backtrace): Call gfc_xtoa.
        * intrinsics/cshift0.c (cshift0): Use index_type for shift arg.
        * intrinsics/date_and_time.c (date_and_time): Use index_type.
        (itime_i4): Likewise.
        (itime_i8): Likewise.
        (idate_i4): Likewise.
        (idate_i8): Likewise.
        (gmtime_i4): Likewise.
        (gmtime_i8): Likewise.
        (ltime_i4): Likewise.
        (ltime_i8): Likewise.
        * libgfortran.h (gfc_itoa): Remove prototype.
        (xtoa): Rename prototype to gfc_xtoa.
        * io/list_read.c (nml_read_obj): Use size_t for string length.
        * io/transfer.c (read_block_direct): Change nbytes arg from
        pointer to value.
        (unformatted_read): Minor cleanup, call read_block_directly properly.
        (skip_record): Use ssize_t.
        (next_record_w_unf): Avoid stell() call by calling sseek with SEEK_CUR.
        (iolength_transfer): Make sure to multiply before cast.
        * io/intrinsics.c (fgetc): Remove unnecessary variable.
        * io/format.c (format_hash): Use gfc_charlen_type.
        * io/write.c (itoa): Move from runtime/error.c:gfc_itoa, rename,
        make static.
        (write_i): Call with pointer to itoa.
        (write_z): Call with pointer to gfc_xtoa.
        (write_integer): Pointer to itoa.
        (nml_write_obj): Type cleanup, don't call strlen in loop.

From-SVN: r145758
2009-04-08 19:48:07 +03:00
..
backtrace.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
compile_options.c options.c (set_default_std_flags,gfc_init_options): Add comment: keep in sync with libgfortran. 2008-09-24 09:08:22 +02:00
convert_char.c select.c: Moved content to select_inc.c. 2008-05-18 12:00:20 +00:00
environ.c
error.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
fpu.c
in_pack_generic.c
in_unpack_generic.c re PR fortran/38887 (run-time abort for MVBITS with run-time zero sized array arguments) 2009-01-21 14:34:55 +01:00
main.c * runtime/main.c (store_exe_path): Don't crash if argv0 is NULL. 2008-12-06 18:07:43 +00:00
memory.c
pause.c
select_inc.c select.c: Moved content to select_inc.c. 2008-05-18 12:00:20 +00:00
select.c select.c: Moved content to select_inc.c. 2008-05-18 12:00:20 +00:00
stop.c
string.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00