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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr43415.c
blob
c00e1c41ce9d8f13ec95c1247500e28e20309aa6
1
int
main
()
2
{
3
unsigned long long
table
[
256
];
4
unsigned int
i
;
5
for
(
i
=
0
;
i
<
256
; ++
i
) {
6
unsigned long long
j
;
7
unsigned char
x
=
i
;
8
for
(
j
=
0
;
j
<
5
; ++
j
) {
9
x
+=
x
<<
1
;
10
x
^=
x
>>
1
;
11
}
12
for
(
j
=
0
;
j
<
5
; ++
j
) {
13
x
+=
x
<<
1
;
14
x
^=
x
>>
1
;
15
}
16
for
(
j
=
0
;
j
<
5
; ++
j
) {
17
x
+=
x
<<
1
;
18
x
^=
x
>>
1
;
19
}
20
for
(
j
=
0
;
j
<
5
; ++
j
) {
21
x
+=
x
<<
1
;
22
x
^=
x
>>
1
;
23
}
24
for
(
j
=
0
;
j
<
5
; ++
j
) {
25
x
+=
x
<<
1
;
26
x
^=
x
>>
1
;
27
}
28
table
[
i
] ^= (((
unsigned long long
)
x
)<<
16
);
29
}
30
for
(
i
=
0
;
i
<
256
; ++
i
) {
31
if
((
table
[
i
]&
0xff
)==
i
)
32
return
1
;
33
}
34
return
0
;
35
}
36