This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fortran,Patch,committed] PR46545 Update gfortran.texi for quadmath and F2008


The following patch updates the documentation due to libquadmath change, i.e. the kinds 10 and 16 can be available simultaneously. Additionally, I updated the documentation for the F2008 changes.

Committed as Rev. 167096.

Tobias
2010-11-23  Tobias Burnus  <burnus@net-b.de>

	PR fortran/46545
	* gfortran.texi (KIND Type Parameters): Quadmath and F2008 changes.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]