summaryrefslogtreecommitdiff
path: root/libgfortran/ChangeLog
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-08 12:12:05 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-08 12:12:05 +0000
commit0d690bb237225cda3bbb9ea148e89320a8bb09b9 (patch)
tree076c38c37b3cc831ebb83bdb854df64797ba6b08 /libgfortran/ChangeLog
parentfede48b29aa0518b1add94a519a20ff59b0cfe63 (diff)
downloadgcc-0d690bb237225cda3bbb9ea148e89320a8bb09b9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r--libgfortran/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index d05e6c65fda..022725fdcdc 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2018-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
* libgfortran.h (GFC_DTYPE_COPY): New macro.