Commit 69acfe77 by Tobias Burnus Committed by Tobias Burnus

re PR fortran/57114 (wrong information at http://gcc.gnu.org/onlinedocs/gfortran/RANK.html)

2013-04-28  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57114
        * intrinsic.texi (RANK): Correct syntax description and
        expected result.

From-SVN: r198429
parent e34b523d
2013-04-28 Tobias Burnus <burnus@net-b.de> 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 PR fortran/57093
* trans-types.c (gfc_get_element_type): Fix handling * trans-types.c (gfc_get_element_type): Fix handling
of scalar coarrays of type character. of scalar coarrays of type character.
......
...@@ -10279,7 +10279,7 @@ Technical Specification (TS) 29113 ...@@ -10279,7 +10279,7 @@ Technical Specification (TS) 29113
Inquiry function Inquiry function
@item @emph{Syntax}: @item @emph{Syntax}:
@code{RESULT = RANGE(A)} @code{RESULT = RANK(A)}
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
...@@ -10296,7 +10296,7 @@ program test_rank ...@@ -10296,7 +10296,7 @@ program test_rank
integer :: a integer :: a
real, allocatable :: b(:,:) real, allocatable :: b(:,:)
print *, rank(a), rank(b) ! Prints: 0 3 print *, rank(a), rank(b) ! Prints: 0 2
end program test_rank end program test_rank
@end smallexample @end smallexample
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment