From 8d71eaf731154f27c0f9162ee1cb12035bc79146 Mon Sep 17 00:00:00 2001 From: fxcoudert Date: Wed, 8 Aug 2007 23:36:24 +0000 Subject: [PATCH] PR fortran/32902 * intrinsic.texi (SIZEOF): Add mention to C_SIZE_T. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127307 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/intrinsic.texi | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 438fde0..00692f9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2007-08-09 Francois-Xavier Coudert + + PR fortran/32902 + * intrinsic.texi (SIZEOF): Add mention to C_SIZE_T. + 2007-08-06 Christopher D. Rickett PR fortran/32732 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 8b9f9c2..14c746b 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -9395,11 +9395,12 @@ Intrinsic function @end multitable @item @emph{Return value}: -The return value is of type integer. Its value is the number of bytes -occupied by the argument. If the argument has the @code{POINTER} -attribute, the number of bytes of the storage area pointed to is -returned. If the argument is of a derived type with @code{POINTER} or -@code{ALLOCATABLE} components, the return value doesn't account for +The return value is of type integer and of the system-dependent kind +@var{C_SIZE_T} (from the @var{ISO_C_BINDING} module). Its value is the +number of bytes occupied by the argument. If the argument has the +@code{POINTER} attribute, the number of bytes of the storage area pointed +to is returned. If the argument is of a derived type with @code{POINTER} +or @code{ALLOCATABLE} components, the return value doesn't account for the sizes of the data pointed to by these components. @item @emph{Example}: -- 2.7.4