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
Fix Ada runtime library breakage on Solaris
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
991216-4.c
blob
faba02e355897e683f1e2f7579815cbe6b0b90eb
1
/* Test against a problem with loop reversal. */
2
void
abort
(
void
);
3
void
exit
(
int
);
4
5
static void
bug
(
int
size
,
int
tries
)
6
{
7
int
i
;
8
int
num
=
0
;
9
while
(
num
<
size
)
10
{
11
for
(
i
=
1
;
i
<
tries
;
i
++)
num
++;
12
}
13
}
14
15
int
main
()
16
{
17
bug
(
5
,
10
);
18
exit
(
0
);
19
}