svn commit: trunk/uClibc/test/math
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Feb 18 14:27:09 UTC 2009
On Wed, Feb 18, 2009 at 02:04:18PM +0000, vda at uclibc.org 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 ?
More information about the uClibc
mailing list