This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization



------- Comment #11 from tobi at gcc dot gnu dot org  2007-02-17 15:10 -------
(In reply to comment #9)
> (In reply to comment #8)
> > Oh, just noticed this by chance: Steve's testcase also fails with optimization
> > disabled, again the call to mpfr_erf is issued in do_mpfr_arg1.
> 
> Do you get a failure with a C testcase equivalent to Steve's fortran one?
> 
> Does the GCC testcase gcc.dg/torture/builtin-math-3.c pass for you?  That one
> tests for erf(1.0) and erf(-1.0).  I'm curious if it's the value 1.5 or whether
> having it come from the fortran frontend (or either/both) which is the bug
> trigger.

I couldn't try with the testsuite due to an unrelated bug with fixincludes
(??), but the equivalent C testcase does indeed fail with the same error, as it
should.

I understand the idea of bulding with --prefix, it's just that I've had mixed
success using it wiht mpfr/gmp.  Especially, when the system administrator
installed them locally behind my back.  I'll give it a try, hopefully later
today.


-- 


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


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