https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112772

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:7317275497e10c4a0fb3fbaa6ca87f3463ac124d

commit r14-6066-g7317275497e10c4a0fb3fbaa6ca87f3463ac124d
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Nov 30 21:53:21 2023 +0100

    Fortran: copy-out for possibly missing OPTIONAL CLASS arguments [PR112772]

    gcc/fortran/ChangeLog:

            PR fortran/112772
            * trans-expr.cc (gfc_conv_class_to_class): Make copy-out
conditional
            on the presence of an OPTIONAL CLASS argument passed to an OPTIONAL
            CLASS dummy.

    gcc/testsuite/ChangeLog:

            PR fortran/112772
            * gfortran.dg/missing_optional_dummy_7.f90: New test.

Reply via email to