re PR fortran/67039 (Documentation of pseudorandom number intrinsics is incorrect)
authorDominique d'Humieres <dominiq@lps.ens.fr>
Wed, 13 Apr 2016 15:04:57 +0000 (17:04 +0200)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Wed, 13 Apr 2016 15:04:57 +0000 (17:04 +0200)
2016-04-13  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR fortran/67039
* intrinsic.texi: Correct the documentation of pseudorandom
number intrinsics.

From-SVN: r234946

gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi

index 8ab7cacb5803822af8b87a8eb3fefe63bab8647a..e2f216d2bc6f0560480defd081a0a8dd0e2831d5 100644 (file)
@@ -1,3 +1,9 @@
+2016-04-13  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR fortran/67039
+       * intrinsic.texi: Correct the documentation of pseudorandom
+       number intrinsics.
+
 2016-04-13  Dominique d'Humieres  <dominiq@lps.ens.fr>
 
        PR fortran/58000
index f9760f6a3ab2472b61335066cb1bb53abc6862d0..88406301d9f151169d4bf7093bf6d84473c6ccf5 100644 (file)
@@ -12628,10 +12628,12 @@ Does not return anything.
 See @code{RAND} and @code{IRAND} for examples.
 
 @item @emph{Notes}:
-The Fortran 2003 standard specifies the intrinsic @code{RANDOM_SEED} to
-initialize the pseudo-random numbers generator and @code{RANDOM_NUMBER}
-to generate pseudo-random numbers. Please note that in
-GNU Fortran, these two sets of intrinsics (@code{RAND},
+The Fortran standard specifies the intrinsic subroutines
+@code{RANDOM_SEED} to initialize the pseudo-random number
+generator and @code{RANDOM_NUMBER} to generate pseudo-random numbers.
+These subroutines should be used in new codes.
+
+Please note that in GNU Fortran, these two sets of intrinsics (@code{RAND},
 @code{IRAND} and @code{SRAND} on the one hand, @code{RANDOM_NUMBER} and
 @code{RANDOM_SEED} on the other hand) access two independent
 pseudo-random number generators.