From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4741 invoked by alias); 30 Sep 2015 22:20:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4703 invoked by uid 48); 30 Sep 2015 22:20:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67039] Documentation of pseudorandom number intrinsics is incorrect Date: Wed, 30 Sep 2015 22:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg02419.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67039 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #4) > > > Resolved as WONTFIX? > > > > Probably not. See the last 2 paragraphs in comment #1. > > Sorry, but my question was motivated by the reading of these two > paragraphs!-( > Thus two more explicit questions: > > (1) Shall I submit a patch to replace in the manual all the "Fortran 95 and > later" with "Fortran 90 and later" where appropriate? No. gfortran never tried to address the Fortran 90 standard. Whatever is stated in F90 is irrelevant to the extent that gfortran is a Fortran 95 compiler and F90 beget F95. > > (2) Shall I submit a patch to replace > > The Fortran 2003 standard specifies the intrinsic RANDOM_SEED to initialize > the pseudo-random numbers generator and RANDOM_NUMBER to generate > pseudo-random numbers. > > with > > The Fortran 9? standard specifies the intrinsic RANDOM_SEED to initialize > the pseudo-random numbers generator and RANDOM_NUMBER to generate > pseudo-random numbers. These intrinsics should be used in new codes. > I would not not call out a particular standard version. Probably something like The Fortran standard specifies the intrinsic subroutine RANDOM_SEED to initialize the pseudo-random numbers generator and the intrinsic subroutine RANDOM_NUMBER to generate pseudo-random numbers. These subroutines should be used in new codes.