PR fortran/32902
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2007 23:36:24 +0000 (23:36 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2007 23:36:24 +0000 (23:36 +0000)
* 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
gcc/fortran/intrinsic.texi

index 438fde0..00692f9 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/32902
+       * intrinsic.texi (SIZEOF): Add mention to C_SIZE_T.
+
 2007-08-06  Christopher D. Rickett  <crickett@lanl.gov>
 
        PR fortran/32732
index 8b9f9c2..14c746b 100644 (file)
@@ -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}: