svn commit: branches/uClibc-nptl/test/math

vda at uclibc.org vda at uclibc.org
Wed Feb 18 14:04:04 UTC 2009


Author: vda
Date: 2009-02-18 14:04:02 +0000 (Wed, 18 Feb 2009)
New Revision: 25358

Log:
test/math/compile_test.c: make it exit with 0 always



Modified:
   branches/uClibc-nptl/test/math/compile_test.c


Changeset:
Modified: branches/uClibc-nptl/test/math/compile_test.c
===================================================================
--- branches/uClibc-nptl/test/math/compile_test.c	2009-02-18 13:42:51 UTC (rev 25357)
+++ branches/uClibc-nptl/test/math/compile_test.c	2009-02-18 14:04:02 UTC (rev 25358)
@@ -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;
 }



More information about the uClibc-cvs mailing list