aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-08-08 23:36:24 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-08-08 23:36:24 +0000
commit88821319bd4bb8efa39001f787769f6ab606540b (patch)
tree98b8845a21909ca56ddcde725ea08f60b9805ee6 /gcc
parent325217edf0332af8e5e52a32eb9b3cd862646375 (diff)
downloadgcc-88821319bd4bb8efa39001f787769f6ab606540b.zip
gcc-88821319bd4bb8efa39001f787769f6ab606540b.tar.gz
gcc-88821319bd4bb8efa39001f787769f6ab606540b.tar.bz2
re PR fortran/32902 (Document integer KIND of SIZEOF())
PR fortran/32902 * intrinsic.texi (SIZEOF): Add mention to C_SIZE_T. From-SVN: r127307
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/intrinsic.texi11
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 <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
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}: