diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-06-29 18:56:08 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-06-29 18:56:08 +0000 |
commit | 082b0571b5243222c59703a96c2c4cb6e438bad8 (patch) | |
tree | 65a36dafe16baf2c5db89da676953aff542b772a | |
parent | a5a6b5863919991ad636cbbb4470a6a2d94480bd (diff) | |
download | gcc-082b0571b5243222c59703a96c2c4cb6e438bad8.zip gcc-082b0571b5243222c59703a96c2c4cb6e438bad8.tar.gz gcc-082b0571b5243222c59703a96c2c4cb6e438bad8.tar.bz2 |
invoke.texi: Add documentation for runtime behavior of -fno-range-check.
2008-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* invoke.texi: Add documentation for runtime behavior of
-fno-range-check.
From-SVN: r137254
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/invoke.texi | 15 |
2 files changed, 18 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index c9d2d9a..f29b380 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2008-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + * invoke.texi: Add documentation for runtime behavior of + -fno-range-check. + 2008-06-28 Daniel Kraft <d@domob.eu> * gfc-internals.texi (section gfc_code): Extended documentation about diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 0879f52..445b4a7 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -156,8 +156,9 @@ and warnings}. @item Runtime Options @xref{Runtime Options,,Options for influencing runtime behavior}. -@gccoptlist{-fconvert=@var{conversion} -frecord-marker=@var{length} @gol --fmax-subrecord-length=@var{length} -fsign-zero} +@gccoptlist{-fconvert=@var{conversion} -fno-range-check +-frecord-marker=@var{length} @gol -fmax-subrecord-length=@var{length} +-fsign-zero} @item Code Generation Options @xref{Code Gen Options,,Options for code generation conventions}. @@ -938,6 +939,16 @@ representation for unformatted files. The @code{CONVERT} specifier and the GFORTRAN_CONVERT_UNIT environment variable override the default specified by @option{-fconvert}.} + +@item -fno-range-check +@opindex @code{-fno-range-check} +Disable range checking of input values during integer @code{READ} operations. +For example, GNU Fortran will give an error if an input value is +outside of the relevant range of [@code{-HUGE()}:@code{HUGE()}]. In other words, +with @code{INTEGER (kind=4) :: i} , attempting to read @math{-2147483648} will +give an error unless @option{-fno-range-check} is given. + + @item -frecord-marker=@var{length} @opindex @code{frecord-marker=}@var{length} Specify the length of record markers for unformatted files. |