From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id CC6B03858012; Tue, 25 May 2021 07:25:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC6B03858012 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Tobias_Burnus@mentor.com IronPort-SDR: jPwezH9v3IwliXKZedzOnKK5woEld6+9TdD2YM6LqTlkvPw4DaLGNPbmR9Vljs0GclBsuH4S4E Vz0GbmuSQlNJMJEsTJxlOfYls2tLe7+dXfAu6PPvPxsvOZYG+VVQo11PZffE0Pgg27AZqkSpmS a3JdhVY0g2CiGs964fuu8Jh3LDltlKdCzZOlArJcnmttrFAFERdWdz71/b7feZiRG+EBxeNYOi wivNBUHbmAbTez00Cl9Aci1GsmGVsRXItAIy5EHcX1f5kGLD+noD1V5nnnyAKZDGJwneUxq6jC uFU= X-IronPort-AV: E=Sophos;i="5.82,327,1613462400"; d="diff'?scan'208";a="61593409" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 24 May 2021 23:25:13 -0800 IronPort-SDR: tPZnrtfhjiTO+86k4yjrfsUZ3K013GWkjX94DhA5sgOTSH1LSZvDUIn9zetTIIdpEZ/1YlC571 FyGDCwnLcjxHUjjQIzUu/wkje2GF1xeNI3linrEComuG7HWiDceBry+tcTLd2dhbBN9Xe1xMsx 4Gb4tJ3gylK2mdfGa5t59WONT4+o2NoErz/gfuxJnH/0GfVpLSGB3q9+uJp2sgDVI//MH8BuPw D6zKW0GBE3zcmdPLOEP1IIxMLxkmc0mLkZ2JcFSUPpct4bz1L5rjKBHrDS6s0/bXRk/+3Gt6K1 nm4= Subject: [patch, committed] fortran/intrinsic.texi: Fix copy'n'paste errors and typos (was: https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gfortran/) To: Johannes Nendwich , "gcc@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" , "fortran@gcc.gnu.org" References: <4e1d0ba8-07ea-a556-4b55-2f6139947f85@unet.univie.ac.at> From: Tobias Burnus Message-ID: Date: Tue, 25 May 2021 09:25:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------E971453DE607618ED24E5B45" Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 07:25:16 -0000 --------------E971453DE607618ED24E5B45 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi Johannes, hi all, On 24.05.21 23:21, Johannes Nendwich wrote: > some more suggestions for corrections in the onlinedocs: thanks for the proof reading. I have converted it into a patch and committed it as attached. Tobias ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 M=C3=BCnchen R= egistergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thomas H= eurung, Frank Th=C3=BCrauf --------------E971453DE607618ED24E5B45 Content-Type: text/x-patch; charset="UTF-8"; name="committed.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="committed.diff" commit 2044a3e3e8343d047344523a1cca98309ce68fdc Author: Tobias Burnus Date: Tue May 25 09:17:07 2021 +0200 fortran/intrinsic.texi: Fix copy'n'paste errors and typos gcc/fortran/ChangeLog: * intrinsic.texi (GERROR, GETARGS, GETLOG, NORM2, PARITY, RANDOM_INIT, RANDOM_NUMBER): Fix typos and copy'n'paste errors. Co-Authored-By: Johannes Nendwich diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index ad164137986..c9049b539d5 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -6835,7 +6835,7 @@ Subroutine @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@item @var{RESULT} @tab Shall of type @code{CHARACTER} and of default +@item @var{RESULT} @tab Shall be of type @code{CHARACTER} and of default kind. @end multitable @item @emph{Example}: @@ -6885,7 +6885,6 @@ Subroutine the default integer kind; @math{@var{POS} \geq 0} @item @var{VALUE} @tab Shall be of type @code{CHARACTER} and of default kind. -@item @var{VALUE} @tab Shall be of type @code{CHARACTER}. @end multitable @item @emph{Return value}: @@ -7259,7 +7258,7 @@ Subroutine @end multitable @item @emph{Return value}: -Stores the current user name in @var{LOGIN}. (On systems where POSIX +Stores the current user name in @var{C}. (On systems where POSIX functions @code{geteuid} and @code{getpwuid} are not available, and the @code{getlogin} function is not implemented either, this will return a blank string.) @@ -11202,7 +11201,7 @@ end program test_nint @table @asis @item @emph{Description}: -Calculates the Euclidean vector norm (@math{L_2} norm) of +Calculates the Euclidean vector norm (@math{L_2} norm) of @var{ARRAY} along dimension @var{DIM}. @item @emph{Standard}: @@ -11555,7 +11554,7 @@ Transformational function @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@item @var{LOGICAL} @tab Shall be an array of type @code{LOGICAL} +@item @var{MASK} @tab Shall be an array of type @code{LOGICAL} @item @var{DIM} @tab (Optional) shall be a scalar of type @code{INTEGER} with a value in the range from 1 to n, where n equals the rank of @var{MASK}. @@ -12005,7 +12004,7 @@ is set to a processor-dependent value. @code{LOGICAL} type, and it is @code{INTENT(IN)}. If it is @code{.true.}, the seed is set to a processor-dependent value that is distinct from th seed set by a call to @code{RANDOM_INIT} in another image. If it is -@code{.false.}, the seed is set value that does depend which image called +@code{.false.}, the seed is set to a value that does depend which image called @code{RANDOM_INIT}. @end multitable @@ -12057,7 +12056,7 @@ Fortran 90 and later Subroutine @item @emph{Syntax}: -@code{RANDOM_NUMBER(HARVEST)} +@code{CALL RANDOM_NUMBER(HARVEST)} @item @emph{Arguments}: @multitable @columnfractions .15 .70 --------------E971453DE607618ED24E5B45--