From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2071) id E3DDB385841B; Sat, 30 Oct 2021 18:17:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3DDB385841B MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Harald Anlauf To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4808] Fortran: remove descriptions of SHORT and LONG in intrinsic.texi X-Act-Checkin: gcc X-Git-Author: Harald Anlauf X-Git-Refname: refs/heads/master X-Git-Oldrev: 6888b7974b367c7f90705ffb4120ec1c7de90440 X-Git-Newrev: 90ba129c9d787b985f338f70713f7be74aaa5091 Message-Id: <20211030181754.E3DDB385841B@sourceware.org> Date: Sat, 30 Oct 2021 18:17:54 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2021 18:17:55 -0000 https://gcc.gnu.org/g:90ba129c9d787b985f338f70713f7be74aaa5091 commit r12-4808-g90ba129c9d787b985f338f70713f7be74aaa5091 Author: Harald Anlauf Date: Sat Oct 30 20:16:32 2021 +0200 Fortran: remove descriptions of SHORT and LONG in intrinsic.texi 2021-10-30 Manfred Schwarb gcc/fortran/ChangeLog: * intrinsic.texi: Remove entries for SHORT and LONG intrinsics. Diff: --- gcc/fortran/intrinsic.texi | 50 +++------------------------------------------- 1 file changed, 3 insertions(+), 47 deletions(-) diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 3410faaca1e..6f7008a5658 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -218,10 +218,9 @@ Some basic guidelines for editing this document: * @code{LNBLNK}: LNBLNK, Index of the last non-blank character in a string * @code{LOC}: LOC, Returns the address of a variable * @code{LOG}: LOG, Logarithm function -* @code{LOG10}: LOG10, Base 10 logarithm function +* @code{LOG10}: LOG10, Base 10 logarithm function * @code{LOG_GAMMA}: LOG_GAMMA, Logarithm of the Gamma function * @code{LOGICAL}: LOGICAL, Convert to logical type -* @code{LONG}: LONG, Convert to integer type * @code{LSHIFT}: LSHIFT, Left shift bits * @code{LSTAT}: LSTAT, Get file status * @code{LTIME}: LTIME, Convert time to local time info @@ -8372,7 +8371,6 @@ end program @node INT2 @section @code{INT2} --- Convert to 16-bit integer type @fnindex INT2 -@fnindex SHORT @cindex conversion, to integer @table @asis @@ -8381,8 +8379,6 @@ Convert to a @code{KIND=2} integer type. This is equivalent to the standard @code{INT} intrinsic with an optional argument of @code{KIND=2}, and is only included for backwards compatibility. -The @code{SHORT} intrinsic is equivalent to @code{INT2}. - @item @emph{Standard}: GNU extension @@ -8403,8 +8399,7 @@ The return value is a @code{INTEGER(2)} variable. @item @emph{See also}: @ref{INT}, @gol -@ref{INT8}, @gol -@ref{LONG} +@ref{INT8} @end table @@ -8440,8 +8435,7 @@ The return value is a @code{INTEGER(8)} variable. @item @emph{See also}: @ref{INT}, @gol -@ref{INT2}, @gol -@ref{LONG} +@ref{INT2} @end table @@ -9849,44 +9843,6 @@ kind corresponding to @var{KIND}, or of the default logical kind if -@node LONG -@section @code{LONG} --- Convert to integer type -@fnindex LONG -@cindex conversion, to integer - -@table @asis -@item @emph{Description}: -Convert to a @code{KIND=4} integer type, which is the same size as a C -@code{long} integer. This is equivalent to the standard @code{INT} -intrinsic with an optional argument of @code{KIND=4}, and is only -included for backwards compatibility. - -@item @emph{Standard}: -GNU extension - -@item @emph{Class}: -Elemental function - -@item @emph{Syntax}: -@code{RESULT = LONG(A)} - -@item @emph{Arguments}: -@multitable @columnfractions .15 .70 -@item @var{A} @tab Shall be of type @code{INTEGER}, -@code{REAL}, or @code{COMPLEX}. -@end multitable - -@item @emph{Return value}: -The return value is a @code{INTEGER(4)} variable. - -@item @emph{See also}: -@ref{INT}, @gol -@ref{INT2}, @gol -@ref{INT8} -@end table - - - @node LSHIFT @section @code{LSHIFT} --- Left shift bits @fnindex LSHIFT