===================================================================
@@ -1,5 +1,11 @@
2013-04-28 Tobias Burnus <burnus@net-b.de>
+ PR fortran/57114
+ * intrinsic.texi (RANK): Correct syntax description and
+ expected result.
+
+2013-04-28 Tobias Burnus <burnus@net-b.de>
+
PR fortran/57093
* trans-types.c (gfc_get_element_type): Fix handling
of scalar coarrays of type character.
===================================================================
@@ -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