Committed as obvious as Rev. 198429
Tobias
Index: gcc/fortran/ChangeLog =================================================================== --- gcc/fortran/ChangeLog (Revision 198428) +++ gcc/fortran/ChangeLog (Arbeitskopie) @@ -1,5 +1,11 @@ 2013-04-28 Tobias Burnus <bur...@net-b.de> + PR fortran/57114 + * intrinsic.texi (RANK): Correct syntax description and + expected result. + +2013-04-28 Tobias Burnus <bur...@net-b.de> + PR fortran/57093 * trans-types.c (gfc_get_element_type): Fix handling of scalar coarrays of type character. Index: gcc/fortran/intrinsic.texi =================================================================== --- gcc/fortran/intrinsic.texi (Revision 198428) +++ gcc/fortran/intrinsic.texi (Arbeitskopie) @@ -10279,7 +10279,7 @@ Inquiry function @item @emph{Syntax}: -@code{RESULT = RANGE(A)} +@code{RESULT = RANK(A)} @item @emph{Arguments}: @multitable @columnfractions .15 .70 @@ -10296,7 +10296,7 @@ integer :: a real, allocatable :: b(:,:) - print *, rank(a), rank(b) ! Prints: 0 3 + print *, rank(a), rank(b) ! Prints: 0 2 end program test_rank @end smallexample