------- 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