[Bug fortran/87397] Clobbering intent(out) variables caused regression in OpenCoarrays testsuite
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 23 20:34:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87397
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Sep 23 20:17:25 2018
New Revision: 264518
URL: https://gcc.gnu.org/viewcvs?rev=264518&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/intent_out_11.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list