repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
930921-1.c
blob
12e04e3095461db9be096256e3dc504794a85bdb
1
f
(
x
)
2
unsigned
x
;
3
{
4
return
(
unsigned
) (((
unsigned long long
)
x
*
0xAAAAAAAB
) >>
32
) >>
1
;
5
}
6
7
main
()
8
{
9
unsigned
i
;
10
11
for
(
i
=
0
;
i
<
10000
;
i
++)
12
if
(
f
(
i
) !=
i
/
3
)
13
abort
();
14
exit
(
0
);
15
}