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
pr79732.c: Require alias support.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr59038.c
blob
1694eca4300a09dc7883618321c4029e04b29a3a
1
/* { dg-do run } */
2
3
extern
void
abort
(
void
);
4
5
unsigned char
first_ones_8bit
[
256
];
6
unsigned char
connected_passed
[
256
];
7
8
int
9
main
()
10
{
11
int
i
,
j
;
12
for
(
i
=
0
;
i
<
256
;
i
++){
13
connected_passed
[
i
]=
0
;
14
first_ones_8bit
[
i
]=
0
;
15
for
(
j
=
7
;
j
>
0
;
j
--){
16
if
((
i
& (
3
<<(
7
-
j
))) == (
3
<<(
7
-
j
))){
17
connected_passed
[
i
]=
j
;
18
break
;
19
}
20
}
21
}
22
if
(
connected_passed
[
3
] !=
7
)
23
abort
();
24
return
0
;
25
}