From 9ca6026b36026738c45b50a95eed619716528910 Mon Sep 17 00:00:00 2001 From: burnus Date: Tue, 23 Nov 2010 20:54:49 +0000 Subject: [PATCH] 2010-11-23 Tobias Burnus PR fortran/46545 * gfortran.texi (KIND Type Parameters): Quadmath and F2008 changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167096 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/gfortran.texi | 15 ++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index aa90bcb6041..3e45ece8188 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2010-11-23 Tobias Burnus + + PR fortran/46545 + * gfortran.texi (KIND Type Parameters): Quadmath and F2008 changes. + 2010-11-22 Michael Matz * gfortranspec.c (library): New global, moved from ... diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 69eefa5be92..53f5c03f317 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 -- 2.11.4.GIT