diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-10 13:18:31 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-10 13:18:31 +0200 |
commit | 85c2c761f44b23df217e20354bf83bbe5a4632dd (patch) | |
tree | 3955534f13e2dafdab1a4c93290d12234dac7751 /gcc/dwarf2out.c | |
parent | f6aa5171a1a0091bcc3741b1ffff9e8a962e728c (diff) | |
download | gcc-85c2c761f44b23df217e20354bf83bbe5a4632dd.zip gcc-85c2c761f44b23df217e20354bf83bbe5a4632dd.tar.gz gcc-85c2c761f44b23df217e20354bf83bbe5a4632dd.tar.bz2 |
PR 84740 Wrong string length type in bounds check
Need to convert the RHS to the type of the LHS when assigning.
Regtested on x86_64-pc-linux-gnu, committed as obvious.
gcc/fortran/ChangeLog:
2018-01-10 Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/84740
* trans-array.c (gfc_trans_array_ctor_element): Convert RHS to the
LHS type when assigning.
From-SVN: r256425
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions