gcc/libgfortran/runtime
Thomas Koenig c37b0163fe re PR libfortran/91030 (Poor performance of I/O -fconvert=big-endian)
2019-07-21  Thomas König  <tkoenig@gcc.gnu.org>

	PR libfortran/91030
	* gfortran.texi (GFORTRAN_FORMATTED_BUFFER_SIZE): Document
	(GFORTRAN_UNFORMATTED_BUFFER_SIZE): Likewise.

2019-07-21  Thomas König  <tkoenig@gcc.gnu.org>

	PR libfortran/91030
	* io/unix.c (BUFFER_SIZE): Delete.
	(BUFFER_FORMATTED_SIZE_DEFAULT): New variable.
	(BUFFER_UNFORMATTED_SIZE_DEFAULT): New variable.
	(unix_stream): Add buffer_size.
	(buf_read): Use s->buffer_size instead of BUFFER_SIZE.
	(buf_write): Likewise.
	(buf_init): Add argument unformatted.  Handle block sizes
	for unformatted vs. formatted, using defaults if provided.
	(fd_to_stream): Add argument unformatted in call to buf_init.
	* libgfortran.h (options_t): Add buffer_size_formatted and
	buffer_size_unformatted.
	* runtime/environ.c (variable_table): Add
	GFORTRAN_UNFORMATTED_BUFFER_SIZE and
	GFORTRAN_FORMATTED_BUFFER_SIZE.

From-SVN: r273643
2019-07-21 15:55:49 +00:00
..
backtrace.c Update copyright years. 2019-01-01 13:31:55 +01:00
bounds.c Update copyright years. 2019-01-01 13:31:55 +01:00
compile_options.c Update copyright years. 2019-01-01 13:31:55 +01:00
convert_char.c Update copyright years. 2019-01-01 13:31:55 +01:00
environ.c re PR libfortran/91030 (Poor performance of I/O -fconvert=big-endian) 2019-07-21 15:55:49 +00:00
error.c Update copyright years. 2019-01-01 13:31:55 +01:00
fpu.c Update copyright years. 2019-01-01 13:31:55 +01:00
in_pack_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00
in_unpack_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00
ISO_Fortran_binding.c re PR fortran/89843 (CFI_section delivers incorrect result descriptor) 2019-04-14 18:14:58 +00:00
main.c Update copyright years. 2019-01-01 13:31:55 +01:00
memory.c Use __builtin_mul_overflow in xmallocarray 2019-06-14 19:05:54 +03:00
minimal.c Update copyright years. 2019-01-01 13:31:55 +01:00
pause.c Update copyright years. 2019-01-01 13:31:55 +01:00
select_inc.c Update copyright years. 2019-01-01 13:31:55 +01:00
select.c Update copyright years. 2019-01-01 13:31:55 +01:00
stop.c Update copyright years. 2019-01-01 13:31:55 +01:00
string.c Update copyright years. 2019-01-01 13:31:55 +01:00