------- Comment #44 from fxcoudert at gcc dot gnu dot org 2008-02-22 15:09 ------- (In reply to comment #42) > (There is one exception: calls to cpowl generated by the Fortran front-end > seem > not to work, but it is a front-end issue: we don't treat cpow?() functions as > builtins, probably a left-over from an earlier cleanup of that part of the > front-end.)
With the trivial fix to the front-end, it now works fine. Well, the testcase still doesn't pass, because Apple has a crazy erfl() implementation: $ cat erf.c #include <math.h> #include <stdio.h> int main(void) { long double x = 1.45123231; double y = x; printf ("%g %g\n", (float) erfl(x), (float) erf(y)); return 0; } $ gcc erf.c && ./a.out -2.12115 0.959865 But at least, that's not my problem! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477