Message ID | c5a501e9-a658-2f18-69cb-775c7d49fd65@gmx.ch |
---|---|
State | New |
Headers | show |
Series | Fortran: Correct documentation for REAL intrinsic | expand |
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] >
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] >> > >
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] >>> >> >> >
--- 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