On Wed, Feb 18, 2009 at 02:04:18PM +0000, [email protected] wrote:
>Author: vda
>Date: 2009-02-18 14:04:17 +0000 (Wed, 18 Feb 2009)
>New Revision: 25359

>--- trunk/uClibc/test/math/compile_test.c      2009-02-18 14:04:02 UTC (rev 
>25358)
>+++ trunk/uClibc/test/math/compile_test.c      2009-02-18 14:04:17 UTC (rev 
>25359)
>@@ -134,5 +134,6 @@
> 
> int main(int argc, char **argv)
> {
>-      return (long) &testf + (long) &testl;
>+        /* Always 0 but gcc hopefully won't be able to notice */
>+        return 5 & ((long)&testf) & ((long)&testl) & 2;

Perhaps you could mark them volatile instead or compile the testcase
with -O0 to turn off DF and DCE et al?
Do you compile that testcase with -fno-builtin to make sure we really
end up calling into libm ?
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to