This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32902] New: Document integer KIND of SIZEOF()
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2007 09:37:49 -0000
- Subject: [Bug fortran/32902] New: Document integer KIND of SIZEOF()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The error message of using sizeof() as aktual argument to a default-kind
integer is not very clear.
One should state in the manual not only that an INTEGER is returned (which
implies default kind), but also that depending on the system the integer could
be of non-default kind.
http://gcc.gnu.org/onlinedocs/gfortran/SIZEOF.html
The size is probably "size_t" alias ISO_C_Binding's c_size_t, which shows the
advantage of having C Bindings.
--
Summary: Document integer KIND of SIZEOF()
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32902