aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2013-12-10 21:33:12 +0100
committerJanus Weil <janus@gcc.gnu.org>2013-12-10 21:33:12 +0100
commit8f606521025b841a9081c9fd843806804270c565 (patch)
tree62131415b2c084009eb2841293869e43cc3f1403 /gcc
parent525f6ed7d4f4a7d6e1f2ae6cd67d739e00aa9dc0 (diff)
downloadgcc-8f606521025b841a9081c9fd843806804270c565.zip
gcc-8f606521025b841a9081c9fd843806804270c565.tar.gz
gcc-8f606521025b841a9081c9fd843806804270c565.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/fortran/gfortran.texi3
-rw-r--r--gcc/fortran/invoke.texi20
3 files changed, 19 insertions, 11 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 642e419..eff0a0f 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,12 @@
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.
* invoke.texi: Extend documentation of -fdefault-integer-8 and
-fdefault-real-8.
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 902734c..f2f2c80 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -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
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 4d8ef4b..6a5c8a1 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -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}