gcc/libgfortran/io
Thomas Koenig 9840285d87 Implement CONVERT specifier for OPEN.
This patch, based on Jakub's work, implements the CONVERT
specifier for the power-ieee128 brach.  It allows specifying
the conversion as r16_ieee,big_endian and the other way around,
based on a table.  Setting the conversion via environment
variable and via program option does not yet work.

gcc/ChangeLog:

	* flag-types.h (enum gfc_convert): Add flags for
	conversion.

gcc/fortran/ChangeLog:

	* libgfortran.h (unit_convert): Add flags.

libgfortran/ChangeLog:

	* Makefile.in: Regenerate.
	* io/file_pos.c (unformatted_backspace): Mask off
	R16 parts for convert.
	* io/inquire.c (inquire_via_unit): Add cases for
	R16 parts.
	* io/open.c (st_open): Add cases for R16 conversion.
	* io/transfer.c (unformatted_read): Adjust for R16 conversions.
	(unformatted_write): Likewise.
	(us_read): Mask of R16 bits.
	(data_transfer_init): Likewiese.
	(write_us_marker): Likewise.
2022-01-11 23:49:52 +01:00
..
async.c Update copyright years. 2022-01-03 10:42:10 +01:00
async.h Update copyright years. 2022-01-03 10:42:10 +01:00
close.c Update copyright years. 2022-01-03 10:42:10 +01:00
fbuf.c Update copyright years. 2022-01-03 10:42:10 +01:00
fbuf.h Update copyright years. 2022-01-03 10:42:10 +01:00
file_pos.c Implement CONVERT specifier for OPEN. 2022-01-11 23:49:52 +01:00
format.c Update copyright years. 2022-01-03 10:42:10 +01:00
format.h Update copyright years. 2022-01-03 10:42:10 +01:00
inquire.c Implement CONVERT specifier for OPEN. 2022-01-11 23:49:52 +01:00
intrinsics.c Update copyright years. 2022-01-03 10:42:10 +01:00
io.h fortran, libgfortran: -mabi=ieeelongdouble I/O 2022-01-11 23:49:48 +01:00
list_read.c Update copyright years. 2022-01-03 10:42:10 +01:00
lock.c Update copyright years. 2022-01-03 10:42:10 +01:00
open.c Implement CONVERT specifier for OPEN. 2022-01-11 23:49:52 +01:00
read.c fortran, libgfortran: Assorted -mabi=ieeelongdouble I/O fixes 2022-01-11 23:49:49 +01:00
size_from_kind.c fortran, libgfortran: -mabi=ieeelongdouble I/O 2022-01-11 23:49:48 +01:00
transfer.c Implement CONVERT specifier for OPEN. 2022-01-11 23:49:52 +01:00
transfer128.c fortran, libgfortran: -mabi=ieeelongdouble I/O 2022-01-11 23:49:48 +01:00
unit.c Update copyright years. 2022-01-03 10:42:10 +01:00
unix.c Update copyright years. 2022-01-03 10:42:10 +01:00
unix.h Update copyright years. 2022-01-03 10:42:10 +01:00
write.c fortran, libgfortran: -mabi=ieeelongdouble I/O 2022-01-11 23:49:48 +01:00
write_float.def libgfortran: -mabi=ieeelongdouble I/O fix 2022-01-11 23:49:49 +01:00