------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2006-02-14 
14:15 -------
Subject: Re:  FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
execution

> This reminds me of PR25370... (for the -static effect).
> 
> I'm currently bootstrapping mainline on a hppa2.0w-hp-hpux11.23 (thanks to HP
> testdrive) to nail down this one and PR26252. John, are those the only
> hppa-hpux failures you see in the testsuite?

Here are the failures that I see on hppa1.1-hp-hpu10.20:
http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg00635.html

I don't see any failures at the moment on 4.1.0 on hppa2.0w-hp-hpux11.11.
See http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg00637.html

hpux10.20 doesn't have scalbn and hpux11.x does, so that's one difference.
The problem appears to be with the pow function called from the libgfortran
version of scalbn.  I had looked at the arguments in the call to pow
in scalbn and they appear fine.  However, the return contains a small
rounding error.  I didn't see the same rounding error when I wrote a
little test program to try duplicate the effect.

Possibly, the default rounding mode is somehow getting changed in
the test program.  scalbn is called several times before the error
occurs.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26253

Reply via email to