re PR fortran/87397 (Clobbering intent(out) variables caused regression in OpenCoarra...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 23 Sep 2018 20:17:25 +0000 (20:17 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 23 Sep 2018 20:17:25 +0000 (20:17 +0000)
commit5986c254bf5f2b4115c823710103d2f3df1957aa
treea233d8389f99e7c747b8307ebc4f916c473e18f3
parentd18cbbf6770446ea7eb0d6ad2595ad4937953f55
re PR fortran/87397 (Clobbering intent(out) variables caused regression in OpenCoarrays testsuite)

2018-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87397
* gfc_conv_procedure_call: Do not add clobber on INTENT(OUT)
for variables having the dimension attribute.

2018-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87395
* gfortran.dg/intent_out_11.f90: New test.

From-SVN: r264518
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/intent_out_11.f90 [new file with mode: 0644]