diff --git a/gcc/fortran/doc/gfortran/naming-and-argument-passing-conventions.rst b/gcc/fortran/doc/gfortran/naming-and-argument-passing-conventions.rst index fa999fac3553bf8d26b6d30a93583523f5c0f0c1..4baaee9bfec7f7a7327bdc0465fef45447eb8150 100644 --- a/gcc/fortran/doc/gfortran/naming-and-argument-passing-conventions.rst +++ b/gcc/fortran/doc/gfortran/naming-and-argument-passing-conventions.rst @@ -142,7 +142,8 @@ is used for dummy arguments; with ``VALUE``, those variables are passed by value. For ``OPTIONAL`` dummy arguments, an absent argument is denoted -by a NULL pointer, except for scalar dummy arguments of intrinsic type +by a NULL pointer, except for scalar dummy arguments of type +``INTEGER``, ``LOGICAL``, ``REAL`` and ``COMPLEX`` which have the ``VALUE`` attribute. For those, a hidden Boolean argument (``logical(kind=C_bool),value``) is used to indicate whether the argument is present.