gcc/libgfortran/io
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
..
async.c libgfortran: Use proper gthr.h API 2019-01-28 06:35:41 +00:00
async.h Update copyright years. 2019-01-01 13:31:55 +01:00
close.c re PR libfortran/89020 (close(status='DELETE') does not remove file) 2019-01-27 19:42:34 +00:00
fbuf.c Update copyright years. 2019-01-01 13:31:55 +01:00
fbuf.h Update copyright years. 2019-01-01 13:31:55 +01:00
file_pos.c Update copyright years. 2019-01-01 13:31:55 +01:00
format.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
format.h Update copyright years. 2019-01-01 13:31:55 +01:00
inquire.c Update copyright years. 2019-01-01 13:31:55 +01:00
intrinsics.c Update copyright years. 2019-01-01 13:31:55 +01:00
io.h fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
list_read.c re PR libfortran/88776 (Namelist read from stdin: loss of data) 2019-01-12 23:06:47 +00:00
lock.c Update copyright years. 2019-01-01 13:31:55 +01:00
open.c Allow opening file on multiple units 2019-05-15 21:02:36 +03:00
read.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
size_from_kind.c Update copyright years. 2019-01-01 13:31:55 +01:00
transfer128.c Update copyright years. 2019-01-01 13:31:55 +01:00
transfer.c transfer.c (transfer_array_inner): Do not cast charlen to index_type. 2019-02-26 19:41:53 +01:00
unit.c PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
unix.c re PR libfortran/91030 (Poor performance of I/O -fconvert=big-endian) 2019-07-21 15:55:49 +00:00
unix.h Update copyright years. 2019-01-01 13:31:55 +01:00
write_float.def fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
write.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00