aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2019-01-15 22:20:26 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2019-01-15 22:20:26 +0000
commit37879e01616f2031866ddbbeff5f30e562e7baac (patch)
treea7826e0b0d83f220696f41102f452c0033867539 /gcc/d/expr.cc
parent0335cc372c9849c61b9a5583655820d88ecf829e (diff)
downloadgcc-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