Fortran: Remove documentation for SHORT and LONG intrinics
Commit Message
Hi,
on 2019-07-23, support for SHORT and LONG intrinsics was removed be Steve Kargl by
adding an error message in check.c. As far as I can see code support is still there, though.
Remove documentation for these intrinsics.
Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
[Note: I do not have commit access]
Comments
Hi Manfred,
Am 29.10.21 um 16:13 schrieb Manfred Schwarb via Gcc-patches:
> Hi,
>
> on 2019-07-23, support for SHORT and LONG intrinsics was removed be Steve Kargl by
> adding an error message in check.c. As far as I can see code support is still there, though.
>
> Remove documentation for these intrinsics.
could you please provide a formatted patch that applies using git apply?
And a ChangeLog entry?
Thanks,
Harald
> Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
>
>
> [Note: I do not have commit access]
>
Am 29.10.21 um 21:52 schrieb Harald Anlauf via Fortran:
> Hi Manfred,
>
> Am 29.10.21 um 16:13 schrieb Manfred Schwarb via Gcc-patches:
>> Hi,
>>
>> on 2019-07-23, support for SHORT and LONG intrinsics was removed be Steve Kargl by
>> adding an error message in check.c. As far as I can see code support is still there, though.
>>
>> Remove documentation for these intrinsics.
>
> could you please provide a formatted patch that applies using git apply?
> And a ChangeLog entry?
Sorry, forgot the changelog entry, I added it to the patch now.
>
> Thanks,
> Harald
>
>> Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
>>
>>
>> [Note: I do not have commit access]
>>
>
>
Committed as r12-4808 after checking "make dvi".
Thanks for the patch!
Harald
Am 30.10.21 um 01:16 schrieb Manfred Schwarb via Gcc-patches:
> Am 29.10.21 um 21:52 schrieb Harald Anlauf via Fortran:
>> Hi Manfred,
>>
>> Am 29.10.21 um 16:13 schrieb Manfred Schwarb via Gcc-patches:
>>> Hi,
>>>
>>> on 2019-07-23, support for SHORT and LONG intrinsics was removed be Steve Kargl by
>>> adding an error message in check.c. As far as I can see code support is still there, though.
>>>
>>> Remove documentation for these intrinsics.
>>
>> could you please provide a formatted patch that applies using git apply?
>> And a ChangeLog entry?
>
> Sorry, forgot the changelog entry, I added it to the patch now.
>
>>
>> Thanks,
>> Harald
>>
>>> Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
>>>
>>>
>>> [Note: I do not have commit access]
>>>
>>
>>
>
@@ -221,7 +221,6 @@ Some basic guidelines for editing this d
* @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.
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)}
@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)}
@item @emph{See also}:
@ref{INT}, @gol
-@ref{INT2}, @gol
-@ref{LONG}
+@ref{INT2}
@end table
@@ -9848,44 +9842,6 @@ kind corresponding to @var{KIND}, or of
@end table
-
-@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