This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fortran/29147 -- Disable integer range checking.


Steve Kargl wrote:
On Fri, Sep 29, 2006 at 03:35:42PM -0700, Brooks Moses wrote:
Steve Kargl wrote:
The -frange-check option is documented in invoke.texi.
Jerry implemented the option to permit Inf and NaN to be computed (e.g., "real :: x = 1. / 0."). During
constant folding, the Inf would trigger an overflow
error.


There is a section in gfortran.texi that describes gfortran-specific extensions involving BOZ constants.
You may want to read this text and perhaps add a blurb
about -fno-range-check.

The attached patch includes the relevant documentation changes in both locations. I've tested it on both PDF and HTML document generation.

Thanks. The patch looks good to me. I'll commit it tonight or tomorrow.

It occurs to me that you'll want a changelog entry when you do:


2006-09-30 Brooks Moses <bmoses@stanford.edu>

	* invoke.texi:  Add mention of BOZ constants and integer
          overflow to -fno-range-check.
        * gfortran.texi:  Add mention of -fno-range-check to
          section on BOZ contants.

- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]