gcc/libgfortran
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
..
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-08 14:12:05 +02:00
2018-01-03 11:03:58 +01:00
2016-12-12 13:40:21 +00:00
2018-01-03 11:03:58 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2017-01-01 13:07:43 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00