https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377
--- Comment #9 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:68862e5c75ef0e875e690f0880a96fc6200d1682 commit r14-8317-g68862e5c75ef0e875e690f0880a96fc6200d1682 Author: Harald Anlauf <anl...@gmx.de> Date: Sat Jan 20 22:18:02 2024 +0100 Fortran: passing of optional scalar arguments with VALUE attribute [PR113377] gcc/fortran/ChangeLog: PR fortran/113377 * trans-expr.cc (gfc_conv_procedure_call): Fix handling of optional scalar arguments of intrinsic type with the VALUE attribute. gcc/testsuite/ChangeLog: PR fortran/113377 * gfortran.dg/optional_absent_9.f90: New test.