aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/invoke.texi
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@stanford.edu>2006-10-01 00:51:21 +0000
committerSteven G. Kargl <kargl@gcc.gnu.org>2006-10-01 00:51:21 +0000
commitda1e2517fa43519a38a32be959acccafd7f67f02 (patch)
tree94929706483e2339daf4f1c17b2cd54be73abfb9 /gcc/fortran/invoke.texi
parent04652d6c8d35b508002e2faad2ab0b5eebd4c8ff (diff)
downloadgcc-da1e2517fa43519a38a32be959acccafd7f67f02.zip
gcc-da1e2517fa43519a38a32be959acccafd7f67f02.tar.gz
gcc-da1e2517fa43519a38a32be959acccafd7f67f02.tar.bz2
invoke.texi: Add mention of BOZ constants and integer overflow to -fno-range-check.
2006-09-30 Brooks Moses <bmoses@stanford.edu> * invoke.texi: Add mention of BOZ constants and integer overflow to -fno-range-check. * fortran.texi: Add mention of -fno-range-check to section on BOZ contants. From-SVN: r117342
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r--gcc/fortran/invoke.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 7b8036c..e0a0c47 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -315,7 +315,10 @@ Enable range checking on results of simplification of constant expressions
during compilation. For example, by default, @command{gfortran} will give
an overflow error at compile time when simplifying @code{a = EXP(1000)}.
With @samp{-fno-range-check}, no error will be given and the variable @code{a}
-will be assigned the value @code{+Infinity}.
+will be assigned the value @code{+Infinity}. Similarly,
+@code{DATA i/Z'FFFFFFFF'/} will result in an integer overflow on most systems,
+but with @samp{-fno-range-check} the value will ``wrap around'' and @code{i}
+will be initialized to @math{-1} instead.
@cindex -std=@var{std} option
@cindex option, -std=@var{std}