[PATCH] fortran/29147 -- Disable integer range checking.
Brooks Moses
bmoses@stanford.edu
Sat Sep 30 23:04:00 GMT 2006
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
More information about the Fortran
mailing list