aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/gcc
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2023-07-05 22:21:09 +0200
committerHarald Anlauf <anlauf@gmx.de>2023-07-08 15:57:33 +0200
commitb1079fc88f082d3c5b583c8822c08c5647810259 (patch)
tree57c8b853ed0233a50843d2999911375129131e25 /libphobos/libdruntime/gcc
parent7ac1581d066a6f3a0d4acf1042a74634258b4966 (diff)
downloadgcc-b1079fc88f082d3c5b583c8822c08c5647810259.zip
gcc-b1079fc88f082d3c5b583c8822c08c5647810259.tar.gz
gcc-b1079fc88f082d3c5b583c8822c08c5647810259.tar.bz2
Fortran: fixes for procedures with ALLOCATABLE,INTENT(OUT) arguments [PR92178]
gcc/fortran/ChangeLog: PR fortran/92178 * trans-expr.cc (gfc_conv_procedure_call): Check procedures for allocatable dummy arguments with INTENT(OUT) and move deallocation of actual arguments after evaluation of argument expressions before the procedure is executed. gcc/testsuite/ChangeLog: PR fortran/92178 * gfortran.dg/intent_out_16.f90: New test. * gfortran.dg/intent_out_17.f90: New test. * gfortran.dg/intent_out_18.f90: New test. Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
Diffstat (limited to 'libphobos/libdruntime/gcc')
0 files changed, 0 insertions, 0 deletions