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
* gcc.c-torture/execute/20101011-1.c: Skip on SH.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010116-1.c
blob
b77d6fb8123d4212b6cbfa7767485eada0e4906f
1
/* Distilled from optimization/863. */
2
3
extern
void
abort
(
void
);
4
extern
void
exit
(
int
);
5
extern
void
ok
(
int
);
6
7
typedef
struct
8
{
9
int
x
,
y
,
z
;
10
}
Data
;
11
12
void
find
(
Data
*
first
,
Data
*
last
)
13
{
14
int
i
;
15
for
(
i
= (
last
-
first
) >>
2
;
i
>
0
; --
i
)
16
ok
(
i
);
17
abort
();
18
}
19
20
void
ok
(
int
i
)
21
{
22
if
(
i
!=
1
)
23
abort
();
24
exit
(
0
);
25
}
26
27
int
28
main
()
29
{
30
Data DataList
[
4
];
31
find
(
DataList
+
0
,
DataList
+
4
);
32
}