gfortran.texi: Add possible kind values (and default) for DOUBLE PRECISION.

2013-12-10  Janus Weil  <janus@gcc.gnu.org>

	* gfortran.texi: Add possible kind values (and default) for
	DOUBLE PRECISION.
	* invoke.texi: Correct documentation of -fdefault-integer-8,
	-fdefault-real-8 and -fdefault-double-8.

From-SVN: r205871
This commit is contained in:
Janus Weil 2013-12-10 21:33:12 +01:00
parent 525f6ed7d4
commit 8f60652102
3 changed files with 19 additions and 11 deletions

View File

@ -1,3 +1,10 @@
2013-12-10 Janus Weil <janus@gcc.gnu.org>
* gfortran.texi: Add possible kind values (and default) for
DOUBLE PRECISION.
* invoke.texi: Correct documentation of -fdefault-integer-8,
-fdefault-real-8 and -fdefault-double-8.
2013-12-10 Janus Weil <janus@gcc.gnu.org>
* gfortran.texi: Modify documentation of kind type parameters.

View File

@ -1145,6 +1145,9 @@ data types are:
@item COMPLEX
4, 8, 10*, 16*, default: 4***
@item DOUBLE PRECISION
4, 8, 10*, 16*, default: 8***
@item CHARACTER
1, 4, default: 1

View File

@ -329,16 +329,14 @@ on most systems, but with @option{-fno-range-check} the value will
@item -fdefault-integer-8
@opindex @code{fdefault-integer-8}
Set the default integer and logical types to an 8 byte wide type.
Do nothing if this is already the default. This option also affects
the kind of integer constants like @code{42}. Unlike
Set the default integer and logical types to an 8 byte wide type. This option
also affects the kind of integer constants like @code{42}. Unlike
@option{-finteger-4-integer-8}, it does not promote variables with explicit
kind declaration.
@item -fdefault-real-8
@opindex @code{fdefault-real-8}
Set the default real type to an 8 byte wide type.
Do nothing if this is already the default. This option also affects
Set the default real type to an 8 byte wide type. This option also affects
the kind of non-double real constants like @code{1.0}, and does promote
the default width of @code{DOUBLE PRECISION} to 16 bytes if possible, unless
@code{-fdefault-double-8} is given, too. Unlike @option{-freal-4-real-8},
@ -346,12 +344,12 @@ it does not promote variables with explicit kind declaration.
@item -fdefault-double-8
@opindex @code{fdefault-double-8}
Set the @code{DOUBLE PRECISION} type to an 8 byte wide type. If
@option{-fdefault-real-8} is given, @code{DOUBLE PRECISION} would
instead be promoted to 16 bytes if possible, and @option{-fdefault-double-8}
can be used to prevent this. The kind of real constants like @code{1.d0} will
not be changed by @option{-fdefault-real-8} though, so also
@option{-fdefault-double-8} does not affect it.
Set the @code{DOUBLE PRECISION} type to an 8 byte wide type. Do nothing if this
is already the default. If @option{-fdefault-real-8} is given,
@code{DOUBLE PRECISION} would instead be promoted to 16 bytes if possible, and
@option{-fdefault-double-8} can be used to prevent this. The kind of real
constants like @code{1.d0} will not be changed by @option{-fdefault-real-8}
though, so also @option{-fdefault-double-8} does not affect it.
@item -finteger-4-integer-8
@opindex @code{finteger-4-integer-8}