summaryrefslogtreecommitdiff
path: root/gcc/fortran/gfortran.texi
diff options
context:
space:
mode:
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-10 16:44:04 +0000
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-10 16:44:04 +0000
commit1ebeebc2e55f017239464c1e5d77a6806fac94cf (patch)
treee48e62e14740c53f4cf3b999f03f6c692455a572 /gcc/fortran/gfortran.texi
parent81e225e98d3c32eefee2d5a494458dc789c0498f (diff)
downloadgcc-1ebeebc2e55f017239464c1e5d77a6806fac94cf.tar.gz
2013-12-10 Janus Weil <janus@gcc.gnu.org>
* gfortran.texi: Modify documentation of kind type parameters. * invoke.texi: Extend documentation of -fdefault-integer-8 and -fdefault-real-8. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/gfortran.texi')
-rw-r--r--gcc/fortran/gfortran.texi23
1 files changed, 11 insertions, 12 deletions
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 292569b5376..902734c2c1c 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1134,16 +1134,16 @@ data types are:
@table @code
@item INTEGER
-1, 2, 4, 8*, 16*, default: 4 (1)
+1, 2, 4, 8*, 16*, default: 4**
@item LOGICAL
-1, 2, 4, 8*, 16*, default: 4 (1)
+1, 2, 4, 8*, 16*, default: 4**
@item REAL
-4, 8, 10*, 16*, default: 4 (2)
+4, 8, 10*, 16*, default: 4***
@item COMPLEX
-4, 8, 10*, 16*, default: 4 (2)
+4, 8, 10*, 16*, default: 4***
@item CHARACTER
1, 4, default: 1
@@ -1151,23 +1151,22 @@ data types are:
@end table
@noindent
-* = not available on all systems @*
-(1) Unless -fdefault-integer-8 is used @*
-(2) Unless -fdefault-real-8 is used
+* not available on all systems @*
+** unless @option{-fdefault-integer-8} is used @*
+*** unless @option{-fdefault-real-8} is used (see @ref{Fortran Dialect Options})
@noindent
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{SELECTED_CHAR_KIND}, @code{SELECTED_INT_KIND} and
-@code{SELECTED_REAL_KIND} intrinsics or the @code{INT8}, @code{INT16},
+the @ref{SELECTED_CHAR_KIND}, @ref{SELECTED_INT_KIND} and
+@ref{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}). For C interoperability, the kind parameters of
-the @code{ISO_C_BINDING} module should be used (see @ref{ISO_C_BINDING}).
+@code{REAL_KINDS} in the @ref{ISO_FORTRAN_ENV} module. For C interoperability,
+the kind parameters of the @ref{ISO_C_BINDING} module should be used.
@node Internal representation of LOGICAL variables