From 200c50363b13d9a46c0d94942cbfa34bfecec8ab Mon Sep 17 00:00:00 2001 From: "Steven G. Kargl" Date: Mon, 3 Sep 2007 04:07:04 +0000 Subject: [PATCH] invoke.texi: Fix the -frange-checking option entry. 2007-09-02 Steven G. Kargl * invoke.texi: Fix the -frange-checking option entry. From-SVN: r128036 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/invoke.texi | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b0cb8c9a2ad..3b3d469bcaa 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2007-09-02 Steven G. Kargl + + * invoke.texi: Fix the -frange-checking option entry. + 2007-09-02 Roger Sayle * decl.c (match_string_p): New helper function to explicitly match diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index e58cb8cbee7..1388b6c123e 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -121,7 +121,7 @@ by type. Explanations are in the following sections. -ffixed-line-length-@var{n} -ffixed-line-length-none @gol -ffree-line-length-@var{n} -ffree-line-length-none @gol -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 @gol --fcray-pointer -fopenmp -frange-check -fno-backslash -fmodule-private} +-fcray-pointer -fopenmp -fno-range-check -fno-backslash -fmodule-private} @item Error and Warning Options @xref{Error and Warning Options,,Options to request or suppress errors @@ -298,9 +298,9 @@ and @code{c$}, @code{*$} and @code{!$} sentinels in fixed form, and when linking arranges for the OpenMP runtime library to be linked in. The option @option{-fopenmp} implies @option{-frecursive}. -@item -frange-check +@item -fno-range-check @opindex @code{frange-check} -Enable range checking on results of simplification of constant +Disable range checking on results of simplification of constant expressions during compilation. For example, by default, GNU Fortran will give an overflow error at compile time when simplifying @code{a = EXP(1000)}. With @option{-fno-range-check}, no error will be given and