gcc/libgfortran/io
Janne Blomqvist 4135a21f4d PR 78534 Regression on 32-bit targets
By switching from int to size_t in order to handle larger values,
r256322 introduced a bug that manifested itself on 32-bit
targets. Fixed by using the correct type to store the result of a
next_array_record call.

Regtested on x86_64-pc-linux-gnu and i686-pc-linux-gnu, committed to
trunk as obvious.

libgfortran/ChangeLog:

2018-01-08  Janne Blomqvist  <jb@gcc.gnu.org>

	PR 78534, bugfix for r256322
	* io/transfer.c (next_record_w): Use correct type for return value
	of next_array_record.

From-SVN: r256337
2018-01-08 14:12:05 +02:00
..
close.c Update copyright years. 2018-01-03 11:03:58 +01:00
fbuf.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
fbuf.h PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
file_pos.c Update copyright years. 2018-01-03 11:03:58 +01:00
format.c Update copyright years. 2018-01-03 11:03:58 +01:00
format.h Update copyright years. 2018-01-03 11:03:58 +01:00
inquire.c Update copyright years. 2018-01-03 11:03:58 +01:00
intrinsics.c Update copyright years. 2018-01-03 11:03:58 +01:00
io.h PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
list_read.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
lock.c Update copyright years. 2018-01-03 11:03:58 +01:00
open.c Update copyright years. 2018-01-03 11:03:58 +01:00
read.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
size_from_kind.c Update copyright years. 2018-01-03 11:03:58 +01:00
transfer128.c Update copyright years. 2018-01-03 11:03:58 +01:00
transfer.c PR 78534 Regression on 32-bit targets 2018-01-08 14:12:05 +02:00
unit.c PR 78534 Change character length from int to size_t 2018-01-05 21:01:12 +02:00
unix.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
unix.h PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00
write_float.def Update copyright years. 2018-01-03 11:03:58 +01:00
write.c PR 78534, 83704 Handle large formatted I/O 2018-01-07 12:17:52 +02:00