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 tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000605-2.c
blob
8a49bc6daee3976ccc69e8a15ff89459b6719ab0
1
struct
F
{
int
i
; };
2
3
void
f1
(
struct
F
*
x
,
struct
F
*
y
)
4
{
5
int
timeout
=
0
;
6
for
(; ((
const struct
F
*)
x
)->
i
<
y
->
i
;
x
->
i
++)
7
if
(++
timeout
>
5
)
8
abort
();
9
}
10
11
main
()
12
{
13
struct
F x
,
y
;
14
x
.
i
=
0
;
15
y
.
i
=
1
;
16
f1
(&
x
, &
y
);
17
exit
(
0
);
18
}