gcc/libgfortran/io
Francois-Xavier Coudert 32aa3bffc3 c99_functions.c (log10l): New log10l function for systems where this is not available.
* intrinsics/c99_functions.c (log10l): New log10l function for
	systems where this is not available.
	* c99_protos.h: Prototype for log10l function.
	* libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
	GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
	prototypes for gfc_itoa and xtoa.
	* io/io.h: Update prototypes for set_integer and max_value.
	* io/list_read.c (convert_integer): Use new
	GFC_(INTEGER|REAL)_LARGEST type.
	* io/read.c (set_integer): Likewise.
	(max_value): Likewise.
	(convert_real): Likewise.
	(real_l): Likewise.
	(next_char): Likewise.
	(read_decimal): Likewise.
	(read_radix): Likewise.
	(read_f): Likewise.
	* io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
	(extract_real): Use new GFC_REAL_LARGEST type.
	(calculate_exp): Likewise.
	(calculate_G_format): Likewise.
	(output_float): Likewise. Use log10l for long double values.
	Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
	(write_l): Use new GFC_INTEGER_LARGEST type.
	(write_float): Use new GFC_REAL_LARGEST type.
	(write_int): Remove useless special case for (len < 8).
	(write_decimal): Use GFC_INTEGER_LARGEST.
	(otoa): Use GFC_UINTEGER_LARGEST as argument.
	(btoa): Use GFC_UINTEGER_LARGEST as argument.
	* runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
	argument.
	(xtoa): Use GFC_UINTEGER_LARGEST as argument.
	* Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
	with all Fortran kinds available.
	* configure.ac: Check for strtold and log10l.
	* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* mk-kinds-h.sh: Configuration script for available integer
	and real kinds.
	* lib/target-supports.exp: Add
	check_effective_target_fortran_large_real and
	check_effective_target_fortran_large_int to check for
	corresponding effective targets.
	* gfortran.dg/large_integer_kind_1.f90: New test.
	* gfortran.dg/large_real_kind_1.f90: New test.

From-SVN: r101274
2005-06-23 18:50:25 +00:00
..
backspace.c backspace.c (unformatted_backspace): Do not dereference the pointer to the stream. 2005-04-08 19:07:54 +00:00
close.c normalize.c (almostone_r4, [...]): Fix parameter list. 2005-05-15 14:44:42 +02:00
endfile.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
format.c re PR libfortran/20006 ($ format extension doesn't work) 2005-05-29 12:22:49 +00:00
inquire.c re PR libfortran/20950 ([4.0 only] segfault in INQUIRE asking for SEQUENTIAL status) 2005-04-18 07:34:32 +00:00
io.h c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00
list_read.c c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00
lock.c normalize.c (almostone_r4, [...]): Fix parameter list. 2005-05-15 14:44:42 +02:00
open.c configure.ac: Add additional warning flags. 2005-05-17 18:54:58 +02:00
read.c c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00
rewind.c rewind.c (st_rewind): Flush the stream when resetting the mode from WRITING to READING. 2005-04-26 15:27:11 -04:00
transfer.c * io/transfer.c (formatted_transfer): Fix typo in error message. 2005-06-16 22:31:32 +00:00
unit.c unit.c (get_unit): Mark argument as unused. 2005-05-17 19:02:38 +02:00
unix.c unix.c (stream_at_bof): Don't assume that all non-mmapped files are non-seekable. 2005-06-18 20:09:28 +00:00
write.c c99_functions.c (log10l): New log10l function for systems where this is not available. 2005-06-23 18:50:25 +00:00