# HG changeset patch # User diego # Date 1117408582 0 # Node ID 3d32bc09b975cc401a3383e3f795b04c0c805cf1 # Parent e848b20cd4496805372f119e6c3c19cb6ed96195 The default CFLAGS settings include -ffast-math and GCC 3.4.3 therefore optimizes the lrintf call in the test away, effectively turning it into a NOP. The attached patch forces -ffast-math of for this test. patch by Joerg Sonnenberger diff -r e848b20cd449 -r 3d32bc09b975 configure --- a/configure Sun May 29 19:05:32 2005 +0000 +++ b/configure Sun May 29 23:16:22 2005 +0000 @@ -2451,7 +2451,7 @@ echocheck "lrintf" cat > $TMPC << EOF #include -int main(void) { (void) lrintf(0.0); return 0; } +int main(void) { long (*foo)(double); foo = lrintf; (void)(*foo)(0.0); return 0; } EOF _lrintf=no cc_check $_ld_lm && _lrintf=yes