diff options
author | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-01 00:51:21 +0000 |
---|---|---|
committer | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-01 00:51:21 +0000 |
commit | eac85a24a099200f590241d6ee6ac0062529f8be (patch) | |
tree | 94929706483e2339daf4f1c17b2cd54be73abfb9 /gcc/fortran/invoke.texi | |
parent | 71608e515ff96b075737d0b2153a630c465d7074 (diff) | |
download | gcc-eac85a24a099200f590241d6ee6ac0062529f8be.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r-- | gcc/fortran/invoke.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 7b8036cf630..e0a0c474a31 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} |