This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32902] New: Document integer KIND of SIZEOF()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]