[PATCH] fortran/29147 -- Disable integer range checking.
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Oct 1 00:54:00 GMT 2006
On Sat, Sep 30, 2006 at 04:03:55PM -0700, Brooks Moses wrote:
> 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.
>
Committed. I'll look over your other patches after college
football and dinner.
--
Steve
More information about the Fortran
mailing list