gcc/libgfortran/io
Jakub Jelinek 9610ba7b6f libgfortran: Fix -Wincompatible-pointer-types errors
As reported, libgfortran fails to build on targets where int32_t and int
are different types, because it uses int vs. GFC_INTEGER_4 (under hood
int32_t) interchangeably.

The following patch fixes that.

2023-12-05  Florian Weimer  <fweimer@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>

	* io/list_read.c (list_formatted_read_scalar) <case BT_CLASS>:
	Change types of unit and noiostat to GFC_INTEGER_4 from int, change
	type of child_iostat from to GFC_INTEGER_4 * from int *, formatting
	fixes.
	(nml_read_obj): Likewise.
	* io/write.c (list_formatted_write_scalar) <case BT_CLASS>: Likewise.
	(nml_write_obj): Likewise.
	* io/transfer.c (unformatted_read, unformatted_write): Likewise.
2023-12-05 22:56:41 +01:00
..
async.c libgfortran: Fix calloc call by swapping arg order [PR112364] 2023-11-06 11:43:28 +01:00
async.h Update copyright years. 2023-01-16 11:52:17 +01:00
close.c Update copyright years. 2023-01-16 11:52:17 +01:00
fbuf.c Update copyright years. 2023-01-16 11:52:17 +01:00
fbuf.h Update copyright years. 2023-01-16 11:52:17 +01:00
file_pos.c Update copyright years. 2023-01-16 11:52:17 +01:00
format.c fortran: Fix coding style around free() 2023-05-08 10:46:47 +02:00
format.h Update copyright years. 2023-01-16 11:52:17 +01:00
inquire.c Update copyright years. 2023-01-16 11:52:17 +01:00
intrinsics.c Update copyright years. 2023-01-16 11:52:17 +01:00
io.h Update copyright years. 2023-01-16 11:52:17 +01:00
list_read.c libgfortran: Fix -Wincompatible-pointer-types errors 2023-12-05 22:56:41 +01:00
lock.c Update copyright years. 2023-01-16 11:52:17 +01:00
open.c Update copyright years. 2023-01-16 11:52:17 +01:00
read.c Update copyright years. 2023-01-16 11:52:17 +01:00
size_from_kind.c Update copyright years. 2023-01-16 11:52:17 +01:00
transfer.c libgfortran: Fix -Wincompatible-pointer-types errors 2023-12-05 22:56:41 +01:00
transfer128.c Update copyright years. 2023-01-16 11:52:17 +01:00
unit.c Fortran: Initialize last_char for internal units. 2023-05-12 13:40:41 -07:00
unix.c fortran: Fix coding style around free() 2023-05-08 10:46:47 +02:00
unix.h Update copyright years. 2023-01-16 11:52:17 +01:00
write.c libgfortran: Fix -Wincompatible-pointer-types errors 2023-12-05 22:56:41 +01:00
write_float.def Update copyright years. 2023-01-16 11:52:17 +01:00