]> gcc.gnu.org Git - gcc.git/commitdiff
re PR fortran/43136 (Excess copy-in/copy-out with character argument)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 15 Jan 2019 22:20:26 +0000 (22:20 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 15 Jan 2019 22:20:26 +0000 (22:20 +0000)
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

gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index 574f50a4a1e5411adcbc509e2c2d133b1859d08e..0d04224a71b0a3610ebfd4b6e2829f8fb5a50be8 100644 (file)
@@ -1,6 +1,6 @@
 2019-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
-       PR fortran/43072
+       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.
index 9c9299e074ca07c6afa45784128967514f330254..ec8a0c18c70edf6b86f65b2a1ce0218577bf0593 100644 (file)
@@ -1,6 +1,6 @@
 2019-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
-       PR fortran/43072
+       PR fortran/43136
        * gfortran.dg/actual_array_substr_3.f90: New test.
 
 2019-01-15  Steven G. Kargl  <kargl@gcc.gnu.org>
This page took 0.076437 seconds and 5 git commands to generate.