gcc/libgfortran/intrinsics
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
..
abort.c
access.c
args.c
associated.c
c99_functions.c re PR libfortran/33595 (FAIL: gfortran.dg/nint_2.f90 -O0 execution test) 2009-03-28 21:15:45 +00:00
chdir.c
chmod.c
clock.c
cpu_time.c
cshift0.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
ctime.c
date_and_time.c string.c (compare0): Use gfc_charlen_type. 2009-04-08 19:48:07 +03:00
dprod_r8.f90 re PR fortran/36495 (libgfortran should be build with FCFLAGS -fimplicit-none) 2008-06-13 09:10:15 +02:00
dtime.c
env.c
eoshift0.c re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
eoshift2.c re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
erfc_scaled_inc.c
erfc_scaled.c
etime.c
exit.c
f2c_specifics.F90
fnum.c
gerror.c
getcwd.c
getlog.c
getXid.c
hostnm.c
ierrno.c
ishftc.c
iso_c_binding.c re PR fortran/32600 ([ISO Bind C] C_F_POINTER w/o SHAPE should not be a library function) 2008-05-25 19:52:03 +02:00
iso_c_binding.h re PR fortran/32600 ([ISO Bind C] C_F_POINTER w/o SHAPE should not be a library function) 2008-05-25 19:52:03 +02:00
iso_c_generated_procs.c
kill.c
link.c
malloc.c
move_alloc.c
mvbits.c
pack_generic.c in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
perror.c
rand.c
random.c re PR fortran/37159 (RANDOM_SEED: GET= check array size at compile time and respect -fdefault-integer-*) 2008-11-01 10:24:15 +00:00
rename.c
reshape_generic.c re PR libfortran/38234 (In Reshape, SOURCE can be bigger than result) 2008-11-23 19:25:42 +00:00
reshape_packed.c in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
selected_char_kind.c re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") 2008-08-16 03:38:31 +00:00
selected_int_kind.f90
selected_real_kind.f90
signal.c
size.c
sleep.c
spread_generic.c
stat.c
string_intrinsics_inc.c string_intrinsics.c: #include <assert.h> 2009-03-28 16:18:59 +01:00
string_intrinsics.c string_intrinsics.c: #include <assert.h> 2009-03-28 16:18:59 +01:00
symlnk.c
system_clock.c
system.c
time_1.h
time.c
transpose_generic.c re PR libfortran/34670 (bounds checking for array intrinsics) 2008-10-21 20:12:52 +00:00
umask.c
unlink.c
unpack_generic.c in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00