This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 19:13:06 -0000
- Subject: [Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization
- References: <bug-30816-8513@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ghazi at gcc dot gnu dot org 2007-02-16 19:13 -------
(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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30816