gcc/libgfortran/io
Francois-Xavier Coudert 4ae906e46c Fortran: simplify library code for integer-to-decimal conversion
libgfortran/ChangeLog:

	PR libfortran/81986
	PR libfortran/99191

	* libgfortran.h: Remove gfc_xtoa(), adjust gfc_itoa() and
	GFC_ITOA_BUF_SIZE.
	* io/write.c (write_decimal): conversion parameter is always
	gfc_itoa(), so remove it. Protect from overflow.
	(xtoa): Move gfc_xtoa and update its name.
	(xtoa_big): Renamed from ztoa_big for consistency.
	(write_z): Adjust to new function names.
	(write_i, write_integer): Remove last arg of write_decimal.
	* runtime/backtrace.c (error_callback): Comment on the use of
	gfc_itoa().
	* runtime/error.c (gfc_xtoa): Move to io/write.c.
	* runtime/string.c (gfc_itoa): Take an unsigned argument,
	remove the handling of negative values.
2021-12-25 15:07:12 +01:00
..
async.c
async.h
close.c
fbuf.c
fbuf.h
file_pos.c Fix FLUSH IOSTAT value 2021-12-16 17:46:28 +01:00
format.c Fortran: Cast arguments of <ctype.h> functions to unsigned char 2021-12-18 09:21:16 +01:00
format.h
inquire.c
intrinsics.c
io.h
list_read.c Fortran: Cast arguments of <ctype.h> functions to unsigned char 2021-12-18 09:21:16 +01:00
lock.c
open.c
read.c Fortran: Cast arguments of <ctype.h> functions to unsigned char 2021-12-18 09:21:16 +01:00
size_from_kind.c
transfer128.c
transfer.c
unit.c
unix.c
unix.h
write_float.def
write.c Fortran: simplify library code for integer-to-decimal conversion 2021-12-25 15:07:12 +01:00