diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2019-01-15 22:20:26 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2019-01-15 22:20:26 +0000 |
commit | 37879e01616f2031866ddbbeff5f30e562e7baac (patch) | |
tree | a7826e0b0d83f220696f41102f452c0033867539 /gcc/d/expr.cc | |
parent | 0335cc372c9849c61b9a5583655820d88ecf829e (diff) | |
download | gcc-37879e01616f2031866ddbbeff5f30e562e7baac.zip gcc-37879e01616f2031866ddbbeff5f30e562e7baac.tar.gz gcc-37879e01616f2031866ddbbeff5f30e562e7baac.tar.bz2 |
re PR fortran/43136 (Excess copy-in/copy-out with character argument)
2019-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/43136
* resolve.c (resolve_array_ref): Add equal_length argument; set it
if the length of the substring equals that of the orignal
variable.
(resolve_ref): Remove the substring if it is equal in length to
the original variable, unless it is an EXPR_SUBSTRING).
2019-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/43136
* gfortran.dg/actual_array_substr_3.f90: New test.
From-SVN: r267954
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions