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

--- Comment #12 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:c4773944bb3bec712b4002a2e599409301e50b11

commit r14-8479-gc4773944bb3bec712b4002a2e599409301e50b11
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Jan 25 22:19:10 2024 +0100

    Fortran: NULL actual to optional dummy with VALUE attribute [PR113377]

    gcc/fortran/ChangeLog:

            PR fortran/113377
            * trans-expr.cc (conv_dummy_value): Treat NULL actual argument to
            optional dummy with the VALUE attribute as not present.
            (gfc_conv_procedure_call): Likewise.

    gcc/testsuite/ChangeLog:

            PR fortran/113377
            * gfortran.dg/optional_absent_11.f90: New test.

Reply via email to