aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-11-23 21:54:49 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2010-11-23 21:54:49 +0100
commit6a683de1420479596933bef4bb93de9bb1d84aa4 (patch)
treec25b6f32af1a989e84567ffa034f08eac47f0c41
parentd81e30b8d3f683e92f462a86bef5333b936998a2 (diff)
downloadgcc-6a683de1420479596933bef4bb93de9bb1d84aa4.zip
gcc-6a683de1420479596933bef4bb93de9bb1d84aa4.tar.gz
gcc-6a683de1420479596933bef4bb93de9bb1d84aa4.tar.bz2
re PR fortran/46545 (libquadmath: Update gfortran.texi)
2010-11-23 Tobias Burnus <burnus@net-b.de> PR fortran/46545 * gfortran.texi (KIND Type Parameters): Quadmath and F2008 changes. From-SVN: r167096
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/gfortran.texi15
2 files changed, 15 insertions, 5 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index aa90bcb..3e45ece 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-23 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/46545
+ * gfortran.texi (KIND Type Parameters): Quadmath and F2008 changes.
+
2010-11-22 Michael Matz <matz@suse.de>
* gfortranspec.c (library): New global, moved from ...
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 69eefa5..53f5c03 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1067,10 +1067,10 @@ data types are:
1, 2, 4, 8*, 16*, default: 4 (1)
@item REAL
-4, 8, 10**, 16**, default: 4 (2)
+4, 8, 10*, 16*, default: 4 (2)
@item COMPLEX
-4, 8, 10**, 16**, default: 4 (2)
+4, 8, 10*, 16*, default: 4 (2)
@item CHARACTER
1, 4, default: 1
@@ -1079,8 +1079,6 @@ data types are:
@noindent
* = not available on all systems @*
-** = not available on all systems; additionally 10 and 16 are never
-available at the same time @*
(1) Unless -fdefault-integer-8 is used @*
(2) Unless -fdefault-real-8 is used
@@ -1088,7 +1086,14 @@ available at the same time @*
The @code{KIND} value matches the storage size in bytes, except for
@code{COMPLEX} where the storage size is twice as much (or both real and
imaginary part are a real value of the given size). It is recommended to use
-the @code{SELECT_*_KIND} intrinsics instead of the concrete values.
+the @code{SELECTED_CHAR_KIND}, @code{SELECTED_INT_KIND} and
+@code{SELECTED_REAL_KIND} intrinsics or the @code{INT8}, @code{INT16},
+@code{INT32}, @code{INT64}, @code{REAL32}, @code{REAL64}, and @code{REAL128}
+parameters of the @code{ISO_FORTRAN_ENV} module instead of the concrete values.
+The available kind parameters can be found in the constant arrays
+@code{CHARACTER_KINDS}, @code{INTEGER_KINDS}, @code{LOGICAL_KINDS} and
+@code{REAL_KINDS} in the @code{ISO_FORTRAN_ENV} module
+(see @ref{ISO_FORTRAN_ENV}).
@node Internal representation of LOGICAL variables