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/arith.c -- Fix the range of integers in overflow checks


On Sun, Aug 27, 2006 at 06:52:21PM -0400, Jack Howarth wrote:
> Steve,
>    The patch works fine on Darwin PPC and produces no regressions
>  at either -m32 or -m64. I would note however that I have never
>  seen intrinsic_set_exponent fail at either -m32 or -m64 before
>  either.
>             Jack

It won't fail without my patch because the old range checking
would allow a too large of value through to the backend.  I
suspect that this code may fail on systems with integer(16).
Does Darwin PPC have this kind type?

Thanks for testing the patch.

-- 
Steve


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