diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-08 14:12:05 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-08 14:12:05 +0200 |
commit | 4135a21f4dc1b490446722a40ce113a0f7a28305 (patch) | |
tree | 076c38c37b3cc831ebb83bdb854df64797ba6b08 /gcc/tree-ssa-pre.c | |
parent | 4c035a2394ef0cebb22128e6cf14428c47ec20fe (diff) | |
download | gcc-4135a21f4dc1b490446722a40ce113a0f7a28305.zip gcc-4135a21f4dc1b490446722a40ce113a0f7a28305.tar.gz gcc-4135a21f4dc1b490446722a40ce113a0f7a28305.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions