https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377
--- Comment #10 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:186ae6d2cb93ad2e07117cff7e11def21fe285ae commit r14-8400-g186ae6d2cb93ad2e07117cff7e11def21fe285ae Author: Harald Anlauf <anl...@gmx.de> Date: Wed Jan 24 20:27:36 2024 +0100 Fortran: passing of optional dummies to elemental procedures [PR113377] gcc/fortran/ChangeLog: PR fortran/113377 * trans-expr.cc (conv_dummy_value): New. (gfc_conv_procedure_call): Factor code for handling dummy arguments with the VALUE attribute in the scalar case into conv_dummy_value(). Reuse and adjust for calling elemental procedures. gcc/testsuite/ChangeLog: PR fortran/113377 * gfortran.dg/optional_absent_10.f90: New test.