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
/
991216-4.c
blob
4cc4c8c13e331fa5506c53deaa2fe76f1f37f7f5
1
/* Test against a problem with loop reversal. */
2
static void
bug
(
int
size
,
int
tries
)
3
{
4
int
i
;
5
int
num
=
0
;
6
while
(
num
<
size
)
7
{
8
for
(
i
=
1
;
i
<
tries
;
i
++)
num
++;
9
}
10
}
11
12
int
main
()
13
{
14
bug
(
5
,
10
);
15
exit
(
0
);
16
}