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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Brian Taylor from comment #0)
> The gfortran documentation for the RANDOM_NUMBER and RANDOM_SEED subroutines
> indicates that they are part of Fortran 95 and later.

Well, they are part of Fortran 95 and later standards.

> In fact, they were included in the Fortran 90 standard.

Which is irrelevant as gfortran started life with the ambitions
to be a Fortran 95 compiler.  You'll note that there isn't a
-std=f90 nor -std=f77 mode.  In fact, you'll find all intrinsic
procedures in the documentation that are listed in the Fortran
95 and that also appear Fortran 90 are listed as "Fortran 95 
and later".

> The gfortran documentation for the SRAND subroutine, a GNU extension,
> includes in the "Notes" section the following: "The Fortran 2003 standard
> specifies the intrinsic RANDOM_SEED to initialize the pseudo-random numbers
> generator and RANDOM_NUMBER to generate pseudo-random numbers."  The
> reference here should be to the Fortran 90 standard, not 2003.

Yeah, this could use some word smithing. It appears
to be an attempt to discourage use of srand and rand
in favor of the standard intrinsic subprograms.  You
also left out the most incorrect part of the documentation.
gfortran uses 4 independent KISS generators, but
implementation details should probably be removed
here.

Reply via email to