Glitch in online docs?
Dennis Wassel
dennis.wassel@googlemail.com
Thu Jan 29 18:58:00 GMT 2009
Hey list,
I just stumbled over this one:
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gfortran/LONG.html
6.137 LONG — Convert to integer type
Description:
Convert to a KIND=4 integer type, which is the same size as a C long
integer. This is equivalent to the standard INT intrinsic with an
optional argument of KIND=4, and is only included for backwards
compatibility.
On usual 64-bit systems a C long integer has 8 bytes and therefore
should rather be equivalent to KIND=8, or am I mixing something up?
I appreciate this is only backwards compatibility stuff and probably
not gonna bite the average user, but like this, it is at least
incomplete.
Maybe it could still be fixed for 4.4.0 ("documentation and regression
only", isn't it?), I'd be happy to try and assert gfortran's LONG
behaviour on 64-bit systems and supply a doc patchlet, but I don't
know how to do that. Could anyone enlighten me?
Cheers,
Dennis
More information about the Fortran
mailing list