This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44649] New: [OOP] F2008: storage_size intrinsic (also working for polymorphic types)
- 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: 23 Jun 2010 15:41:38 -0000
- Subject: [Bug fortran/44649] New: [OOP] F2008: storage_size intrinsic (also working for polymorphic types)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Cf. F2008:
13.7.160 STORAGE SIZE (A [, KIND])
Description. Storage size in bits.
Class. Inquiry function.
Arguments.
A shall be a scalar or array of any type. If it is polymorphic it shall
not be an undefined pointer. If it has any deferred type parameters it
shall not be an unallocated allocatable variable or a disassociated
or undefined pointer.
KIND (optional) shall be a scalar integer constant expression.
Similarly to C_SIZEOF, but returns always the size for a scalar and supports
dynamic types. Additionally, (C_)SIZEOF return the size in bytes, storage_size
in bits.
--
Summary: [OOP] F2008: storage_size intrinsic (also working for
polymorphic types)
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
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=44649