]> gcc.gnu.org Git - gcc.git/commit
PR fortran/99169 - Do not clobber allocatable intent(out) dummy argument
authorHarald Anlauf <anlauf@gmx.de>
Sun, 21 Feb 2021 20:44:24 +0000 (21:44 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sun, 21 Feb 2021 20:44:24 +0000 (21:44 +0100)
commit2df374b337a5f6cf5528e91718e4e12e4006b7ae
tree57a6a652114e28480eb07d33e6324c966d1dcad5
parent3cc5f8620d3d72c51c79e456fc1c000b7d7e19a5
PR fortran/99169 - Do not clobber allocatable intent(out) dummy argument

gcc/fortran/ChangeLog:

* trans-expr.c (gfc_conv_procedure_call): Do not add clobber to
allocatable intent(out) argument.

gcc/testsuite/ChangeLog:

* gfortran.dg/intent_optimize_3.f90: New test.
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/intent_optimize_3.f90 [new file with mode: 0644]
This page took 0.0769 seconds and 5 git commands to generate.