From da1e2517fa43519a38a32be959acccafd7f67f02 Mon Sep 17 00:00:00 2001 From: Brooks Moses Date: Sun, 1 Oct 2006 00:51:21 +0000 Subject: invoke.texi: Add mention of BOZ constants and integer overflow to -fno-range-check. 2006-09-30 Brooks Moses * 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 --- gcc/fortran/invoke.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/fortran/invoke.texi') 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} -- cgit v1.1