Committed as obvious to 4.7, 4.8 and the trunk. (Rev. 198048-198050).
Tobias
Index: gcc/fortran/ChangeLog =================================================================== --- gcc/fortran/ChangeLog (Revision 198047) +++ gcc/fortran/ChangeLog (Arbeitskopie) @@ -1,3 +1,8 @@ +2013-04-18 Tobias Burnus <bur...@net-b.de> + + PR fortran/56994 + * invoke.texi (NEAREST): S argument is not optional. + 2013-04-17 Janus Weil <ja...@gcc.gnu.org> PR fortran/56814 Index: gcc/fortran/intrinsic.texi =================================================================== --- gcc/fortran/intrinsic.texi (Revision 198047) +++ gcc/fortran/intrinsic.texi (Arbeitskopie) @@ -9248,7 +9248,7 @@ @item @emph{Arguments}: @multitable @columnfractions .15 .70 @item @var{X} @tab Shall be of type @code{REAL}. -@item @var{S} @tab (Optional) shall be of type @code{REAL} and +@item @var{S} @tab Shall be of type @code{REAL} and not equal to zero. @end multitable