OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7390c
)
test/math/compile_test.c: make it exit with 0 always
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 18 Feb 2009 14:04:17 +0000
(14:04 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 18 Feb 2009 14:04:17 +0000
(14:04 -0000)
test/math/compile_test.c
patch
|
blob
|
history
diff --git
a/test/math/compile_test.c
b/test/math/compile_test.c
index
4647b23
..
361556a
100644
(file)
--- a/
test/math/compile_test.c
+++ b/
test/math/compile_test.c
@@
-134,5
+134,6
@@
return r;
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;
}