https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67039

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I am planning to submit the following patch

--- ../_clean/gcc/fortran/intrinsic.texi        2016-01-04 19:51:09.000000000
+0100
+++ gcc/fortran/intrinsic.texi  2016-04-06 17:15:01.000000000 +0200
@@ -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 numbers
+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.

Reply via email to