aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Eggleston <mark.eggleston@codethink.com>2019-08-19 08:53:49 +0000
committerMark Eggleston <markeggleston@gcc.gnu.org>2019-08-19 08:53:49 +0000
commit5a9ea4fff4554d9dc0966e8f2598a01602df03cf (patch)
tree62a1590e8cfa01abc7767297db02c2a7e9bccf87
parent8fd97fcdba9da64bfd0988122e012057d0a6ed40 (diff)
downloadgcc-5a9ea4fff4554d9dc0966e8f2598a01602df03cf.zip
gcc-5a9ea4fff4554d9dc0966e8f2598a01602df03cf.tar.gz
gcc-5a9ea4fff4554d9dc0966e8f2598a01602df03cf.tar.bz2
Update BOZ constant documentation.
In the section "BOZ Literal constants" delete paragraph about integer overload errors when initialising integer variables with BOZ constants as these no longer occur. From-SVN: r274667
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/gfortran.texi7
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 8cca617..1f44776 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2019-08-19 Mark Eggleston <mark.eggleston@codethink.com>
+
+ * gfortran.texi: Delete paragraph about integer overload errors
+ when initialising integer variables with BOZ constants as these
+ no longer occur.
+
2019-08-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91485
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 16be9e0..4515b9d 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1882,13 +1882,6 @@ with @code{2.0}.) As different compilers implement the extension
differently, one should be careful when doing bitwise initialization
of non-integer variables.
-Note that initializing an @code{INTEGER} variable with a statement such
-as @code{DATA i/Z'FFFFFFFF'/} will give an integer overflow error rather
-than the desired result of @math{-1} when @code{i} is a 32-bit integer
-on a system that supports 64-bit integers. The @samp{-fno-range-check}
-option can be used as a workaround for legacy code that initializes
-integers in this manner.
-
@node Real array indices
@subsection Real array indices
@cindex array, indices of type real