* [PATCH] Fortran: Correct documentation for REAL intrinsic
@ 2021-10-29 14:18 Manfred Schwarb
2021-10-29 19:56 ` Harald Anlauf
0 siblings, 1 reply; 4+ messages in thread
From: Manfred Schwarb @ 2021-10-29 14:18 UTC (permalink / raw)
To: fortran, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
Hi,
documentation for REAL intrinsic is slightly wrong. Fix it.
Patch is done on top of the column adjustment patch.
Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
[Note: I do not have commit access]
[-- Attachment #2: intrinsic_doc_fixes.patch --]
[-- Type: text/x-patch, Size: 1400 bytes --]
--- gcc/gcc/fortran/intrinsic.texi.2 2021-10-29 15:08:38.302188947 +0200
+++ gcc/gcc/fortran/intrinsic.texi 2021-10-29 15:14:57.111458299 +0200
@@ -12251,12 +12255,12 @@ end program test_real
@item @emph{Specific names}:
@multitable @columnfractions .20 .23 .20 .33
@headitem Name @tab Argument @tab Return type @tab Standard
-@item @code{FLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension
+@item @code{FLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab Fortran 77 and later
@item @code{DFLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(8)} @tab GNU extension
-@item @code{FLOATI(A)} @tab @code{INTEGER(2)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{FLOATJ(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{FLOATK(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{SNGL(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension
+@item @code{FLOATI(A)} @tab @code{INTEGER(2)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{FLOATJ(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{FLOATK(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{SNGL(A)} @tab @code{REAL(8)} @tab @code{REAL(4)} @tab Fortran 77 and later
@end multitable
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fortran: Correct documentation for REAL intrinsic
2021-10-29 14:18 [PATCH] Fortran: Correct documentation for REAL intrinsic Manfred Schwarb
@ 2021-10-29 19:56 ` Harald Anlauf
2021-10-29 23:17 ` Manfred Schwarb
0 siblings, 1 reply; 4+ messages in thread
From: Harald Anlauf @ 2021-10-29 19:56 UTC (permalink / raw)
To: gcc-patches; +Cc: fortran
Hi Manfred,
Am 29.10.21 um 16:18 schrieb Manfred Schwarb via Gcc-patches:
> Hi,
>
> documentation for REAL intrinsic is slightly wrong. Fix it.
> Patch is done on top of the column adjustment patch.
the patch looks fine, but it would help a lot to have a ChangeLog entry.
Thanks,
Harald
> Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
>
>
> [Note: I do not have commit access]
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fortran: Correct documentation for REAL intrinsic
2021-10-29 19:56 ` Harald Anlauf
@ 2021-10-29 23:17 ` Manfred Schwarb
2021-10-30 17:44 ` Harald Anlauf
0 siblings, 1 reply; 4+ messages in thread
From: Manfred Schwarb @ 2021-10-29 23:17 UTC (permalink / raw)
To: Harald Anlauf, fortran; +Cc: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
Am 29.10.21 um 21:56 schrieb Harald Anlauf via Fortran:
> Hi Manfred,
>
> Am 29.10.21 um 16:18 schrieb Manfred Schwarb via Gcc-patches:
>> Hi,
>>
>> documentation for REAL intrinsic is slightly wrong. Fix it.
>> Patch is done on top of the column adjustment patch.
>
> the patch looks fine, but it would help a lot to have 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]
>>
>
>
[-- Attachment #2: intrinsic_doc_fixes.patch --]
[-- Type: text/x-patch, Size: 1439 bytes --]
2021-10-30 Manfred Schwarb <manfred99@gmx.ch>
gcc/fortran/ChangeLog:
* intrinsic.texi (REAL): Fix entries in Specific names table.
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -12251,12 +12255,12 @@ end program test_real
@item @emph{Specific names}:
@multitable @columnfractions .20 .23 .20 .33
@headitem Name @tab Argument @tab Return type @tab Standard
-@item @code{FLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension
+@item @code{FLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab Fortran 77 and later
@item @code{DFLOAT(A)} @tab @code{INTEGER(4)} @tab @code{REAL(8)} @tab GNU extension
-@item @code{FLOATI(A)} @tab @code{INTEGER(2)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{FLOATJ(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{FLOATK(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension
-@item @code{SNGL(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension
+@item @code{FLOATI(A)} @tab @code{INTEGER(2)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{FLOATJ(A)} @tab @code{INTEGER(4)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{FLOATK(A)} @tab @code{INTEGER(8)} @tab @code{REAL(4)} @tab GNU extension (-fdec)
+@item @code{SNGL(A)} @tab @code{REAL(8)} @tab @code{REAL(4)} @tab Fortran 77 and later
@end multitable
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fortran: Correct documentation for REAL intrinsic
2021-10-29 23:17 ` Manfred Schwarb
@ 2021-10-30 17:44 ` Harald Anlauf
0 siblings, 0 replies; 4+ messages in thread
From: Harald Anlauf @ 2021-10-30 17:44 UTC (permalink / raw)
To: Manfred Schwarb, fortran; +Cc: gcc-patches
Committed as r12-4806.
Thanks for the patch!
Harald
Am 30.10.21 um 01:17 schrieb Manfred Schwarb via Fortran:
> Am 29.10.21 um 21:56 schrieb Harald Anlauf via Fortran:
>> Hi Manfred,
>>
>> Am 29.10.21 um 16:18 schrieb Manfred Schwarb via Gcc-patches:
>>> Hi,
>>>
>>> documentation for REAL intrinsic is slightly wrong. Fix it.
>>> Patch is done on top of the column adjustment patch.
>>
>> the patch looks fine, but it would help a lot to have 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]
>>>
>>
>>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-30 17:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 14:18 [PATCH] Fortran: Correct documentation for REAL intrinsic Manfred Schwarb
2021-10-29 19:56 ` Harald Anlauf
2021-10-29 23:17 ` Manfred Schwarb
2021-10-30 17:44 ` Harald Anlauf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).