re PR fortran/32902 (Document integer KIND of SIZEOF())
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 8 Aug 2007 23:36:24 +0000 (23:36 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 8 Aug 2007 23:36:24 +0000 (23:36 +0000)
PR fortran/32902
* intrinsic.texi (SIZEOF): Add mention to C_SIZE_T.

From-SVN: r127307

gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi

index 438fde0fd774c0fe9038a5bb46a5dffd858ba03a..00692f9cbf122c02f88a4ebf25c51e805353e52f 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 8b9f9c2cb01b759075214f5c490820a325c6ee5c..14c746b59a79fa74b4955a1d2a1c5c395b0bbf4e 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}: