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
/
pr68911.c
blob
b8cbdb5928981e5c414e833dd6225446dce3c9b9
1
extern
void
abort
(
void
);
2
3
char
a
;
4
int
b
,
c
;
5
short
d
;
6
7
int
main
()
8
{
9
unsigned
e
=
2
;
10
unsigned
timeout
=
0
;
11
12
for
(;
c
<
2
;
c
++)
13
{
14
int
f
= ~
e
/
7
;
15
if
(
f
)
16
a
=
e
= ~(
b
&&
d
);
17
while
(
e
<
94
)
18
{
19
e
++;
20
if
(++
timeout
>
100
)
21
goto
die
;
22
}
23
}
24
return
0
;
25
die
:
26
abort
();
27
}